GNU bug report logs -
#70806
[PATCH] Add rename-file-and-open function
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70806 in the body.
You can then email your comments to 70806 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70806
; Package
emacs
.
(Mon, 06 May 2024 18:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Charalampos Mitrodimas <charmitro <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 06 May 2024 18:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 (text/patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70806
; Package
emacs
.
(Mon, 06 May 2024 19:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 70806 <at> debbugs.gnu.org (full text, mbox):
> From: Charalampos Mitrodimas <charmitro <at> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70806
; Package
emacs
.
(Mon, 06 May 2024 23:50:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 70806 <at> debbugs.gnu.org (full text, mbox):
On 6/5/24 9:59 PM, Eli Zaretskii wrote:
>> From: Charalampos Mitrodimas <charmitro <at> 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!
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 18 May 2024 08:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Charalampos Mitrodimas <charmitro <at> posteo.net>
:
bug acknowledged by developer.
(Sat, 18 May 2024 08:40:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 70806-done <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 6 May 2024 23:48:30 +0000
> Cc: 70806 <at> debbugs.gnu.org
> From: Charalampos Mitrodimas <charmitro <at> posteo.net>
>
>
> On 6/5/24 9:59 PM, Eli Zaretskii wrote:
> >> From: Charalampos Mitrodimas <charmitro <at> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 15 Jun 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.