bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in


From: Lars Ingebrigtsen
Subject: bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
Date: Mon, 14 Oct 2019 03:19:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Glenn Morris <rgm@gnu.org> writes:
>
>> It is an interactive query. Did you type "yes" without reading it?
>
> I sometimes forget.  And then I look in the *Messages* buffer, and am
> disappointed that it's not there...

I wondered where the yes-or-no-p prompt happened, and it's in the bowels
of read_minibuf, and it's this:

    /* Insert the prompt, record where it ends.  */
    Finsert (1, &minibuf_prompt);

So if we want to do this, it probably makes sense to put absolutely all
minibuffer prompts into the *Messages* buffer.

And that's actually something I can see the charm in doing, but I'm not
quite sure that the use case is compelling.  Dan mentions

> Probably so one has a way of putting the message into a bug report if needed.

but you can do that by just going to the beginning of the minibuffer and
copying the text there.

Does anybody have an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]