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: Re: undo in loaddefs.el buffer Date: Sun, 2 Jan 2005 10:02:03 -0600 (CST) Message-ID: <200501021602.j02G23x08404@raven.dms.auburn.edu> References: <200412211414.iBLEEZ903426@raven.dms.auburn.edu> <200412211541.iBLFfBc03861@raven.dms.auburn.edu> <87llbonyup.fsf@jurta.org> <200412260206.iBQ26wG17970@raven.dms.auburn.edu> <41CEE3B8.9090600@swipnet.se> <200412270231.iBR2VDE19709@raven.dms.auburn.edu> <41CFE247.8090409@swipnet.se> <200412280503.iBS53deD002564@manatee.dms.auburn.edu> <200412290207.iBT27Gk0006913@manatee.dms.auburn.edu> <200412300114.iBU1EY001351@moose.dms.auburn.edu> <200412310154.iBV1s5w05229@raven.dms.auburn.edu> <200412311504.iBVF4QO05860@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1104681849 28719 80.91.229.6 (2 Jan 2005 16:04:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2005 16:04:09 +0000 (UTC) Cc: juri@jurta.org, yamaoka@jpl.org, jan.h.d@swipnet.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 02 17:04:02 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 1Cl8D3-0003BC-00 for ; Sun, 02 Jan 2005 17:04:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cl8OA-0002uG-KM for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2005 11:15:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cl8O2-0002uA-VR for emacs-devel@gnu.org; Sun, 02 Jan 2005 11:15:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cl8O2-0002ty-JB for emacs-devel@gnu.org; Sun, 02 Jan 2005 11:15:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cl8O2-0002tv-FK for emacs-devel@gnu.org; Sun, 02 Jan 2005 11:15:22 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cl8BK-0008Jp-J8; Sun, 02 Jan 2005 11:02:14 -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 j02G2A0P011780; Sun, 2 Jan 2005 10:02:10 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j02G23x08404; Sun, 2 Jan 2005 10:02:03 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 01 Jan 2005 00:25:14 -0500) 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:31690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31690 Some of which are obvious and some of which are non-obvious. My proposal is to point out the latter. Could you please explain these special requirements in the comments in autorevert.el, if that isn't already done. As I already pointed out, the only non-obvious requirement is that one way or the other they have to take care of undo correctly. In as far as autorevert is concerned, all problems with currently reverted buffers have been taken care of. If additional non-file buffers get autoreverted, there _theoretically_ should be no problem. I believe that we decided that reverting any buffer should clear out all undo info. In practice, some `revert-buffer-function's may not do this, as we saw with the Buffer Menu. I guess that the correct solution in such cases would be to fix the `revert-buffer-function'. Sincerely, Luc.