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: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files Date: Sat, 16 Jul 2011 15:11:38 +0200 Message-ID: <4E218E0A.6050302@gmx.at> References: <8762n3z13p.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310821939 31956 80.91.229.12 (16 Jul 2011 13:12:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2011 13:12:19 +0000 (UTC) Cc: 8615@debbugs.gnu.org, emacs-devel@gnu.org, cyd@stupidchicken.com, 6954@debbugs.gnu.org, jidanni@jidanni.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 15:12:14 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qi4fE-0008Rn-SK for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2011 15:12:13 +0200 Original-Received: from localhost ([::1]:46298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi4fD-0007on-H7 for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2011 09:12:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi4eq-0007o1-Rv for emacs-devel@gnu.org; Sat, 16 Jul 2011 09:11:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qi4ep-0006cV-If for emacs-devel@gnu.org; Sat, 16 Jul 2011 09:11:48 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:50111) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qi4eo-0006cI-Rp for emacs-devel@gnu.org; Sat, 16 Jul 2011 09:11:47 -0400 Original-Received: (qmail invoked by alias); 16 Jul 2011 13:11:43 -0000 Original-Received: from 62-47-56-15.adsl.highway.telekom.at (EHLO [62.47.56.15]) [62.47.56.15] by mail.gmx.net (mp049) with SMTP; 16 Jul 2011 15:11:43 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19jSspCepxjZiLeDo34KoqoHAVt6w988tAm2JZeEy apavNByNrQCfvZ User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142044 Archived-At: >> $ emacs -Q a_directory_with_images >> type v on an image >> type q >> Now guess what we are looking at? >> Back to the directory? >> No. >> You folks buried it! >> And the image is also buried, not killed, too! > > I don't think anything has actually changed with the bug you reported, > but yeah, wow. `q' popped to a totally different buffer than I > expected. > > Is this a part of the switch-to-buffer/window thingie rework? It is ;-) As a matter of fact it's the combination of (1) a bug in Emacs 23's `pop-to-buffer' causing it to _not_ reselect the selected window when it's used for displaying the buffer, and (2) a recent change which had `find-file' use `pop-to-buffer' instead of `set-window-buffer'. Hopefully fixed now (the bug in Emacs 23 remains unfixed since noone has complained about it yet - after all `pop-to-buffer' was supposed to use any but the selected window). Thanks for complaining, martin