Gnus development mailing list
 help / color / mirror / Atom feed
* tricky explicit interactive verbosity
@ 2017-11-12 17:42 Emanuel Berg
  2017-11-14 16:22 ` Eric Abrahamsen
  0 siblings, 1 reply; 5+ messages in thread
From: Emanuel Berg @ 2017-11-12 17:42 UTC (permalink / raw)
  To: ding

From `gnus-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.

On the other hand `gnus-summary-current-score',
being an interactive function even with
a binding (`V S' in summary), it is a bit
confusing that with `gnus-verbose' at 0, which
you might not think of at the moment, nothing
is outputted even when the user explicitely
calls for the score output!

Perhaps gnus-summary-current-score should
always echo the score when used interactively?
And only when used programmatically refer to the
verbosity level?

(Yes, I get it there will be an inconsistency
at one side or the other no matter how it
is done.)

Source for gnus-summary-current-score

    (defun gnus-summary-current-score (arg)
      "Return the score of the current article.
      With prefix ARG, return the total score of the current (sub)thread."
      (interactive "P")
      (gnus-message 1 "%s" (if arg
                (gnus-thread-total-score
                 (gnus-id-to-thread
                  (mail-header-id (gnus-summary-article-header))))
                (gnus-summary-article-score))))

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

end of thread, other threads:[~2017-11-20 22:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-12 17:42 tricky explicit interactive verbosity Emanuel Berg
2017-11-14 16:22 ` Eric Abrahamsen
2017-11-14 20:16   ` Emanuel Berg
2017-11-14 21:53     ` Eric Abrahamsen
2017-11-20 22:23       ` Eric Abrahamsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).