* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
[not found] ` <20220624095719.A9C9CC0169C@vcs2.savannah.gnu.org>
@ 2022-06-24 10:18 ` Stefan Kangas
2022-06-24 10:49 ` Lars Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2022-06-24 10:18 UTC (permalink / raw)
To: Emacs developers, Lars Ingebrigtsen
Lars Ingebrigtsen <larsi@gnus.org> writes:
> * Changes in Emacs 29.1
>
> +---
> +** Interactively, 'kill-buffer' will now offer to save the buffer if unsaved.
> +
I don't understand what this means. I thought it always did that?
Could we perhaps expand this NEWS item slightly?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-24 10:18 ` master 66669c5c20: Add NEWS entry about kill-buffer change Stefan Kangas
@ 2022-06-24 10:49 ` Lars Ingebrigtsen
2022-06-24 11:12 ` Stefan Kangas
0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-24 10:49 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Emacs developers
Stefan Kangas <stefan@marxist.se> writes:
>> +---
>> +** Interactively, 'kill-buffer' will now offer to save the buffer if unsaved.
>> +
>
> I don't understand what this means. I thought it always did that?
Perhaps you're thinking of `save-buffers-kill-emacs'? `kill-buffer'
(i.e., `C-x k') didn't offer to save anything.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-24 10:49 ` Lars Ingebrigtsen
@ 2022-06-24 11:12 ` Stefan Kangas
2022-06-24 11:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2022-06-24 11:12 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Emacs developers
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Perhaps you're thinking of `save-buffers-kill-emacs'? `kill-buffer'
> (i.e., `C-x k') didn't offer to save anything.
When I visit some file and make some edits in 27.1, then hit `C-x k',
I see a prompt "Buffer foo modified; kill anyway (yes or no)". Is
that what you are talking about?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-24 11:12 ` Stefan Kangas
@ 2022-06-24 11:15 ` Lars Ingebrigtsen
2022-06-24 11:51 ` Stefan Kangas
2022-06-25 15:40 ` Stefan Kangas
0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-24 11:15 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Emacs developers
Stefan Kangas <stefan@marxist.se> writes:
> When I visit some file and make some edits in 27.1, then hit `C-x k',
> I see a prompt "Buffer foo modified; kill anyway (yes or no)". Is
> that what you are talking about?
Yup. (Now it says "yes/no/save and then kill".)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-24 11:15 ` Lars Ingebrigtsen
@ 2022-06-24 11:51 ` Stefan Kangas
2022-06-25 15:40 ` Stefan Kangas
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Kangas @ 2022-06-24 11:51 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Emacs developers
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Yup. (Now it says "yes/no/save and then kill".)
Thanks, I somehow missed that.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-24 11:15 ` Lars Ingebrigtsen
2022-06-24 11:51 ` Stefan Kangas
@ 2022-06-25 15:40 ` Stefan Kangas
2022-06-25 15:45 ` Lars Ingebrigtsen
2022-06-25 15:56 ` Manuel Uberti
1 sibling, 2 replies; 9+ messages in thread
From: Stefan Kangas @ 2022-06-25 15:40 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Emacs developers
Lars Ingebrigtsen <larsi@gnus.org> writes:
> > When I visit some file and make some edits in 27.1, then hit `C-x k',
> > I see a prompt "Buffer foo modified; kill anyway (yes or no)". Is
> > that what you are talking about?
>
> Yup. (Now it says "yes/no/save and then kill".)
Having tested this, it is a very good addition, thanks. It would be
even better if it respected `use-short-answers', so that I could just
hit e.g. "y", "n" or "s" in reply to this prompt.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-25 15:40 ` Stefan Kangas
@ 2022-06-25 15:45 ` Lars Ingebrigtsen
2022-06-25 15:56 ` Manuel Uberti
1 sibling, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-25 15:45 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Emacs developers
Stefan Kangas <stefan@marxist.se> writes:
> Having tested this, it is a very good addition, thanks. It would be
> even better if it respected `use-short-answers', so that I could just
> hit e.g. "y", "n" or "s" in reply to this prompt.
It's supposed to -- doesn't that work?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-25 15:40 ` Stefan Kangas
2022-06-25 15:45 ` Lars Ingebrigtsen
@ 2022-06-25 15:56 ` Manuel Uberti
2022-06-25 16:15 ` Stefan Kangas
1 sibling, 1 reply; 9+ messages in thread
From: Manuel Uberti @ 2022-06-25 15:56 UTC (permalink / raw)
To: Stefan Kangas, Lars Ingebrigtsen; +Cc: Emacs developers
On 25/06/22 17:40, Stefan Kangas wrote:
> Having tested this, it is a very good addition, thanks. It would be
> even better if it respected `use-short-answers', so that I could just
> hit e.g. "y", "n" or "s" in reply to this prompt.
Can you reproduce the problem from `emacs -Q`? If I do:
- emacs -Q
- Eval (setq use-short-answers t)
- Visit a file (~/.emacs.d/init.el)
- Add a blank line
- C-x k RET
- I can hit just `n` to abort the killing
--
Manuel Uberti
https://manueluberti.eu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: master 66669c5c20: Add NEWS entry about kill-buffer change
2022-06-25 15:56 ` Manuel Uberti
@ 2022-06-25 16:15 ` Stefan Kangas
0 siblings, 0 replies; 9+ messages in thread
From: Stefan Kangas @ 2022-06-25 16:15 UTC (permalink / raw)
To: Manuel Uberti; +Cc: Lars Ingebrigtsen, Emacs developers
Manuel Uberti <manuel.uberti@inventati.org> writes:
> Can you reproduce the problem from `emacs -Q`?
Thanks, this works perfectly in "emacs -Q".
There is probably something going on with ivy, so I'll report it to
the maintainers of that package. Thanks!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-06-25 16:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <165606463939.20854.10739785516367367451@vcs2.savannah.gnu.org>
[not found] ` <20220624095719.A9C9CC0169C@vcs2.savannah.gnu.org>
2022-06-24 10:18 ` master 66669c5c20: Add NEWS entry about kill-buffer change Stefan Kangas
2022-06-24 10:49 ` Lars Ingebrigtsen
2022-06-24 11:12 ` Stefan Kangas
2022-06-24 11:15 ` Lars Ingebrigtsen
2022-06-24 11:51 ` Stefan Kangas
2022-06-25 15:40 ` Stefan Kangas
2022-06-25 15:45 ` Lars Ingebrigtsen
2022-06-25 15:56 ` Manuel Uberti
2022-06-25 16:15 ` Stefan Kangas
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).