Article View: gnu.emacs.bug
Article #87523[19.27] mail-bury: unwanted feature w/fix
From: Simon Leinen
Date: Tue, 20 Sep 1994 15:06
Date: Tue, 20 Sep 1994 15:06
49 lines
2599 bytes
2599 bytes
In GNU Emacs 19.27.1 (mips-sgi-irix5.2, X toolkit) of Thu Sep 15 1994 on liasg5
A user of Emacs 19.27 has complained about a `bug' when sending mail
from within RMAIL (using rmail-mail (m) or rmail-reply (r)). The user
normally uses one large window showing the RMAIL buffer, and consults
the RMAIL summary only occasionally.
Now the new version of Emacs implements the following feature: after
sending the mail using C-c C-c he is left in the RMAIL summary buffer
(if it happens to exist) in a second window. The user would prefer
getting back to the old window configuration (just one window showing
the RMAIL buffer).
I propose to add a user variable to disable the new(?) behavior of
mail-bury. The following patch does this. To get the old behavior,
simply set `mail-bury-selects-summary' to nil in your .emacs file.
--
Simon.
*** sendmail.el 1994/09/20 08:58:43 1.1
--- sendmail.el 1994/09/20 09:04:47
***************
*** 70,73 ****
--- 70,80 ----
This variable has no effect unless your system uses sendmail as its mailer.")
+ ;;;###autoload
+ (defvar mail-bury-selects-summary t
+ "*If non-nil, try to show RMAIL summary buffer after returning from mail.
+ The functions \\[mail-send-on-exit] or \\[mail-dont-send] will select
+ the RMAIL summary buffer before returning if it exists and this variable
+ is non-nil.")
+
(defvar mail-aliases t
"Alist of mail address aliases,
***************
*** 338,342 ****
(setq rmail-flag (eq major-mode 'rmail-mode))
(setq summary-buffer
! (and (boundp 'rmail-summary-buffer)
rmail-summary-buffer
(buffer-name rmail-summary-buffer)
--- 345,350 ----
(setq rmail-flag (eq major-mode 'rmail-mode))
(setq summary-buffer
! (and mail-bury-selects-summary
! (boundp 'rmail-summary-buffer)
rmail-summary-buffer
(buffer-name rmail-summary-buffer)
Technical Details
Message-ID:
<m0qn6eT-0004jiC@liasg5.epfl.ch>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lia.di.epfl.CH!simonShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,9243d8e78dd8a4c3,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-21 07:21:13 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lia.di.epfl.CH!simon From: simon@lia.di.epfl.CH (Simon Leinen) Newsgroups: gnu.emacs.bug Subject: [19.27] mail-bury: unwanted feature w/fix Date: 20 Sep 1994 11:06:49 -0400 Organization: GNUs Not Usenet Lines: 49 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <m0qn6eT-0004jiC@liasg5.epfl.ch>