From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: delete-dups
Date: Mon, 04 Oct 2010 14:14:14 +0900 [thread overview]
Message-ID: <b4m39smedzt.fsf@jpl.org> (raw)
In-Reply-To: <87ocbeyqsn.fsf@lifelogs.com>
Ted Zlatanov wrote:
> On Fri, 01 Oct 2010 16:04:45 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote:
[...]
KY> Could you provide `gnus-delete-dups' or something for XEmacs 21.4?
KY> XEmacs 21.5 and SXEmacs 22.1 (and Emacs >=22 of course) provide
KY> `delete-dups' in subr.el, however XEmacs 21.4 doesn't.
> Old version:
[...]
> How about this rewrite, will that work in XEmacs? It seems like those
> two helper functions should be in ELisp but I don't know where they are
> hiding.
[...]
It should work. Thanks. Otherwise:
(defun gnus-registry-install-nnregistry ()
"Install the nnregistry refer method in `gnus-refer-article-method'."
(interactive)
(if (listp gnus-refer-article-method)
(unless (memq 'nnregistry gnus-refer-article-method)
(setq gnus-refer-article-method
(append gnus-refer-article-method '(nnregistry))))
(unless (eq 'nnregistry gnus-refer-article-method)
(setq gnus-refer-article-method
(list gnus-refer-article-method 'nnregistry)))))
or
(defalias 'gnus-delete-dups
(if (fboundp 'delete-dups)
'delete-dups
(lambda (list)
... copy of Emacs 24's delete-dups definition ...)))
And make gnus-registry-install-nnregistry use it.
next prev parent reply other threads:[~2010-10-04 5:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1P1RNX-00065o-00@quimby.gnus.org>
2010-10-01 7:04 ` delete-dups Katsumi Yamaoka
2010-10-01 13:40 ` delete-dups Ted Zlatanov
2010-10-04 5:14 ` Katsumi Yamaoka [this message]
2010-10-04 16:44 ` delete-dups Lars Magne Ingebrigtsen
2010-10-05 4:07 ` delete-dups 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=b4m39smedzt.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.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).