From: Richard Stallman <rms@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 11242@debbugs.gnu.org
Subject: bug#11242: 24.1.50; Switching to rmai view buffer
Date: Sun, 15 Apr 2012 16:12:33 -0400 [thread overview]
Message-ID: <E1SJVoH-0001F5-04@fencepost.gnu.org> (raw)
In-Reply-To: <4F8A8351.40808@gmx.at> (message from martin rudalics on Sun, 15 Apr 2012 10:14:09 +0200)
which calls `mail-bury' where we have two options to show a buffer whose
name starts with a space, namely
(defun mail-bury (&optional arg)
...
(bury-buffer (current-buffer)) <---------- HERE
...
(switch-to-buffer newbuf)))) <----------- OR HERE
It's neither one. It's done by this code.
;; If there is an Rmail buffer, return to it nicely
;; even if this message was not started by an Rmail command.
(unless return-action
(dolist (buffer (buffer-list))
(if (eq (buffer-local-value 'major-mode buffer) 'rmail-mode)
(setq return-action `(rmail-mail-return ,newbuf)))))
When the bug occurs, NEWBUF is the message view buffer.
It was returned by other-buffer.
(defun wcch ()
(when (get-buffer-window " *message-viewer RMAIL*" t)
(backtrace)))
(add-hook 'window-configuration-change-hook 'wcch)
in your .emacs and when it triggers post the backtrace here.
There is no need. I already said how that buffer gets selected:
later in mail-bury, where it handles return-action.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use free telephony http://directory.fsf.org/category/tel/
next prev parent reply other threads:[~2012-04-15 20:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 4:17 bug#11242: 24.1.50; Switching to rmai view buffer Richard Stallman
2012-04-14 13:30 ` martin rudalics
2012-04-14 18:31 ` Richard Stallman
2012-04-14 18:52 ` martin rudalics
2012-04-14 19:18 ` Eli Zaretskii
2012-04-15 8:14 ` martin rudalics
2012-04-15 20:12 ` Richard Stallman [this message]
2012-04-16 8:15 ` martin rudalics
2012-04-16 10:18 ` Chong Yidong
2012-04-16 22:01 ` Richard Stallman
2012-04-15 2:18 ` Richard Stallman
2012-04-15 8:14 ` martin rudalics
2012-04-15 2:18 ` Richard 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=E1SJVoH-0001F5-04@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=11242@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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).