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: 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 18:40:24 -0600 Message-ID: <4E20DDF8.4070702__39811.4407006235$1310776893$gmane$org@gmail.com> References: <4E20C5DE.6070107@gmail.com> <871uxryvrq.fsf@jidanni.org> <4E20CED6.4070207@gmail.com> 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 1310776893 430 80.91.229.12 (16 Jul 2011 00:41:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2011 00:41:33 +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 02:41:28 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 1Qhswh-0002Ee-J4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2011 02:41:27 +0200 Original-Received: from localhost ([::1]:59630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhswg-0005z2-Fa for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 20:41:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhswM-0005yE-5s for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhswJ-0007UO-RO for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:41:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhswJ-0007UH-Fo for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhswI-0007tj-My; Fri, 15 Jul 2011 20:41:02 -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: Sat, 16 Jul 2011 00:41:02 +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.131077683530316 (code B ref 8615); Sat, 16 Jul 2011 00:41:02 +0000 Original-Received: (at 8615) by debbugs.gnu.org; 16 Jul 2011 00:40:35 +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 1Qhsvq-0007st-Jb for submit@debbugs.gnu.org; Fri, 15 Jul 2011 20:40:35 -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 1Qhsvo-0007sc-9F; Fri, 15 Jul 2011 20:40:32 -0400 Original-Received: by iye7 with SMTP id 7so1525410iye.3 for ; Fri, 15 Jul 2011 17:40:26 -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=Ru04iTqCJViLZeMNq1+UhhcdFrqMKLXmsPaq8dDlbOc=; b=Qoa3vKMct9E3mZsHj8bNRT5bgOE7YMqxp+V8VF0OA2BJBDW4ctVU4qrYp8G1G17KaZ dgBvb4/rYhMJqjhy2r6GnqJBOv+8uCaMyHfWVPnAipXjgfBMlrKuCB5jMf/UbDj/dN4V 8MfJ28xrPPGjMsyiKZIcqG6DlU6vXEXwhqIEo= Original-Received: by 10.42.162.138 with SMTP id y10mr4236700icx.213.1310776826652; Fri, 15 Jul 2011 17:40:26 -0700 (PDT) Original-Received: from [192.168.1.2] (71-208-132-119.hlrn.qwest.net [71.208.132.119]) by mx.google.com with ESMTPS id q4sm1158856ibb.49.2011.07.15.17.40.25 (version=SSLv3 cipher=OTHER); Fri, 15 Jul 2011 17:40:26 -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 20:41:02 -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:49240 Archived-At: On 7/15/2011 5:38 PM, Lars Magne Ingebrigtsen wrote: > Christoph Scholtes writes: > >> Most other files (all?) are opened in view-mode, which binds `q' and >> z' differently. I think view-mode and special-mode need to agree on >> how to map certain keys, e.g. `q', i.e. common operations like quit or >> kill-buffer. Either by deriving view-mode from special-mode or >> matching the maps. > > It's not a view-mode issue. IMO, it is very much a view-mode issue. The original issue description states that v q should remove the image buffer, i.e. kill it. It will never do this, since image-mode uses special mode map, and special-mode buries on `q', whereas other modes use view-mode. view-mode does kill the buffer on q, but I believe exit-action has to be set correctly. > Open up a directory in dired. Select a sub-directory. Type `q'. End > up in a buffer that wasn't the one you started in. > > So `quit-window' and friends have apparently gotten a bit confused in > the last couple of days. This is a separate issue and needs to be fixed.