From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: 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@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 1310776850 32678 80.91.229.12 (16 Jul 2011 00:40:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2011 00:40:50 +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 02:40:45 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 1Qhsvz-00020T-7S for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2011 02:40:43 +0200 Original-Received: from localhost ([::1]:45491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhsvy-0005tU-8k for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2011 20:40:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhsvk-0005tK-QG for emacs-devel@gnu.org; Fri, 15 Jul 2011 20:40:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qhsvj-0007Qu-PG for emacs-devel@gnu.org; Fri, 15 Jul 2011 20:40:28 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:56014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhsvj-0007Qp-K9 for emacs-devel@gnu.org; Fri, 15 Jul 2011 20:40:27 -0400 Original-Received: by iyb14 with SMTP id 14so473095iyb.0 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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:142040 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.