GNU bug report logs - #7565
24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 5 Dec 2010 23:19:03 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7565 in the body.
You can then email your comments to 7565 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Sun, 05 Dec 2010 23:19:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org. (Sun, 05 Dec 2010 23:19:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; "Buffer ... modified;
	kill anyway?" doesn't end up in *Messages*
Date: Mon, 06 Dec 2010 00:17:16 +0800
Please make sure messages like
"Buffer Makefile modified; kill anyway? (yes or no) "
end up in *Messages*. Thanks.

I thought it was due to emacsclient but it turned out not to be.
So no fancy test like the below needed.

$ cat Makefile
h:
	emacsclient -n --eval '(kill-buffer "Makefile")'
$ emacs Makefile
now with the server started, add some blanks to the Makefile and do M-x
compile, but don't save the Makefile...

In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-11-21 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20101120-1)




Severity set to 'wishlist' from 'normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Mon, 06 Dec 2010 18:56:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Wed, 22 Feb 2012 04:13:01 GMT) Full text and rfc822 format available.

Message #10 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: jidanni <at> jidanni.org
Cc: 7565 <at> debbugs.gnu.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified;
	kill anyway?" doesn't end up in *Messages*
Date: Tue, 21 Feb 2012 23:09:45 -0500
jidanni <at> jidanni.org wrote:

> Please make sure messages like
> "Buffer Makefile modified; kill anyway? (yes or no) "
> end up in *Messages*.

Why?
It is an interactive query. Did you type "yes" without reading it?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Wed, 22 Feb 2012 04:20:02 GMT) Full text and rfc822 format available.

Message #13 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: rgm <at> gnu.org
Cc: 7565 <at> debbugs.gnu.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified;
	kill anyway?" doesn't end up in *Messages*
Date: Wed, 22 Feb 2012 12:16:50 +0800
>>>>> "GM" == Glenn Morris <rgm <at> gnu.org> writes:
GM> jidanni <at> jidanni.org wrote:

>> Please make sure messages like
>> "Buffer Makefile modified; kill anyway? (yes or no) "
>> end up in *Messages*.

GM> Why?

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

GM> It is an interactive query. Did you type "yes" without reading it?

I just want a easy way of telling people what emacs just said to me if needed.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Wed, 22 Feb 2012 15:12:01 GMT) Full text and rfc822 format available.

Message #16 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7565 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified;
	kill anyway?" doesn't end up in *Messages*
Date: Wed, 22 Feb 2012 16:09:05 +0100
Glenn Morris <rgm <at> 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...

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Mon, 14 Oct 2019 01:20:02 GMT) Full text and rfc822 format available.

Message #19 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7565 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't
 end up in *Messages*
Date: Mon, 14 Oct 2019 03:19:14 +0200
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Glenn Morris <rgm <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Fri, 07 Aug 2020 10:41:01 GMT) Full text and rfc822 format available.

Message #22 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7565 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't
 end up in *Messages*
Date: Fri, 07 Aug 2020 12:40:07 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

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

Nobody had, and as I said, I don't really see a compelling use case
here, so I'm closing this bug report.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 07 Aug 2020 10:41:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 7565 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 07 Aug 2020 10:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7565; Package emacs. (Sun, 09 Aug 2020 06:25:02 GMT) Full text and rfc822 format available.

Message #29 received at 7565 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 7565 <at> debbugs.gnu.org
Subject: Re: bug#7565: 24.0.50; "Buffer ... modified;
 kill anyway?" doesn't end up in *Messages*
Date: Sun, 09 Aug 2020 13:56:43 +0800
OK, I can (almost) always use emacs -nw if needed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Sep 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.