From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45294 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Compiled format specs in .newsrc.eld? Date: Tue, 18 Jun 2002 08:13:13 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: main.gmane.org 1024355725 12470 127.0.0.1 (17 Jun 2002 23:15:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2002 23:15:25 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17K5iX-0003F1-00 for ; Tue, 18 Jun 2002 01:15:25 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17K5h1-0007SG-00; Mon, 17 Jun 2002 18:13:51 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 17 Jun 2002 18:14:09 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id SAA06649 for ; Mon, 17 Jun 2002 18:13:55 -0500 (CDT) Original-Received: (qmail 24813 invoked by alias); 17 Jun 2002 23:13:31 -0000 Original-Received: (qmail 24808 invoked from network); 17 Jun 2002 23:13:31 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 17 Jun 2002 23:13:31 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17K673-0006KW-00 for ; Tue, 18 Jun 2002 01:40:45 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: groundpoundrecords.com Original-X-Trace: quimby.gnus.org 1024357245 24333 207.228.244.150 (17 Jun 2002 23:40:45 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 17 Jun 2002 23:40:45 GMT Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=), Simon Josefsson , Jesper Harder X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/20.7 (sparc-sun-solaris2.6) Cancel-Lock: sha1:dYx+RLScvcI+9KwASilfZfkd1co= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45294 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45294 >>>>> In >>>>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro.AN_johann) wrote: > ... or remove instead of delete ... >>>>> In >>>>> Simon Josefsson wrote: > - (let ((variables (delete 'gnus-format-specs gnus-variable-list))) > + (let ((variables (remove 'gnus-format-specs gnus-variable-list))) All you are using very new Emacsen, but Emacs 20 users always need to employ cl for it. remove is a compiled Lisp function in `cl-seq'. (remove X Y) not documented I think we should put the compiler macro as follows in dgnushack.el, or we should use the expanded version of the macro. (unless (featurep 'xemacs) (define-compiler-macro remove (&whole form item seq) (if (>= emacs-major-version 21) form `(delete ,item (copy-sequence ,seq))))) (compiler-macroexpand '(remove ITEM SEQ)) => (delete ITEM (copy-sequence SEQ)) By the way, in this particular case, we have no need to use `delete' but `delq'. :-) -- Katsumi Yamaoka