unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* buffer-offer-save, gnus and mh-e
@ 2005-04-17 15:00 Luc Teirlinck
  2005-04-17 17:44 ` Bill Wohler
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Luc Teirlinck @ 2005-04-17 15:00 UTC (permalink / raw
  Cc: Bill Wohler

I plan to make buffer-offer-save a permanent local.  This already has
Richard's approval.  It means that it will, as a matter of principle,
no longer be appropriate for major modes to set buffer-offer-save,
regardless of whether doing so produces any concrete user visible bugs.

Grepping shows that the only affected modes are mail-mode,
message-mode and mh-folder-mode, which set buffer-offer-save to t.

The solution for that is to set buffer-offer-save to t in
`compose-mail' and no longer set it in the individual mail modes.  I
checked that this works for mail-mode and message-mode.  I could not
check it for mh-folder-mode, but I guess that it must work, since it
works through `compose-mail'.

For mail-mode there is no problem.  For message-mode and
mh-folder-mode, I was wondering.  I know that the gnus directory is
automatically synched, but I do not know whether the version of gnus
included with CVS Emacs is also supposed to work with prior Emacs
versions or with XEmacs.  For mh-e, I have no idea whatsoever how it
is supposed to be handled.

If conditionals would be required, things might look somewhat strange,
because setting buffer-offer-save would still be harmless, even in
Emacs 22.  The only problem is that major modes are not supposed to
touch permanent locals.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-01-11  0:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17 15:00 buffer-offer-save, gnus and mh-e Luc Teirlinck
2005-04-17 17:44 ` Bill Wohler
2005-04-17 18:47   ` Luc Teirlinck
2005-04-17 19:11     ` Luc Teirlinck
2005-04-17 19:22       ` Bill Wohler
2005-04-17 20:25   ` Luc Teirlinck
2005-04-18  4:59     ` Bill Wohler
2005-04-18 21:06     ` Richard Stallman
2005-04-18 10:31 ` Reiner Steib
2006-01-10  3:12 ` Bill Wohler
2006-01-10  3:16   ` Luc Teirlinck
2006-01-10  3:25     ` Bill Wohler
2006-01-11  0:49     ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).