[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: General variable for verbosity level.
From: |
Reiner Steib |
Subject: |
Re: General variable for verbosity level. |
Date: |
Mon, 03 Dec 2007 23:34:14 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
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:
,----[ <f1> 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/