From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: 23.1: Is delete-windows-on supposed to change the current buffer? Date: Fri, 31 Jul 2009 18:11:31 +0200 Message-ID: <4A7317B3.6070504@gmx.at> References: <30354.1248991980@schlepp.honig.net> <4A72B471.5030701@gmx.at> <14318.1249055392@schlepp.honig.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249056890 16620 80.91.229.12 (31 Jul 2009 16:14:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 16:14:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jeffrey C Honig Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 31 18:14:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWukj-0005A1-Kf for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2009 18:14:41 +0200 Original-Received: from localhost ([127.0.0.1]:45986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWuki-0000QH-Rr for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2009 12:14:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWuhq-0007Kz-F3 for emacs-devel@gnu.org; Fri, 31 Jul 2009 12:11:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWuhl-0007IY-Kq for emacs-devel@gnu.org; Fri, 31 Jul 2009 12:11:41 -0400 Original-Received: from [199.232.76.173] (port=38321 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWuhl-0007IV-H1 for emacs-devel@gnu.org; Fri, 31 Jul 2009 12:11:37 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53265) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MWuhk-0008FK-TI for emacs-devel@gnu.org; Fri, 31 Jul 2009 12:11:37 -0400 Original-Received: (qmail invoked by alias); 31 Jul 2009 16:11:34 -0000 Original-Received: from 62-47-63-153.adsl.highway.telekom.at (EHLO [62.47.63.153]) [62.47.63.153] by mail.gmx.net (mp021) with SMTP; 31 Jul 2009 18:11:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+rA+oPjZOrYyfLd0ARif1YN1TBghsH0E13c/941F PBAqYxdzf9+wIV User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <14318.1249055392@schlepp.honig.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113460 Archived-At: > 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