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:11:14 -0400 Message-ID: References: <4A955D32.8030202@gnu.org> <1f77704b0908261335y799ec0a4r74c69d9c36a82234@mail.gmail.com> <1f77704b0908262041o65007cb1ve8b88997e63d5170@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251393519 32522 80.91.229.12 (27 Aug 2009 17:18:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 17:18:39 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 27 19:18:32 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 1MgicI-0007g7-6H for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 19:18:30 +0200 Original-Received: from localhost ([127.0.0.1]:41201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgicH-00015z-ER for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 13:18:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mgic4-00014Z-5B for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:18:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mgibz-00013i-8N for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:18:15 -0400 Original-Received: from [199.232.76.173] (port=39114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgiby-00013e-RT for emacs-devel@gnu.org; Thu, 27 Aug 2009 13:18:10 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41866) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgiVK-0005ju-To; Thu, 27 Aug 2009 13:11:19 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n7RHBFrr030202; Thu, 27 Aug 2009 13:11:15 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id E4A3F3A06F; Thu, 27 Aug 2009 13:11:14 -0400 (EDT) In-Reply-To: <1f77704b0908262041o65007cb1ve8b88997e63d5170@mail.gmail.com> (Sam Steingold's message of "Wed, 26 Aug 2009 23:41:37 -0400") 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:114694 Archived-At: > doc string says: > rename the _BUFFER_ and the _FILE_. > it renames the file and keeps the buffer associated with it. BTW, the issue is not whether it renames the buffer, but wether it renames the buffer's buffer-file-name. Stefan PS: I hear dired's R does such a thing, so we should consolidate that code.