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: rename-file Date: Fri, 28 Aug 2009 20:46:34 -0400 Message-ID: References: <4A955D32.8030202@gnu.org> <1f77704b0908261335y799ec0a4r74c69d9c36a82234@mail.gmail.com> <1f77704b0908262041o65007cb1ve8b88997e63d5170@mail.gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1251506840 18582 80.91.229.12 (29 Aug 2009 00:47:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 00:47:20 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 02:47:13 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 1MhC64-0006kr-NF for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 02:47:13 +0200 Original-Received: from localhost ([127.0.0.1]:46123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhC64-0008KP-7y for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2009 20:47:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhC5X-00085s-TS for emacs-devel@gnu.org; Fri, 28 Aug 2009 20:46:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhC5T-00082T-Dk for emacs-devel@gnu.org; Fri, 28 Aug 2009 20:46:39 -0400 Original-Received: from [199.232.76.173] (port=37417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhC5T-00082P-6M for emacs-devel@gnu.org; Fri, 28 Aug 2009 20:46:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:47125) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhC5S-00052h-UC for emacs-devel@gnu.org; Fri, 28 Aug 2009 20:46:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MhC5S-0007ug-0q; Fri, 28 Aug 2009 20:46:34 -0400 In-reply-to: <1f77704b0908262041o65007cb1ve8b88997e63d5170@mail.gmail.com> (message from Sam Steingold on Wed, 26 Aug 2009 23:41:37 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114805 Archived-At: > Given the existence of the command `rename-buffer', > this name will cause confusion. please suggest a better name. I can't suggest one, since I am not sure what this function really does. > Does it rename the buffer, or does it just set the visited file name? > The code seems to do the latter.  If so, the doc string is inaccurate. doc string says: rename the _BUFFER_ and the _FILE_. it renames the file and keeps the buffer associated with it. Then the code could use some more comments. Where does the buffer name get changed?