From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Compiled format specs in .newsrc.eld?
Date: Tue, 18 Jun 2002 08:13:13 +0900 [thread overview]
Message-ID: <yotl8z5dmrcm.fsf@jpl.org> (raw)
In-Reply-To: <iluofeakn0k.fsf@latte.josefsson.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1090 bytes --]
>>>>> In <vaf3cvmav6u.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>
>>>>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro^[.A^[N_johann) wrote:
> ... or remove instead of delete ...
>>>>> In <iluofeakn0k.fsf@latte.josefsson.org>
>>>>> Simon Josefsson <jas@extundo.com> 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 <yamaoka@jpl.org>
next prev parent reply other threads:[~2002-06-17 23:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-15 0:35 Jesper Harder
2002-06-15 10:00 ` Simon Josefsson
2002-06-15 16:15 ` Jesper Harder
2002-06-15 17:38 ` Kai Großjohann
2002-06-16 2:23 ` Jesper Harder
2002-06-16 10:04 ` Kai Großjohann
2002-06-17 12:13 ` Katsumi Yamaoka
2002-06-17 13:31 ` Kai Großjohann
2002-06-17 14:03 ` Jesper Harder
2002-06-17 14:03 ` Simon Josefsson
2002-06-17 14:09 ` Jesper Harder
2002-06-17 14:17 ` Simon Josefsson
2002-06-17 15:13 ` Jesper Harder
2002-06-17 15:56 ` Simon Josefsson
2002-06-17 16:31 ` Jesper Harder
2002-06-17 16:54 ` Simon Josefsson
2002-06-17 19:59 ` Jesper Harder
2002-06-17 16:25 ` Kai Großjohann
2002-06-17 15:36 ` Kai Großjohann
2002-06-17 23:13 ` Katsumi Yamaoka [this message]
2002-06-18 2:12 ` Katsumi Yamaoka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yotl8z5dmrcm.fsf@jpl.org \
--to=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).