From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: buffer-offer-save, gnus and mh-e
Date: Sun, 17 Apr 2005 13:47:50 -0500 (CDT) [thread overview]
Message-ID: <200504171847.j3HIloe22669@raven.dms.auburn.edu> (raw)
In-Reply-To: <21194.1113759889@olgas.newt.com> (message from Bill Wohler on Sun, 17 Apr 2005 10:44:49 -0700)
Bill Wohler wrote:
I'm a little confused by this since mh-folder-mode extends
fundamental-mode.
I believe that I indeed got confused. I am not very familiar with
mh-e. I use mail-mode myself. The normal mode for mail buffers in
mh-e appears to be mh-letter-mode. That one does not appear to set
buffer-offer-save, unlike mail-mode and message-mode. After my
proposed change it would, when invoked via compose-mail. I could
avoid that by checking mail-user-agent in compose-mail. But should
mail buffers not set buffer-offer-save to t, because otherwise the
user might loose work if inadvertently exiting Emacs?
`mh-compose-and-send-mail' could do it right after calling
mh-letter-mode. (I now saw that mh-e can be invoked in a way that
bypasses compose-mail).
I now believe that mh-make-folder should set buffer-offer-save to t
right after calling mh-folder-mode.
Just to be sure I'm understanding correctly, you'd like to see the
following code in mh-e.el:(mh-folder-mode), right?
(if (or mh-xemacs-flag (< emacs-major-version 22))
(setq buffer-offer-save t))
Unfortunately, to play it completely save, that might still be
necessary (even if mh-make-folder already would set buffer-offer-save
to t) because if the user switches modes in the buffer, then in prior
Emacs versions and XEmacs, the local variable buffer-offer-save will
be killed.
Also, is the setting of buffer-offer-save to nil in
mh-utils.el:(mh-find-path) still appropriate?
Yes. mh-find-path is not a major mode (or so I believe). I believe
all that one does is avoid asking the user to save a temporary buffer
(mh-temp-buffer) created by mh-find-path. Correct?
Sincerely,
Luc.
next prev parent reply other threads:[~2005-04-17 18:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504171847.j3HIloe22669@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).