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: Wed, 26 Aug 2009 23:25:21 -0400 Message-ID: References: <4A955D32.8030202@gnu.org> <1f77704b0908261335y799ec0a4r74c69d9c36a82234@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 1251343544 22273 80.91.229.12 (27 Aug 2009 03:25:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 03:25:44 +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 Thu Aug 27 05:25:37 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 1MgVcF-0001W9-GP for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 05:25:35 +0200 Original-Received: from localhost ([127.0.0.1]:53501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgVcE-0001iG-JM for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 23:25:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgVc7-0001g9-D4 for emacs-devel@gnu.org; Wed, 26 Aug 2009 23:25:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgVc2-0001c1-Or for emacs-devel@gnu.org; Wed, 26 Aug 2009 23:25:26 -0400 Original-Received: from [199.232.76.173] (port=43255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgVc2-0001by-JV for emacs-devel@gnu.org; Wed, 26 Aug 2009 23:25:22 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:58880) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgVc2-0004aa-BW for emacs-devel@gnu.org; Wed, 26 Aug 2009 23:25:22 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MgVc1-0007vn-VG; Wed, 26 Aug 2009 23:25:22 -0400 In-reply-to: <1f77704b0908261335y799ec0a4r74c69d9c36a82234@mail.gmail.com> (message from Sam Steingold on Wed, 26 Aug 2009 16:35:31 -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:114661 Archived-At: (defun rename-buffer-file (new-name) "Rename the current buffer and the file it is visiting to NEW-NAME." (interactive "FRename current file and buffer to: ") Given the existence of the command `rename-buffer', this name will cause confusion. 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.