From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Unrecoverable data loss Date: Mon, 19 May 2008 21:33:42 -0400 Message-ID: References: <87zlqnqxrl.fsf@escher.local.home> <48309ED3.3020701@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211247254 21809 80.91.229.12 (20 May 2008 01:34:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2008 01:34:14 +0000 (UTC) Cc: Stephen Berman , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 20 03:34:51 2008 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.50) id 1JyGkX-0000jA-BY for ged-emacs-devel@m.gmane.org; Tue, 20 May 2008 03:34:45 +0200 Original-Received: from localhost ([127.0.0.1]:60704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyGjn-00046a-9c for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 21:33:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyGjj-000463-2w for emacs-devel@gnu.org; Mon, 19 May 2008 21:33:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyGjh-00045d-Ri for emacs-devel@gnu.org; Mon, 19 May 2008 21:33:54 -0400 Original-Received: from [199.232.76.173] (port=59208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyGjh-00045a-F1 for emacs-devel@gnu.org; Mon, 19 May 2008 21:33:53 -0400 Original-Received: from 206-248-174-248.dsl.teksavvy.com ([206.248.174.248]:50156 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyGjh-0003wO-GM for emacs-devel@gnu.org; Mon, 19 May 2008 21:33:53 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7316AB422F; Mon, 19 May 2008 21:33:42 -0400 (EDT) In-Reply-To: <48309ED3.3020701@gmx.at> (martin rudalics's message of "Sun, 18 May 2008 23:25:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: 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:97420 Archived-At: > (defun help-buffer () > (buffer-name ;for with-output-to-temp-buffer > (if help-xref-following > (current-buffer) > (get-buffer-create "*Help*")))) > hence turning your current buffer into a help buffer thus clearing its > contents and undo-list, making it read-only, ... > Maybe `help-buffer' should refuse to return a buffer if it is not > read-only, `buffer-undo-list' is not t, ... Yes, I guess we should sanity-check before obeying help-xref-following. Stefan