From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: rename-file Date: Wed, 26 Aug 2009 22:20:34 +0200 Message-ID: References: <4A955D32.8030202@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251318078 23676 80.91.229.12 (26 Aug 2009 20:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 20:21:18 +0000 (UTC) Cc: Sam Steingold , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 26 22:21:11 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 1MgOzW-0002UF-2l for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 22:21:10 +0200 Original-Received: from localhost ([127.0.0.1]:51560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgOzV-0002gM-6l for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 16:21:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgOzO-0002e7-Ct for emacs-devel@gnu.org; Wed, 26 Aug 2009 16:21:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgOzJ-0002VD-M2 for emacs-devel@gnu.org; Wed, 26 Aug 2009 16:21:01 -0400 Original-Received: from [199.232.76.173] (port=36753 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgOzJ-0002Uh-Em for emacs-devel@gnu.org; Wed, 26 Aug 2009 16:20:57 -0400 Original-Received: from mail-yx0-f188.google.com ([209.85.210.188]:36753) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgOzH-0005NV-N4; Wed, 26 Aug 2009 16:20:55 -0400 Original-Received: by yxe26 with SMTP id 26so12602yxe.14 for ; Wed, 26 Aug 2009 13:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=rB5Gsg3ZYRZ+384yoZdXGxrPN6fXT/9L8B04Y0ycEQc=; b=EYwzUdDKg3nyruBVVWX8GRCHELKQJAxSzJyz5k4BnYD4tkZe7bqFxislaBnsepKb62 P4JqenUFrsykQnRIItzHRNZtGEBbvVSZeCRSZpubDEZUkZL8gQ2H9UexfAjq8ST92ncS UassGTUzHm74JPYC3UgnlI7BFGd72U5ppc4+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ZHStEyHCmkoWe35o0W62GO8KTpW2nmdbg2sLLMZBJ/MzZENSvGs2MTX1MsTpDHBrka H2Oo9gsgNyYyRq/v22PabFJi9JwR3YIWDxtzspb+9Zv3TThKVbwgv3R68mv6P6e6mk9s YlufAbFqHcxXkM9f24xHLYtSN8wE2Rl4B0CGw= Original-Received: by 10.100.53.9 with SMTP id b9mr8491685ana.33.1251318054431; Wed, 26 Aug 2009 13:20:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:114634 Archived-At: On Wed, Aug 26, 2009 at 9:21 PM, Stefan Monnier w= rote: >> 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. =C2=A0Maybe we should introd= uce > a new command rename-file-buffer which automatically applies to the > current buffer's file. Yes, that would be good because it would be less confusing.