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: Wed, 26 Aug 2009 15:21:20 -0400 Message-ID: References: <4A955D32.8030202@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251316291 17673 80.91.229.12 (26 Aug 2009 19:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 19:51:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 26 21:51:24 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 1MgOWi-0001gB-16 for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 21:51:24 +0200 Original-Received: from localhost ([127.0.0.1]:59550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgOWh-0005Es-4P for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 15:51:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgO3j-0001Ek-Sw for emacs-devel@gnu.org; Wed, 26 Aug 2009 15:21:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgO3f-000176-0K for emacs-devel@gnu.org; Wed, 26 Aug 2009 15:21:27 -0400 Original-Received: from [199.232.76.173] (port=55033 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgO3e-00016k-Qe for emacs-devel@gnu.org; Wed, 26 Aug 2009 15:21:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:37299) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgO3c-0006cL-Sf; Wed, 26 Aug 2009 15:21:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4EADcolUpFpYuS/2dsb2JhbACBU9dZhBoFh2M X-IronPort-AV: E=Sophos;i="4.44,281,1249272000"; d="scan'208";a="44249306" Original-Received: from 69-165-139-146.dsl.teksavvy.com (HELO ceviche.home) ([69.165.139.146]) by ironport2-out.teksavvy.com with ESMTP; 26 Aug 2009 15:20:26 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4556CB40F3; Wed, 26 Aug 2009 15:21:20 -0400 (EDT) In-Reply-To: <4A955D32.8030202@gnu.org> (Sam Steingold's message of "Wed, 26 Aug 2009 12:05:06 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:114630 Archived-At: > Why isn't the buffer, which is visiting a file, renamed > when I rename the underlying file with rename-file? Because rename-file is a low-level function. Maybe we should introduce a new command rename-file-buffer which automatically applies to the current buffer's file. Stefan