From: Eli Zaretskii <eliz@gnu.org>
To: Jeremy Bryant <jb@jeremybryant.net>
Cc: 67313@debbugs.gnu.org
Subject: bug#67313: [PATCH] New command write-file-no-switch
Date: Fri, 24 Nov 2023 10:04:54 +0200 [thread overview]
Message-ID: <83bkbjfuft.fsf@gnu.org> (raw)
In-Reply-To: <87v89uemrx.fsf@jeremybryant.net> (message from Jeremy Bryant on Tue, 21 Nov 2023 22:52:13 +0000)
> From: Jeremy Bryant <jb@jeremybryant.net>
> Cc: 67313@debbugs.gnu.org
> Date: Tue, 21 Nov 2023 22:52:13 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Why is it not enough to be able to use "M-x write-region"?
> >
> > In any case, a new command is definitely overkill, IMO.
>
> Thank you for pointing out write-region, it is indeed more appropriate,
> replacing the line above by
>
> (write-region nil nil filename)
>
>
> The attached patch is the prototype of how this may be used.
Thanks. As stated above, I'm not sure I agree we need a new command.
write-region already exists, as a command, and I personally use it
quite a lot in these cases.
Does anyone else think we need an additional command for saving a
buffer to a different file?
next prev parent reply other threads:[~2023-11-24 8:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 23:33 bug#67313: [PATCH] New command write-file-no-switch Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-21 11:26 ` Eli Zaretskii
2023-11-21 22:52 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-24 8:04 ` Eli Zaretskii [this message]
2023-11-30 23:18 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-01 8:38 ` Eli Zaretskii
2023-12-01 23:11 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83bkbjfuft.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67313@debbugs.gnu.org \
--cc=jb@jeremybryant.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.