From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Better error reporting and stuff on startup Date: Sun, 26 Sep 2010 16:14:58 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87iq1syzot.fsf@lifelogs.com> References: <87ocbkbesu.fsf@thinkpad.tsdh.de> <87hbhcxtm6.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285535735 30944 80.91.229.12 (26 Sep 2010 21:15:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 21:15:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M20304@lists.math.uh.edu Sun Sep 26 23:15:34 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzyZJ-0003FJ-JJ for ding-account@gmane.org; Sun, 26 Sep 2010 23:15:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OzyZ4-00039M-W6; Sun, 26 Sep 2010 16:15:19 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OzyZ3-000397-33 for ding@lists.math.uh.edu; Sun, 26 Sep 2010 16:15:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzyYy-00024m-R8 for ding@lists.math.uh.edu; Sun, 26 Sep 2010 16:15:16 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzyYy-0005iY-00 for ; Sun, 26 Sep 2010 23:15:12 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzyYw-00038L-OW for ding@gnus.org; Sun, 26 Sep 2010 23:15:10 +0200 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 23:15:10 +0200 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 23:15:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:jicOAk+dWJyV0ZtsL0iWQO7s3vw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71931 gmane.emacs.devel:130944 Archived-At: On Sun, 26 Sep 2010 20:11:29 +0200 Tassilo Horn wrote: TH> Lars Magne Ingebrigtsen 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