Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: message-remove-duplicates and gnus-remove-duplicates
Date: Mon, 03 Oct 2005 12:51:16 +0200	[thread overview]
Message-ID: <v98xxadgbf.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <iluhdbz806y.fsf@latte.josefsson.org>

On Mon, Oct 03 2005, Simon Josefsson wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
[...]
>> --8<---------------cut here---------------start------------->8---
>> ;; In case external packages use `gnus-remove-duplicates', we provide an
>> ;; alias.  In new code, `mm-delete-duplicates' or `delete-dups' should be
>> ;; used.
>> (defalias 'gnus-remove-duplicates 'mm-delete-duplicates)
>> --8<---------------cut here---------------end--------------->8---
>
> Yes, I think that is good.  Perhaps instead use:
>
> (define-obsolete-function-alias 'gnus-remove-duplicates 'mm-delete-duplicates)

For compatibility with Emacs 20.7 (v5-10), Emacs 21 and maybe older
XEmacs versions we probably need:

(if (fboundp 'define-obsolete-function-alias)
    (define-obsolete-function-alias
      'gnus-remove-duplicates 'mm-delete-duplicates
      "22.1");; Gnus 5.10.7 / Gnus 5.11 / No Gnus
  (defalias 'gnus-remove-duplicates 'mm-delete-duplicates)
  (make-obsolete 'gnus-remove-duplicates 'mm-delete-duplicates "22.1"))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2005-10-03 10:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1EKH9h-0000UQ-00@quimby.gnus.org>
2005-09-28 14:25 ` message-remove-duplicates and gnus-remove-duplicates (was: Changes committed gnus/lisp (ChangeLog gnus-art.el message.el)) Reiner Steib
2005-09-29 13:39   ` message-remove-duplicates and gnus-remove-duplicates Simon Josefsson
2005-10-02 20:24     ` Reiner Steib
2005-10-03  8:38       ` Simon Josefsson
2005-10-03 10:51         ` Reiner Steib [this message]
2005-10-03 13:58           ` Simon Josefsson
2005-10-03 17:55             ` Reiner Steib
2005-10-04 10:01               ` Simon Josefsson
2005-10-04 15:50                 ` Reiner Steib

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=v98xxadgbf.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).