all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Chong Yidong <cyd@gnu.org>
Cc: 11242@debbugs.gnu.org
Subject: bug#11242: 24.1.50; Switching to rmai view buffer
Date: Mon, 16 Apr 2012 18:01:48 -0400	[thread overview]
Message-ID: <E1SJtzY-0005Zf-1Q@fencepost.gnu.org> (raw)
In-Reply-To: <87sjg4q8ta.fsf@gnu.org> (message from Chong Yidong on Mon, 16 Apr 2012 18:18:09 +0800)

    This code is wrong; the NEWBUF should not be passed to
    rmail-mail-return, it should be the BUFFER variable in the loop.  I've
    committed a fix.

I think you're right.

However, it is nonetheless true that other-buffer should not return
buffers whose names start with space.

    BTW, having code in mail-bury to specially handle Rmail buffers is kinda
    ugly.  This probably needs to be folded into the quit-window mechanism,
    somehow.  In the first place, I'm not even sure it's appropriate to
    redirect the user to an Rmail buffer if the mail command was not started
    from Rmail.

Yes it is appropriate.  I put it in because the lack of it was a
nuisance.

But if that feature were removed, look what would happen:

    (if (and (null arg) return-action)
	(apply (car return-action) (cdr return-action))
      (switch-to-buffer newbuf))))

It would switch to NEWBUF, the same bug as was just happening.

--
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 Ekiga or an ordinary phone call





  reply	other threads:[~2012-04-16 22:01 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
2012-04-16 10:18           ` Chong Yidong
2012-04-16 22:01             ` Richard Stallman [this message]
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=E1SJtzY-0005Zf-1Q@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=11242@debbugs.gnu.org \
    --cc=cyd@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.