From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [joe-emacs-bugs@elem.com: change to file on disk not noticed by indirect buffer] Date: Fri, 07 Jul 2006 15:30:56 -0400 Message-ID: References: <7dbe73ed0607060822o39c58a54t10d3d1ccd7f0723c@mail.gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1152300684 4886 80.91.229.2 (7 Jul 2006 19:31:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 19:31:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 21:31:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fyw2g-000247-ET for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 21:31:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fyw2f-0003sj-SU for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 15:31:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fyw2U-0003ry-8t for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:30:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fyw2T-0003qo-Ki for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:30:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fyw2T-0003qZ-ED for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:30:57 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fyw2x-00073U-3W for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:31:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fyw2S-00024X-P9; Fri, 07 Jul 2006 15:30:56 -0400 Original-To: "Mathias Dahl" In-reply-to: <7dbe73ed0607060822o39c58a54t10d3d1ccd7f0723c@mail.gmail.com> (mathias.dahl@gmail.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: , 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:56735 Archived-At: Would it be that hard? Just change the base buffer's file as if it was a buffer without any indirect ones and for the indirect buffers, keep track of what mode they were in (would saving more information be useful?) and read the data from the new base buffer into them. Adjusting the indirect buffers correctly would be quite hard, I think. On the other hand, what if I do want to find an alternative file in the indirect buffer I am currently in? Maybe I am done with this indirect buffer and don't need it anymore. Maybe it is correct for C-x C-v in an indirect buffer to replace only that indirect buffer.