From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.devel Subject: RE: Bind `q' to `quit-window' or similar in *Messages* Date: Wed, 03 Feb 2010 19:28:40 -0600 Message-ID: <87636d94c7.fsf@regnitz.physics.niu.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265246952 25704 80.91.229.12 (4 Feb 2010 01:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 01:29:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: drew.adams@oracle.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 02:29:09 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 1NcqWq-0005pH-BI for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2010 02:29:08 +0100 Original-Received: from localhost ([127.0.0.1]:60107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcqWp-0006Yx-JA for ged-emacs-devel@m.gmane.org; Wed, 03 Feb 2010 20:29:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcqWk-0006Yi-JE for emacs-devel@gnu.org; Wed, 03 Feb 2010 20:29:02 -0500 Original-Received: from [199.232.76.173] (port=49493 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcqWj-0006Ya-5x for emacs-devel@gnu.org; Wed, 03 Feb 2010 20:29:01 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcqWh-0007M0-Rk for emacs-devel@gnu.org; Wed, 03 Feb 2010 20:29:00 -0500 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:11470) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcqWh-0007Jd-Fq for emacs-devel@gnu.org; Wed, 03 Feb 2010 20:28:59 -0500 Original-Received: from regnitz.physics.niu.edu (p1087-ipbf213aobadori.miyagi.ocn.ne.jp [125.174.251.87]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 28062215D2; Thu, 4 Feb 2010 02:28:46 +0100 (CET) In-reply-to: 49F60829322A48C886BC62810DDB0147@us.oracle.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:120878 Archived-At: > Absolutely I want that. I want to be able to write in *Messages*. > Yes, I can toggle read-only, but if `q' quits, then that defeats > the purpose. > > I sometimes find myself with tons of messages being logged, and > when I make several successive tests I sometimes type stuff in > Messages to distinguish test sequences etc. And I kill sections of > text there, or copy text (including text I've added) to other > buffers, and so on. I understand your point. Yet my typing in this buffer is purely accidental / unintentional. And I find it annoying that the *Messages* buffer does not have an undo history. So from that perspective, it appears to me that the original design did not have in mind the possibility of editing this buffer. So I want to suggest two things: - *Messages* should not have buffer-undo-list set to t (Of course, I do not know whether this would collide with anything else.) - Some customization that allows one to toggle between a read-only *Messages* buffer (with q bound to quit-window) and an edit mode where one can do whatever one likes to do. (How do the normal entries in *Messages* find their way into this buffer? Does this mechanism care whether this buffer is read-only or not? I just tried it and it appears to gives no errors.) Roland