From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.bugs Subject: bug#8615: bug#6954: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files Date: Fri, 15 Jul 2011 16:57:34 -0600 Message-ID: <4E20C5DE.6070107__11746.8698103496$1310770899$gmane$org@gmail.com> References: <8762n3z13p.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310770900 5836 80.91.229.12 (15 Jul 2011 23:01:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 23:01:40 +0000 (UTC) Cc: 8615@debbugs.gnu.org, jidanni@jidanni.org, cyd@stupidchicken.com, 6954@debbugs.gnu.org, emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 16 01:01:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1QhrO2-0007Se-0M for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2011 01:01:34 +0200 Original-Received: from localhost ([::1]:43027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhrO1-0002Tl-Ad for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 19:01:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhrKg-0001xv-SR for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 18:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhrKf-0000rI-Eq for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 18:58:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhrKf-0000rE-3V for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 18:58:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhrKe-0005Y9-2G; Fri, 15 Jul 2011 18:58:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Scholtes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 22:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8615-submit@debbugs.gnu.org id=B8615.131077067221305 (code B ref 8615); Fri, 15 Jul 2011 22:58:03 +0000 Original-Received: (at 8615) by debbugs.gnu.org; 15 Jul 2011 22:57:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhrKR-0005XZ-K2 for submit@debbugs.gnu.org; Fri, 15 Jul 2011 18:57:51 -0400 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhrKO-0005XI-Kz; Fri, 15 Jul 2011 18:57:50 -0400 Original-Received: by iye7 with SMTP id 7so1478415iye.3 for ; Fri, 15 Jul 2011 15:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=r+fweW+OYmN4zDQR7suA6it+MGnQ4DNfSA6Q+aY+si0=; b=jvvS4Sq6DvZzpLZX8Y5XRqPKNYbMbMNc/+sZflOW2MeqruzTwZOrwUEdQKxmyupjOH PHftMIbwvVFzMNR1ztg7ilQwvu8eNz9PJpwgxtMg3LWfTWl5rK/8op4xd48HrOrTwgFg oVz61nAIWrMvGt4MMoqWcjMUoG2cCLsuiy1wU= Original-Received: by 10.42.154.8 with SMTP id o8mr2148860icw.503.1310770662869; Fri, 15 Jul 2011 15:57:42 -0700 (PDT) Original-Received: from [192.168.1.4] (71-208-199-22.hlrn.qwest.net [71.208.199.22]) by mx.google.com with ESMTPS id d8sm1846605icy.9.2011.07.15.15.57.40 (version=SSLv3 cipher=OTHER); Fri, 15 Jul 2011 15:57:42 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 18:58:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49229 Archived-At: On 7/15/2011 3:30 PM, Lars Magne Ingebrigtsen wrote: >> $ 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? I can reproduce the described behavior with build from a couple of minutes ago. According to describe-key, the `q' key is bound to quit-window. The `q' key should bury the buffer (image). `z' will kill it. All of this is consistent with image-mode using special-mode map, which maps `q' to quit-window and `z' to kill buffer. Not sure though, why `q' does not switch back to the dired buffer. It seems to put the dired buffer second in the buffer list and switch to the buffer which is first in the list. Christoph