From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65465 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general Subject: Re: Rewriting gnus-group-highlight-line (was: Warning: `mapcar' called for effect; use `mapc' or `dolist') Date: Sat, 27 Oct 2007 19:41:20 -0400 Message-ID: References: <200710200643.l9K6h9gk021348@oogie-boogie.ics.uci.edu> <200710222007.l9MK7fRZ022140@oogie-boogie.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193528556 26129 80.91.229.12 (27 Oct 2007 23:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2007 23:42:36 +0000 (UTC) Cc: ding@gnus.org To: Reiner Steib Original-X-From: ding-owner+M13966@lists.math.uh.edu Sun Oct 28 01:42:37 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IlvIX-00054G-Rs for ding-account@gmane.org; Sun, 28 Oct 2007 01:42:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IlvHX-0004xp-FQ; Sat, 27 Oct 2007 18:41:31 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IlvHU-0004xW-MS for ding@lists.math.uh.edu; Sat, 27 Oct 2007 18:41:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IlvHO-0007kB-Tz for ding@lists.math.uh.edu; Sat, 27 Oct 2007 18:41:28 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IlvHI-0001nM-00 for ; Sun, 28 Oct 2007 01:41:16 +0200 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IlvHM-0006TS-7t; Sat, 27 Oct 2007 19:41:20 -0400 In-reply-to: (message from Reiner Steib on Sat, 27 Oct 2007 12:46:57 +0200) X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65465 Archived-At: I'm not sure if I understand what exactly should be rewritten in this function: The use of `mailp' through `gnus-group-highlight', the accessing `gnus-group-highlight' through `list', both, or something else. The kludge is that the alist elements contain expressions that refer to local variables with short names. Perhaps write your own tiny evaluator that handles just `and', `or', and numeric comparisons and just a few specific variables.