Bill Wohler wrote: 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)) Please wait a little bit with this. After taking a closer look at the code involved, I realized that things are more complex than I thought. `compose-mail' is the wrong place to set `buffer-offer-save', since it can easily be bypassed. I believe that the various return values of (get mail-user-agent 'composefunc) should be handled separately. I do not know the various mail modes sufficiently to reliable take care of this and the backward and XEmacs compatibility issues complicate things and could make the involved code needlessly ugly. So I now believe that I will leave `buffer-offer-save' a non-permanent local. (But maybe someone else could volunteer to do it and solve all involved problems) It would be easier if one did not adhere as strictly to the principle that major modes never should touch permanent locals. Then everything that would be needed would be to add one single line in files.el. But Richard told me that there were absolutely no exceptions to that rule. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel