From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Make rename-file() also rename visiting buffers Date: Tue, 12 Jun 2007 22:01:11 +0200 Organization: The Church of Emacs Message-ID: <87bqflx7qw.fsf@debby.local.net> References: <1181662469.979165.162730@q19g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1181678573 29447 80.91.229.12 (12 Jun 2007 20:02:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 20:02:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Nordl=C3=B6w?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 22:02:50 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyCZk-0007NY-4Z for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 22:02:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyCZj-0005Ky-Py for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 16:02:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyCZW-0005Kq-N3 for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 16:02:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyCZU-0005KS-53 for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 16:02:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyCZU-0005KP-09 for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 16:02:32 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyCZT-0006iX-AF for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 16:02:31 -0400 Original-Received: from [89.12.125.219] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1HyCZQ2QlV-00049L; Tue, 12 Jun 2007 22:02:28 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.67) (envelope-from ) id 1HyCYB-0004Wv-Gd; Tue, 12 Jun 2007 22:01:11 +0200 In-Reply-To: <1181662469.979165.162730@q19g2000prn.googlegroups.com> (=?utf-8?Q?=22Nordl=C3=B6w=22's?= message of "Tue\, 12 Jun 2007 08\:34\:29 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1/Muv5UUAGXruGrHxBoSd7xvUq+BXyAcsKdQqo DFUvmZAcucqpMmMPCKNV6w1irpityAtukrzjM0cUEuxRrQwkPW SOxY9C/wIEvAOmhINzaGU2bTC1aChFB X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44970 Archived-At: Nordl=C3=B6w writes: > Why does not rename-file() correspondingly rename all buffers visiting > that file? > > How can I make this happen? For me the fastest way is to use the dired-x command (define-key global-map "\C-x\C-j" 'dired-jump) C-x C-j in the interesting buffer leads you to dired, then type R (for rename) and after renaming it type RET and you are in the corresponding buffer and all others are renamed as well. --=20 Best wishes H. Dieter Wilhelm Darmstadt, Germany