Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: message-remove-duplicates and gnus-remove-duplicates
Date: Mon, 03 Oct 2005 15:58:02 +0200	[thread overview]
Message-ID: <iluhdby7led.fsf@latte.josefsson.org> (raw)
In-Reply-To: <v98xxadgbf.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon, 03 Oct 2005 12:51:16 +0200")

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> 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"))

Do we need to make this change in 5-10?  It doesn't look like a bug
fix to me.  No Gnus assume at least Emacs 21.1 or XEmacs 21.4, which
has d-o-f-a, so no need to fall back to old code.



  reply	other threads:[~2005-10-03 13:58 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
2005-10-03 13:58           ` Simon Josefsson [this message]
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=iluhdby7led.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).