From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Update filename history after several actions Date: Thu, 13 Oct 2005 10:10:20 -0400 Message-ID: References: <87fys87vbv.fsf@ID-24456.user.uni-berlin.de> <87r7br1rp9.fsf@ID-24456.user.uni-berlin.de> <20051004071357.GB30424@www.trapp.net> <8764s8vljt.fsf@jurta.org> <874q7qj5qe.fsf@jurta.org> <874q7nwixm.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129213089 24900 80.91.229.2 (13 Oct 2005 14:18:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2005 14:18:09 +0000 (UTC) Cc: Juri Linkov , tomas@tuxteam.de, emacs-devel@gnu.org, nospam@spamgourmet.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 16:18:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQ3qe-0008GX-2F for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2005 16:14:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ3qd-0001lK-BL for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2005 10:14:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EQ3my-0007ft-UD for emacs-devel@gnu.org; Thu, 13 Oct 2005 10:10:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EQ3mv-0007eI-Hg for emacs-devel@gnu.org; Thu, 13 Oct 2005 10:10:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ3mv-0007eB-Dl for emacs-devel@gnu.org; Thu, 13 Oct 2005 10:10:29 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EQ3mt-0001nG-Sl; Thu, 13 Oct 2005 10:10:28 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 894202CF678; Thu, 13 Oct 2005 10:10:27 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id F0FA44AC011; Thu, 13 Oct 2005 10:10:20 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id E1EA6E6C1A; Thu, 13 Oct 2005 10:10:20 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 13 Oct 2005 00:51:47 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.849, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:43985 Archived-At: > In those places > where such processing is required, a more preferable way is to insert > the contents of a file into a temporary buffer. > That is definitely true. However, there are a lot of places to > change--and it could be a difficult change, in places that alter the > file and want to be careful not to lose it (places that use > file-precious-flag). So I don't think that is a possible solution > in the short term. There's also the risk that the user has opened the file by hand with find-file in which case Emacs shouldn't modify the file without also updating the corresponding buffer. find-file-noselect takes care of that. Stefan