From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Suggestion for autorevert.el Date: Thu, 01 Apr 2004 12:34:15 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87zna6l1kn.fsf@offby1.atm01.sea.blarg.net> <200404010330.i313Ug621242@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080842595 27318 80.91.224.253 (1 Apr 2004 18:03:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 18:03:15 +0000 (UTC) Cc: offby1@blarg.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 01 20:03:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B96Ww-00043y-00 for ; Thu, 01 Apr 2004 20:03:06 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B96Ww-0003Ga-00 for ; Thu, 01 Apr 2004 20:03:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B96Cy-00068H-V5 for emacs-devel@quimby.gnus.org; Thu, 01 Apr 2004 12:42:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9669-0005ZK-Tc for emacs-devel@gnu.org; Thu, 01 Apr 2004 12:35:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B965c-0005VG-1z for emacs-devel@gnu.org; Thu, 01 Apr 2004 12:35:23 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B965b-0005VC-Q8 for emacs-devel@gnu.org; Thu, 01 Apr 2004 12:34:51 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1B9651-00049M-Cn; Thu, 01 Apr 2004 12:34:15 -0500 Original-To: Luc Teirlinck In-reply-to: <200404010330.i313Ug621242@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 31 Mar 2004 21:30:42 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21166 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21166 Did you mean that `revert-buffer' should be changed to keep point at the end if it was there or just auto-revert? Just auto-revert, was what I had in mind. I had not thought of doing this in revert-buffer, but it is an interesting suggestion. That would leave the question of what to do with an empty buffer, where point is both at beginning and end. For auto-revert, in the case where you want to read the new output in the file, this case should be treated as "at the end". However, in ordinary revert-buffer, that would be undesirable. So I think this should be done in auto-revert, NOT in revert-buffer. And it should test simply (eobp).