[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] Re: Some questions on logging

From: Michael Olson
Subject: [Erc-discuss] Re: Some questions on logging
Date: Sat, 29 Jul 2006 22:47:17 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden (Johan Bockgård) writes:

> Tassilo Horn <address@hidden> writes:
>> Only one tiny thing: If I kill a query/channel buffer with new text,
>> I get this "Buffer foo contains unsaved data; really kill?" message.
>> But because `erc-save-buffer-in-logs' is in `erc-kill-buffer-hook'
>> it will be saved anyway, so the warning is not necessary and could
>> be omitted by calling (set-buffer-modified-p nil) beforehand. The
>> same applies to channels (`erc-kill-channel-hook').
> The prompting happens because erc-log-setup-logging sets
> buffer-offer-save to t.

I've now removed the line that sets buffer-offer-save to t.  Hopefully
that takes care of the errors.  If I don't hear otherwise in a day or
two, I'll merge these changes into Emacs 22.

Michael Olson -- FSF Associate Member #652 --
Interests: Emacs Lisp, text markup, protocols -- Jabber:
  /` |\ | | | IRC: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

Attachment: pgpJD9bSThljM.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]