From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: require CL once and Gnus twice; also, downscoring threads Date: Fri, 12 Aug 2016 03:20:56 +0200 Organization: Aioe.org NNTP Server Message-ID: <86lh027pfr.fsf@student.uu.se> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470965145 1679 195.159.176.226 (12 Aug 2016 01:25:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 01:25:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 03:25:41 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bY1E8-00006y-1G for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 03:25:36 +0200 Original-Received: from localhost ([::1]:51165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1E4-0005sB-3T for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 21:25:32 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder1.xsusenet.com!feeders.as203319.net!feeder02.as203319.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 50 Original-NNTP-Posting-Host: EoOtCC1fCYcttx6jjhWUlA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org Cancel-Lock: sha1:d2YRRI9q3FWFZVISlrkw2RB5J/Y= X-Notice: Filtered by postfilter v. 0.8.2 Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:218724 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111118 Archived-At: 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 -