From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: reverting non-file buffers in earlier Emacs versions. Date: Mon, 24 Jan 2005 19:26:04 -0600 (CST) Message-ID: <200501250126.j0P1Q4907054@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1106617948 31743 80.91.229.6 (25 Jan 2005 01:52:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2005 01:52:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 25 02:52:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtFsT-0000NU-00 for ; Tue, 25 Jan 2005 02:52:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtG4i-0000sY-JY for ged-emacs-devel@m.gmane.org; Mon, 24 Jan 2005 21:05:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtG0x-0008V3-B7 for emacs-devel@gnu.org; Mon, 24 Jan 2005 21:01:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtG0n-0008Qq-HA for emacs-devel@gnu.org; Mon, 24 Jan 2005 21:01:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtG0m-0008EF-GO for emacs-devel@gnu.org; Mon, 24 Jan 2005 21:00:56 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CtFTr-0007ko-6K for emacs-devel@gnu.org; Mon, 24 Jan 2005 20:26:55 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j0P1Qs9N018780 for ; Mon, 24 Jan 2005 19:26:54 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j0P1Q4907054; Mon, 24 Jan 2005 19:26:04 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org 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: main.gmane.org gmane.emacs.devel:32541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32541 I suggest the following documentation changes to autorevert.el and emacs-xtra.texi. The reason for the changes is that in Emacs versions 21.3 and earlier, autoreverting of non-file buffers seems to cause serious problems. In Emacs-21.3, Dired buffers autorevert every five seconds, print a message every five seconds, constantly overshouting what I am trying to type in the echo area, and point in a Dired buffer shoots back to the beginning of the buffer every five seconds. So I want to give the reader at least some indication that autoreverting of non-file buffers worked quite differently in earlier Emacs versions. I will install if there are no objections. ===File ~/autorevert-diff=================================== *** autorevert.el 29 Dec 2004 21:08:55 -0600 1.42 --- autorevert.el 23 Jan 2005 21:57:14 -0600 *************** *** 208,213 **** --- 208,216 ---- of files. You may still sometimes want to revert them manually. Use this option with care since it could lead to excessive auto-reverts. + This is especially true in versions 21.3 and earlier of Emacs, + but should be much less of a problem in 21.4 or later. + For more information, see Info node `(emacs-xtra)Autorevert'." :group 'auto-revert :type 'boolean ============================================================ ===File ~/emacs-xtra-diff=================================== *** emacs-xtra.texi 18 Jul 2004 11:01:23 -0500 1.7 --- emacs-xtra.texi 23 Jan 2005 21:50:29 -0600 *************** *** 10,16 **** @copying This manual describes specialized features of Emacs. ! Copyright (C) 2004 Free Software Foundation, Inc. @quotation --- 10,16 ---- @copying This manual describes specialized features of Emacs. ! Copyright (C) 2004, 2005 Free Software Foundation, Inc. @quotation *************** *** 96,101 **** --- 96,106 ---- implemented, that is, for the types of buffers listed in the menu below. + This chapter describes the behavior in Emacs versions 21.4 or later. + In earlier versions, auto-reverting of non-file buffers, while + possible, could cause several problems such as excessive reverts, + excessive noisiness, inappropriate point movement and the like. + Like file buffers, non-file buffers should normally not revert while you are working on them, or while they contain information that might get lost after reverting. Therefore, they do not revert if they are ============================================================