unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Charalampos Mitrodimas <charmitro@posteo.net>
Cc: 70806-done@debbugs.gnu.org
Subject: bug#70806: [PATCH] Add rename-file-and-open function
Date: Sat, 18 May 2024 11:39:47 +0300	[thread overview]
Message-ID: <86v83becoc.fsf@gnu.org> (raw)
In-Reply-To: <d7e03a32-122c-4343-bf29-3b5c74ee2e69@posteo.net> (message from Charalampos Mitrodimas on Mon, 6 May 2024 23:48:30 +0000)

> 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.





      reply	other threads:[~2024-05-18  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-06 18:43 bug#70806: [PATCH] Add rename-file-and-open function Charalampos Mitrodimas
2024-05-06 18:59 ` Eli Zaretskii
2024-05-06 23:48   ` Charalampos Mitrodimas
2024-05-18  8:39     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v83becoc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70806-done@debbugs.gnu.org \
    --cc=charmitro@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).