From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61075 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: message-remove-duplicates and gnus-remove-duplicates Date: Mon, 03 Oct 2005 12:51:16 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128341658 22204 80.91.229.2 (3 Oct 2005 12:14:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 12:14:18 +0000 (UTC) Original-X-From: ding-owner+m9607@lists.math.uh.edu Mon Oct 03 14:14:17 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMPCV-0005hc-84 for ding-account@gmane.org; Mon, 03 Oct 2005 14:13:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EMPCP-0001Ra-00; Mon, 03 Oct 2005 07:13:41 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EMPBf-0001RU-00 for ding@lists.math.uh.edu; Mon, 03 Oct 2005 07:12:55 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EMPBb-0002z4-15 for ding@lists.math.uh.edu; Mon, 03 Oct 2005 07:12:54 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EMPBa-0006w8-00 for ; Mon, 03 Oct 2005 14:12:50 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EMP9c-000562-9s for ding@gnus.org; Mon, 03 Oct 2005 14:10:48 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2005 14:10:48 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2005 14:10:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:LNu3U43NTtlHlXLcyZuo461ZJBI= X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61075 Archived-At: On Mon, Oct 03 2005, Simon Josefsson wrote: > Reiner Steib 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/