GNU bug report logs -
#11242
24.1.50; Switching to rmai view buffer
Previous Next
Reported by: rms <at> gnu.org
Date: Sat, 14 Apr 2012 04:19:01 UTC
Severity: minor
Merged with 11219
Found in version 24.1.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> 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)))))
Maybe. But how can you be sure that `bury-buffer' has no effect? Do
you have a buffer in rmail-mode at that time? Is `rmail-mail-return'
definitely called? Is NEWBUF really a buffer starting with a space?
martin
This bug report was last modified 13 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.