unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
@ 2010-12-05 16:17 jidanni
  2012-02-22  4:09 ` Glenn Morris
  2012-02-22  4:16 ` jidanni
  0 siblings, 2 replies; 7+ messages in thread
From: jidanni @ 2010-12-05 16:17 UTC (permalink / raw)
  To: 7565; +Cc: rfrancoise

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)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2010-12-05 16:17 bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages* jidanni
@ 2012-02-22  4:09 ` Glenn Morris
  2012-02-22 15:09   ` Lars Magne Ingebrigtsen
  2012-02-22  4:16 ` jidanni
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2012-02-22  4:09 UTC (permalink / raw)
  To: jidanni; +Cc: 7565

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2010-12-05 16:17 bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages* jidanni
  2012-02-22  4:09 ` Glenn Morris
@ 2012-02-22  4:16 ` jidanni
  1 sibling, 0 replies; 7+ messages in thread
From: jidanni @ 2012-02-22  4:16 UTC (permalink / raw)
  To: rgm; +Cc: 7565

>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
GM> jidanni@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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2012-02-22  4:09 ` Glenn Morris
@ 2012-02-22 15:09   ` Lars Magne Ingebrigtsen
  2019-10-14  1:19     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-02-22 15:09 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7565, jidanni

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

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2012-02-22 15:09   ` Lars Magne Ingebrigtsen
@ 2019-10-14  1:19     ` Lars Ingebrigtsen
  2020-08-07 10:40       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14  1:19 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7565, jidanni

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2019-10-14  1:19     ` Lars Ingebrigtsen
@ 2020-08-07 10:40       ` Lars Ingebrigtsen
  2020-08-09  5:56         ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-07 10:40 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7565, jidanni

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages*
  2020-08-07 10:40       ` Lars Ingebrigtsen
@ 2020-08-09  5:56         ` 積丹尼 Dan Jacobson
  0 siblings, 0 replies; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-08-09  5:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Glenn Morris, 7565

OK, I can (almost) always use emacs -nw if needed.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-09  5:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-05 16:17 bug#7565: 24.0.50; "Buffer ... modified; kill anyway?" doesn't end up in *Messages* jidanni
2012-02-22  4:09 ` Glenn Morris
2012-02-22 15:09   ` Lars Magne Ingebrigtsen
2019-10-14  1:19     ` Lars Ingebrigtsen
2020-08-07 10:40       ` Lars Ingebrigtsen
2020-08-09  5:56         ` 積丹尼 Dan Jacobson
2012-02-22  4:16 ` jidanni

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