all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6088: Please record all warnings and errors in the *messages* buffer
@ 2010-05-03 12:44 Lennart Borgman
  2010-05-05 18:31 ` Juri Linkov
  2020-08-20 18:32 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Lennart Borgman @ 2010-05-03 12:44 UTC (permalink / raw)
  To: 6088

Could we please coordinate warnings, errors and messages? This could
make it more easy to find errors.

I suggest as a simple first step to record all errors and warnings in
the message buffer.

For warnings this is very simple. Just move the code for
noninteractive in display-warnings so that it is always run.

For errors this means outputting a message even when debug-on-error is
non-nil. I am not sure how to do that.







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

* bug#6088: Please record all warnings and errors in the *messages* buffer
  2010-05-03 12:44 bug#6088: Please record all warnings and errors in the *messages* buffer Lennart Borgman
@ 2010-05-05 18:31 ` Juri Linkov
  2010-05-05 18:59   ` Lennart Borgman
  2020-08-20 18:32 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2010-05-05 18:31 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6088

> Could we please coordinate warnings, errors and messages? This could
> make it more easy to find errors.
>
> I suggest as a simple first step to record all errors and warnings in
> the message buffer.
>
> For warnings this is very simple. Just move the code for
> noninteractive in display-warnings so that it is always run.

Do you mean to duplicate messages from the *Warnings* buffer to the
*Messages* buffer?

> For errors this means outputting a message even when debug-on-error is
> non-nil. I am not sure how to do that.

Do you want this for `error' or for your new function `user-error'?

-- 
Juri Linkov
http://www.jurta.org/emacs/






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

* bug#6088: Please record all warnings and errors in the *messages* buffer
  2010-05-05 18:31 ` Juri Linkov
@ 2010-05-05 18:59   ` Lennart Borgman
  2010-05-05 19:14     ` Juri Linkov
  0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman @ 2010-05-05 18:59 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 6088

On Wed, May 5, 2010 at 8:31 PM, Juri Linkov <juri@jurta.org> wrote:
>> Could we please coordinate warnings, errors and messages? This could
>> make it more easy to find errors.
>>
>> I suggest as a simple first step to record all errors and warnings in
>> the message buffer.
>>
>> For warnings this is very simple. Just move the code for
>> noninteractive in display-warnings so that it is always run.
>
> Do you mean to duplicate messages from the *Warnings* buffer to the
> *Messages* buffer?

Yes, that is a good beginning.

>> For errors this means outputting a message even when debug-on-error is
>> non-nil. I am not sure how to do that.
>
> Do you want this for `error' or for your new function `user-error'?

For `error'.






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

* bug#6088: Please record all warnings and errors in the *messages* buffer
  2010-05-05 18:59   ` Lennart Borgman
@ 2010-05-05 19:14     ` Juri Linkov
  0 siblings, 0 replies; 5+ messages in thread
From: Juri Linkov @ 2010-05-05 19:14 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6088

>>> For errors this means outputting a message even when debug-on-error is
>>> non-nil. I am not sure how to do that.
>>
>> Do you want this for `error' or for your new function `user-error'?
>
> For `error'.

Why not for `user-error'?  It is intended for user-level errors,
so users might want to be able to find there errors in the
*Messages* buffer.

-- 
Juri Linkov
http://www.jurta.org/emacs/






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

* bug#6088: Please record all warnings and errors in the *messages* buffer
  2010-05-03 12:44 bug#6088: Please record all warnings and errors in the *messages* buffer Lennart Borgman
  2010-05-05 18:31 ` Juri Linkov
@ 2020-08-20 18:32 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 18:32 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6088

Lennart Borgman <lennart.borgman@gmail.com> writes:

> Could we please coordinate warnings, errors and messages? This could
> make it more easy to find errors.
>
> I suggest as a simple first step to record all errors and warnings in
> the message buffer.

I think it would be confusing for the *Warnings* stuff to show up in
*Messages*, too.

> For errors this means outputting a message even when debug-on-error is
> non-nil. I am not sure how to do that.

If debug-on-error is nil, it looks like the error messages already end
up in the *Messages* buffer.  When we have debug-on-error non-nil, I
don't quite a use case for doing that, and it would be a bit
inconsistent: We haven't actually shown the error message, so putting it
in the *Messages* buffer doesn't seem quite right.

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] 5+ messages in thread

end of thread, other threads:[~2020-08-20 18:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 12:44 bug#6088: Please record all warnings and errors in the *messages* buffer Lennart Borgman
2010-05-05 18:31 ` Juri Linkov
2010-05-05 18:59   ` Lennart Borgman
2010-05-05 19:14     ` Juri Linkov
2020-08-20 18:32 ` Lars Ingebrigtsen

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.