From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files Date: Thu, 15 Dec 2011 23:30:55 +0200 Organization: JURTA Message-ID: <87aa6t7c3k.fsf@mail.jurta.org> References: <8739deov0n.fsf@mail.jurta.org> <874nx8g28t.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323985425 27261 80.91.229.12 (15 Dec 2011 21:43:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2011 21:43:45 +0000 (UTC) Cc: 8615@debbugs.gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 15 22:43:40 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 1RbJ5X-00083y-SJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2011 22:43:39 +0100 Original-Received: from localhost ([::1]:45206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbJ5X-0002WT-7f for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2011 16:43:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbJ5S-0002Oi-H6 for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2011 16:43:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbJ5P-0002yH-Uq for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2011 16:43:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbJ5P-0002yB-TK for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2011 16:43:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RbJ6t-0003V2-2U for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2011 16:45:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2011 21:45: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: fixed Original-Received: via spool by 8615-submit@debbugs.gnu.org id=B8615.132398547213385 (code B ref 8615); Thu, 15 Dec 2011 21:45:03 +0000 Original-Received: (at 8615) by debbugs.gnu.org; 15 Dec 2011 21:44:32 +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 1RbJ6O-0003Tp-Fe for submit@debbugs.gnu.org; Thu, 15 Dec 2011 16:44:32 -0500 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbJ6F-0003TN-3z for 8615@debbugs.gnu.org; Thu, 15 Dec 2011 16:44:23 -0500 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 4D41D754060; Thu, 15 Dec 2011 13:42:51 -0800 (PST) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 36CA8451C6C5; Thu, 15 Dec 2011 13:42:23 -0800 (PST) In-Reply-To: <874nx8g28t.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 10 Dec 2011 18:17:06 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 15 Dec 2011 16:45:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54994 Archived-At: > (eval-after-load "compile" > '(progn > (define-key compilation-mode-map ... ??? > > I tired several things but nothing worked. Perhaps the "remap" above > ruined it for everything. You could try: (define-key special-mode-map "q" (lambda () (interactive) (quit-window (not current-prefix-arg)))) (eval-after-load "compile" '(progn (define-key compilation-mode-map "q" 'quit-window))) PS: This means that in 24.2 we should add two customizable options: one with a list of modes to remap, and one with a list of modes to exclude from remapping.