[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11242: 24.1.50; Switching to rmai view buffer

From: Richard Stallman
Subject: bug#11242: 24.1.50; Switching to rmai view buffer
Date: Sun, 15 Apr 2012 16:12:33 -0400

    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)

    (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
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]