[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3 bugs in Rmail
From: |
Chong Yidong |
Subject: |
Re: 3 bugs in Rmail |
Date: |
Mon, 10 Jan 2011 15:02:31 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> http://lists.gnu.org/archive/html/help-gnu-emacs/2011-01/msg00315.html
In mail-mode, C-c C-c deletes the window and returns to the Rmail buffer
because of this specialized code in mail-bury:
(with-current-buffer
(window-buffer (next-window (selected-window) 'not))
(setq rmail-flag (eq major-mode 'rmail-mode))
...)
(if rmail-flag
;; If the Rmail buffer has a summary, show that.
(if summary-buffer (switch-to-buffer summary-buffer)
(delete-window))
(switch-to-buffer newbuf))))))
So, one solution is to add this to message-bury, or make message-bury an
alias for mail-bury. But this code doesn't seem terribly clean.
A better alternative may be to specify a `mail-bury-function' variable,
let Rmail set that variable, and change both mail-mode and message-mode
to respect `mail-bury-function'. Anyone have any better ideas?
- 3 bugs in Rmail, Eli Zaretskii, 2011/01/10
- Re: 3 bugs in Rmail,
Chong Yidong <=
Re: 3 bugs in Rmail, Glenn Morris, 2011/01/10