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: rename-file Date: Thu, 27 Aug 2009 13:08:57 -0400 Message-ID: References: <4A955D32.8030202@gnu.org> <8763ca9zbi.fsf@escher.local.home> <87d46hejn8.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251392968 30807 80.91.229.12 (27 Aug 2009 17:09:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 17:09:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 27 19:09:21 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgiTM-0004wr-Rj for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 19:09:17 +0200 Original-Received: from localhost ([127.0.0.1]:50448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgiTL-0004Hx-S6 for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 13:09:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgiTG-0004DO-23 for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:09:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgiTB-00048V-AS for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:09:09 -0400 Original-Received: from [199.232.76.173] (port=36648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgiTA-00048I-RF for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:09:04 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57230) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgiTA-0005F6-CA for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:09:04 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n7RH8vIl011293; Thu, 27 Aug 2009 13:08:57 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3802E3A06F; Thu, 27 Aug 2009 13:08:57 -0400 (EDT) In-Reply-To: <87d46hejn8.fsf@escher.local.home> (Stephen Berman's message of "Thu, 27 Aug 2009 10:38:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3350=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:114693 Archived-At: > I should have left out the though-clause above, it was a misguided > afterthought. What's problematic is that returning the previous name > contradicts the doc string of buffer-file-name: "Name of file visited in > current buffer, or nil if not visiting a file." The docstring sounds correct to me. If you rename the underlying file, it means the buffer's file name will refer to some other file (or no file at all). Stefan