From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: bug#6954: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files Date: Wed, 20 Jul 2011 11:09:27 -0400 Message-ID: <87pql5vviw.fsf@stupidchicken.com> References: <8762n3z13p.fsf@jidanni.org> <4E218E0A.6050302@gmx.at> <4E21AC02.6080603@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311179838 24343 80.91.229.12 (20 Jul 2011 16:37:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2011 16:37:18 +0000 (UTC) Cc: 6954@debbugs.gnu.org, emacs-devel@gnu.org, martin rudalics , Lars Magne Ingebrigtsen , jidanni@jidanni.org, 8615@debbugs.gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 20 18:37:11 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 1QjZlm-00051r-VB for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2011 18:37:11 +0200 Original-Received: from localhost ([::1]:53122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjZll-0007dY-E2 for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2011 12:37:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjYP9-00009l-RL for emacs-devel@gnu.org; Wed, 20 Jul 2011 11:09:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjYP5-0002ed-2o for emacs-devel@gnu.org; Wed, 20 Jul 2011 11:09:43 -0400 Original-Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]:53249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjYP4-0002eQ-LY for emacs-devel@gnu.org; Wed, 20 Jul 2011 11:09:38 -0400 Original-Received: from furball ([128.36.14.95]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p6KF9RDF028877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 20 Jul 2011 11:09:28 -0400 In-Reply-To: <4E21AC02.6080603@gmail.com> (Christoph Scholtes's message of "Sat, 16 Jul 2011 09:19:30 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.147 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:142170 Archived-At: Christoph Scholtes writes: > `q' buries the buffer and does not kill it, like it used to before > special-mode was introduced. > > I still think view-mode and special-mode need to be aligned in terms > of these common actions. I don't see why it's important for `q' to do exactly the same thing in view-mode and special-mode. It seems reasonable for `q' to bury the buffer in special-mode, which knows nothing about what the inheriting mode's buffers are for (so burying is safer than killing). In view-mode, killing the buffer is reasonable if we regard view-mode as a "less"-like quick way to view and then discard a file, in which case it would be a nuisance to keep the buffer around afterward.