[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename-file
From: |
Andreas Schwab |
Subject: |
Re: rename-file |
Date: |
Thu, 27 Aug 2009 12:21:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Stephen Berman <address@hidden> writes:
> If that is so, then the doc string should be changed to "A name of the
> file visited in the current buffer...", to avoid confusion.
No, that's very wrong. There can be only at most one name associated
with any buffer.
> 1. C-x C-f bla
> 2. C-h v buffer-file-name => bla
> 3. M-x rename-file RET blabla
> 4. C-h v buffer-file-name => bla
>
> Surely the return value in step 4 is unwanted, isn't it?
The visited name of the buffer didn't change in any way whatsoever.
Only set-visited-file-name can do that.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- rename-file, Sam Steingold, 2009/08/26
- Re: rename-file, Stephen Berman, 2009/08/26
- Re: rename-file, Stefan Monnier, 2009/08/26
- Re: rename-file, Stephen Berman, 2009/08/27
- Re: rename-file, Andreas Schwab, 2009/08/27
- Re: rename-file, Stephen Berman, 2009/08/27
- Re: rename-file,
Andreas Schwab <=
- Re: rename-file, Stephen Berman, 2009/08/27
- Re: rename-file, Miles Bader, 2009/08/27
- Re: rename-file, Stephen Berman, 2009/08/27
- Re: rename-file, Andreas Schwab, 2009/08/27
- Re: rename-file, Stefan Monnier, 2009/08/27
Re: rename-file, Stefan Monnier, 2009/08/26