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: global-autorevert-mode does not preserve read-only status Date: Wed, 01 Sep 2004 00:57:20 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <87oekrk3a1.fsf@cante.net> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094014707 27230 80.91.224.253 (1 Sep 2004 04:58:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 04:58:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 01 06:58:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2NCP-0005rd-00 for ; Wed, 01 Sep 2004 06:58:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2NHJ-0001dx-KN for ged-emacs-devel@m.gmane.org; Wed, 01 Sep 2004 01:03:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2NGs-0001SD-F3 for emacs-devel@gnu.org; Wed, 01 Sep 2004 01:02:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2NGr-0001Rm-Oo for emacs-devel@gnu.org; Wed, 01 Sep 2004 01:02:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2NGr-0001Qu-LJ for emacs-devel@gnu.org; Wed, 01 Sep 2004 01:02:57 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2NBR-0006qg-6X for emacs-devel@gnu.org; Wed, 01 Sep 2004 00:57:21 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C2NBQ-000469-O3; Wed, 01 Sep 2004 00:57:20 -0400 Original-To: jari.aalto@poboxes.com (Jari Aalto) In-reply-to: <87oekrk3a1.fsf@cante.net> (jari.aalto@poboxes.com) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26676 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26676 1. C-x C-f /var/log/syslog (or any other growing log file) 2. That buffer shoudl not be edited, so we want C-x C-q 3. M-x global-autorevert-mode (start following all logs) ... after a while the log buffer is reverted, but unfortunately the read only status that the user activated for the buffer is not preserved after auto reverted has reloaded the buffer. I think the state should be preserved as user had set it. For Autorevert mode, I agree. Manual revert should recalculate the read-only status based on the file, as it does now.