From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Bind `q' to `quit-window' or similar in *Messages* Date: Fri, 05 Feb 2010 08:40:47 +0900 Message-ID: <87pr4ka7sw.fsf@catnip.gol.com> References: <874olx8yz7.fsf@regnitz.physics.niu.edu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265327231 29655 80.91.229.12 (4 Feb 2010 23:47:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 23:47:11 +0000 (UTC) Cc: Roland Winkler , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 00:47:08 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdBPf-00086M-Tn for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 00:47:08 +0100 Original-Received: from localhost ([127.0.0.1]:34597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdBPf-00041o-Ea for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2010 18:47:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdBK9-0001E4-7T for emacs-devel@gnu.org; Thu, 04 Feb 2010 18:41:25 -0500 Original-Received: from [140.186.70.92] (port=57070 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdBK3-0000xk-IW for emacs-devel@gnu.org; Thu, 04 Feb 2010 18:41:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NdBJl-0006xQ-7q for emacs-devel@gnu.org; Thu, 04 Feb 2010 18:41:01 -0500 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:47725) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdBJk-0006xJ-Kg; Thu, 04 Feb 2010 18:41:00 -0500 Original-Received: from 218.231.148.164.eo.eaccess.ne.jp ([218.231.148.164] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1NdBJZ-0005nZ-2G; Fri, 05 Feb 2010 08:40:49 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 05E7ADF8E; Fri, 5 Feb 2010 08:40:47 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Stefan Monnier's message of "Thu, 04 Feb 2010 10:33:22 -0500") Original-Lines: 23 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120926 Archived-At: Stefan Monnier writes: > PS: BTW, I've often felt that C-x C-q should turn on the undo-log when > making a buffer writeable. It hasn't bothered me enough to actually > code it up and try it, but maybe people could try it out and see if it > leads to problems. Undo in a buffer that's frequently updated automatically can be pretty annoying... It would actually be nice if there were some way to make undo only operate on user edits, and simply ignore automatic insertions etc (this is a problem in comint too), but I get the impression that's not entirely trivial, since the undo-list contains absolute positions. [There was a previous thread on this too; forget what the resolution was, but I think there was some existing code written for some mode or another to do this.] -Miles -- "Most attacks seem to take place at night, during a rainstorm, uphill, where four map sheets join." -- Anon. British Officer in WW I