--- Begin Message ---
Subject: |
[PATCH] Add rename-file-and-open function |
Date: |
Mon, 06 May 2024 18:43:40 +0000 |
Tags: patch
Hi,
The new function is similar to "rename-file", but it automatically opens
the file once it's renamed (or throws a relevant error).
I'm not sure if this addition is necessary, but I've had it for so many
years that I thought it might be useful to have it in Emacs by
default. I'm also not sure if it's in the correct position within
lisp/files.el. In any case, I'm submitting this patch for consideration.
--
C. Mitrodimas
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.16.0) of 2024-05-06 built on
Debian-bookworm-latest-amd64-base
Repository revision: 71395b7888f4d7b64be36a8cedb5b2b8c4819259
Repository branch: master
System Description: Debian GNU/Linux 12 (bookworm)
Configured using:
'configure --with-native-compilation'
0001-Add-rename-file-and-open-function.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#70806: [PATCH] Add rename-file-and-open function |
Date: |
Sat, 18 May 2024 11:39:47 +0300 |
> Date: Mon, 6 May 2024 23:48:30 +0000
> Cc: 70806@debbugs.gnu.org
> From: Charalampos Mitrodimas <charmitro@posteo.net>
>
>
> On 6/5/24 9:59 PM, Eli Zaretskii wrote:
> >> From: Charalampos Mitrodimas <charmitro@posteo.net>
> >> Date: Mon, 06 May 2024 18:43:40 +0000
> >>
> >> The new function is similar to "rename-file", but it automatically opens
> >> the file once it's renamed (or throws a relevant error).
> >>
> >> I'm not sure if this addition is necessary, but I've had it for so many
> >> years that I thought it might be useful to have it in Emacs by
> >> default. I'm also not sure if it's in the correct position within
> >> lisp/files.el. In any case, I'm submitting this patch for consideration.
> > I think we have "C-x C-w" for those scenarios. It works the other way
> > around: first you visit the file under the original name, then change
> > its name when you save it.
> That is indeed better than my function. Thanks!
No further comments within 12 days, so I conclude this issue can be
closed now.
--- End Message ---