unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Jeffrey C Honig <jch@honig.net>
Cc: emacs-devel@gnu.org
Subject: Re: 23.1: Is delete-windows-on supposed to change the current buffer?
Date: Fri, 31 Jul 2009 18:11:31 +0200	[thread overview]
Message-ID: <4A7317B3.6070504@gmx.at> (raw)
In-Reply-To: <14318.1249055392@schlepp.honig.net>

 > In my case (which is not standard mh-e as I pop up new frames for draft
 > buffers):
 >
 > Before:
 > 	Current buffer:
 > 	     mh-sent-from-folder
 > 	Main Frame:
 > 	     mh-sent-from-folder
 > 	     mh-show-buffer
 > 	New Frame:
 > 	    draft-1
 >
 > After:
 > 	Current buffer:
 > 	     draft-1
 > 	Main Frame:
 > 	     mh-sent-from-folder
 > 	New Frame
 > 	    draft-1
 >
 > So the surprise is that the current buffer changed at all.
 >
 > The issue with the current buffer changing is that we are relying on
 > mh-show-buffer not changing, which is a buffer local variable.
 >
 > This is easy to fix in mh-e.  But if this is an unexpected change in the
 > behavior of emacs it should probably be fixed there instead.

Is the window showing `mh-show-buffer' selected when you execute your
form?  Also what happens when you do C-x 0 in the window showing
`mh-show-buffer'?  Is the "After" configuration the same as above?

All this might be related to bug#3949 Lennart spotted recently.

martin




  reply	other threads:[~2009-07-31 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 22:13 23.1: Is delete-windows-on supposed to change the current buffer? Jeffrey C Honig
2009-07-31  9:08 ` martin rudalics
2009-07-31 15:49   ` Jeffrey C Honig
2009-07-31 16:11     ` martin rudalics [this message]
2009-07-31 17:11   ` Bill Wohler
2009-07-31 18:56   ` Stefan Monnier
2009-07-31 20:17     ` Bill Wohler

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=4A7317B3.6070504@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=jch@honig.net \
    /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).