Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

require CL once and Gnus twice; also, downscoring threads

2 views
Skip to first unread message

Emanuel Berg

unread,
Aug 11, 2016, 9:20:59 PM8/11/16
to
A while back, I was told you shouldn't do

xxx

(pedagogically, I don't mention what you
shouldn't do), instead, you should only do

(require 'cl-lib)

for every and all such cases.

Who told me? It doesn't matter. I believed him.

However, with Gnus, building up the function
provided last, this

(require 'gnus)

won't do it, instead

(require 'gnus-score)
(require 'gnus-sum)

will.

Is this because Gnus is a program and CL is
a library, or is it just one of them
inconsistencies the world - and in particular
the world of computing - is consistently
filled with?

Also, the code:

(defun gnus-summary-uncool-subject ()
(interactive)
(let ((subject (gnus-summary-article-subject)))
(when subject
(gnus-summary-score-entry
"Subject" subject
'e ; exact string
-1000 ; enough to mark-and-expunge; see .SCORE file
nil) ; no expiration DATE
)))

Keep it real time.

--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 64 Blogomatic articles -
0 new messages