From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: General variable for verbosity level. Date: Mon, 03 Dec 2007 23:34:14 +0100 Message-ID: References: <198E2B70-D060-41D8-8BC2-A9614C2729CC@inf.ed.ac.uk> <6C0C2889-2C17-4E5C-BDB3-CB4F51BE163A@gmail.com> <877ijwlhb8.fsf_-_@red-bean.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196721386 29998 80.91.229.12 (3 Dec 2007 22:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 22:36:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 23:36:35 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzJty-0004vG-J0 for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 23:36:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzJti-0004Zo-4P for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 17:36:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzJtd-0004YU-6X for emacs-devel@gnu.org; Mon, 03 Dec 2007 17:36:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzJta-0004Vb-Rt for emacs-devel@gnu.org; Mon, 03 Dec 2007 17:36:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzJta-0004V5-9o for emacs-devel@gnu.org; Mon, 03 Dec 2007 17:36:10 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IzJtZ-0006ZM-MZ for emacs-devel@gnu.org; Mon, 03 Dec 2007 17:36:10 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IzJtO-0000y1-VR for emacs-devel@gnu.org; Mon, 03 Dec 2007 22:35:58 +0000 Original-Received: from p54a967b7.dip.t-dialin.net ([84.169.103.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2007 22:35:58 +0000 Original-Received: from Reiner.Steib by p54a967b7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2007 22:35:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54a967b7.dip.t-dialin.net X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84613 Archived-At: On Mon, Dec 03 2007, Karl Fogel wrote: > For interactive functions, `maybe-message' should behave just like > `message' does today. But should `message-verbosity-level' be a > number, or something else? It could be, for example, a symbol: > > message-verbosity-level: > `none' ==> print no messages (except errors) > `important' ==> print only important messages > `regular' ==> ... > > This has the advantages of being clearer to users, and of allowing us > to cleanly insert new verbosity levels in the future. The doc string of `gmm-message' gives some additional information on the levels: ,----[ f gmm-message RET ] | gmm-message is a compiled Lisp function in `gmm-utils.el'. | (gmm-message level &rest args) | | If level is lower than `gmm-verbose' print args using `message'. | | Guideline for numbers: | 1 - error messages, 3 - non-serious error messages, 5 - messages for things | that take a long time, 7 - not very important messages on stuff, 9 - messages | inside loops. `---- Related to this: Users have asked to add a timestamp to the message (in the *Messages* buffers). I think this might be useful. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/