all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Better error reporting and stuff on startup
       [not found]     ` <87hbhcxtm6.fsf@thinkpad.tsdh.de>
@ 2010-09-26 21:14       ` Ted Zlatanov
  2010-09-26 21:17         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Zlatanov @ 2010-09-26 21:14 UTC (permalink / raw)
  To: ding; +Cc: emacs-devel

On Sun, 26 Sep 2010 20:11:29 +0200 Tassilo Horn <tassilo@member.fsf.org> wrote: 

TH> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>> That makes sense for any package, but not every package should need
>>> to implement something like it.  So it would be cool to extend the
>>> `message' mechanism in emacs, so that it allows for different
>>> severities (debug, info, warning?) and assign messages to packages,
>>> so that I could restrict *Messages* to show only warning messages
>>> from Gnus...
>> 
>> I don't really see how that would work.

TH> Well, maybe something like

TH>   (message 'gnus 'debug "Foo bar %s" (bla))

I see xdisp.c:Vmessages_buffer_name but it's not exposed to ELisp code
as a symbol.  If it were, (gnus-message) could let-bind it so Gnus
messages can go to a separate *Gnus Messages* buffer.  It would probably
be helpful for other packages too.  I don't know if there are issues
with that besides the obvious usability problem of multiple log buffers.

Ted




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

* Re: Better error reporting and stuff on startup
  2010-09-26 21:14       ` Better error reporting and stuff on startup Ted Zlatanov
@ 2010-09-26 21:17         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-26 21:17 UTC (permalink / raw)
  To: ding; +Cc: emacs-devel

Ted Zlatanov <tzz@lifelogs.com> writes:

> I see xdisp.c:Vmessages_buffer_name but it's not exposed to ELisp code
> as a symbol.  If it were, (gnus-message) could let-bind it so Gnus
> messages can go to a separate *Gnus Messages* buffer.  It would probably
> be helpful for other packages too.  I don't know if there are issues
> with that besides the obvious usability problem of multiple log buffers.

Having just one single message buffer is convenient for users, I think.

Although the default buffer size should probably be increased...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

end of thread, other threads:[~2010-09-26 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m3d3s0efwk.fsf@quimbies.gnus.org>
     [not found] ` <87ocbkbesu.fsf@thinkpad.tsdh.de>
     [not found]   ` <m3k4m8o1so.fsf@quimbies.gnus.org>
     [not found]     ` <87hbhcxtm6.fsf@thinkpad.tsdh.de>
2010-09-26 21:14       ` Better error reporting and stuff on startup Ted Zlatanov
2010-09-26 21:17         ` Lars Magne 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.