From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Unrecoverable data loss Date: Sun, 18 May 2008 20:21:02 +0200 Message-ID: <87zlqnqxrl.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211135738 12205 80.91.229.12 (18 May 2008 18:35:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2008 18:35:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 18 20:36:16 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 1Jxnjj-0002KG-V3 for ged-emacs-devel@m.gmane.org; Sun, 18 May 2008 20:36:00 +0200 Original-Received: from localhost ([127.0.0.1]:47696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxnj0-0003Rw-3d for ged-emacs-devel@m.gmane.org; Sun, 18 May 2008 14:35:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jxniw-0003Ri-0G for emacs-devel@gnu.org; Sun, 18 May 2008 14:35:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jxniu-0003RW-K2 for emacs-devel@gnu.org; Sun, 18 May 2008 14:35:09 -0400 Original-Received: from [199.232.76.173] (port=34045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxniu-0003RT-9m for emacs-devel@gnu.org; Sun, 18 May 2008 14:35:08 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46665 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jxniu-0003nU-0i for emacs-devel@gnu.org; Sun, 18 May 2008 14:35:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Jxnio-0006y7-T2 for emacs-devel@gnu.org; Sun, 18 May 2008 18:35:02 +0000 Original-Received: from i5387e5cd.versanet.de ([83.135.229.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 May 2008 18:35:02 +0000 Original-Received: from Stephen.Berman by i5387e5cd.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 May 2008 18:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387e5cd.versanet.de 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, seldom 2.4 (older, 4) 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:97367 Archived-At: 1. emacs -Q 2. Type text in a buffer in accordance with normal Emacs usage (plain text, code in some suitable mode, email in e.g. Gnus, etc.). I'll call this buffer A. 3. Type (in any buffer) C-u C-x =, which pops up a *Help* buffer. 4. Return to buffer A, if you're not still there, and type `M-x insert-buffer RET *Help*', thereby inserting the output of the command in step 3 into buffer A. 5. The inserted text retains the properties in buffer A that it has in the *Help* buffer, in particular clickable links. Click on the link displaying the value of the preferred charset, or, if there are text properties in the description, you can click on one of these links. (Clicking the link of the value of the code point, or the button labelled "customize what to show" does not produce the problem.) 6. Now buffer A is in Help mode and contains only the Help text of the clicked link; the text you had previously type is gone. If you type C-_, Emacs beeps and says "Buffer is read-only". If you toggle the read-only status and type C-_ again, Emacs beeps again and says "No undo information in this buffer". If you were typing in a buffer that does not have auto-save, its contents prior to step 5 is AFAICT unrecoverably lost. Note that if, instead of using insert-buffer, you copy the content of the *Help* buffer either with M-w or with the mouse and then yank it into buffer A, then the yanked text does not have clickable links. In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-05-15 on escher Steve Berman