all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: rms@gnu.org
Cc: 11242@debbugs.gnu.org
Subject: bug#11242: 24.1.50; Switching to rmai view buffer
Date: Mon, 16 Apr 2012 10:15:54 +0200	[thread overview]
Message-ID: <4F8BD53A.4090500@gmx.at> (raw)
In-Reply-To: <E1SJVoH-0001F5-04@fencepost.gnu.org>

 >     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





  reply	other threads:[~2012-04-16  8:15 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
2012-04-16  8:15           ` martin rudalics [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8BD53A.4090500@gmx.at \
    --to=rudalics@gmx.at \
    --cc=11242@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.