From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82848 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Xemacs 21.5.32 and lastest git: define-obsolete-variable-alias Date: Mon, 21 Jan 2013 08:56:03 +0900 Organization: Emacsen advocacy group Message-ID: References: <87zk06fuuj.fsf@gilgamesch.quim.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358726259 7919 80.91.229.3 (20 Jan 2013 23:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2013 23:57:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31114@lists.math.uh.edu Mon Jan 21 00:57:58 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tx4ls-0003rF-Cd for ding-account@gmane.org; Mon, 21 Jan 2013 00:57:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Tx4kQ-0003CI-Pt; Sun, 20 Jan 2013 17:56:22 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Tx4kO-0003C6-0L for ding@lists.math.uh.edu; Sun, 20 Jan 2013 17:56:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Tx4kM-0007eG-5q for ding@lists.math.uh.edu; Sun, 20 Jan 2013 17:56:19 -0600 Original-Received: from hampton.hostforweb.net ([205.234.140.233]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx4kK-000723-0u for ding@gnus.org; Mon, 21 Jan 2013 00:56:16 +0100 Original-Received: from localhost.localdomain ([127.0.0.1]:43450 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1Tx4kC-0000Wm-18 for ding@gnus.org; Sun, 20 Jan 2013 17:56:08 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:1aIbgSAB2Y0b/kntpSORfUgLZgk= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82848 Archived-At: Uwe Brauer wrote: > I just compiled the lastest git version. It should go well if you do configure and make, and you'll get the *.elc files that you can load and reload. If you want to compile *.el files one by one manually or want to load *.el files for some reason, the most easy way is to load dgnushack.el in advance. It offers things incompatible with XEmacs (not only `define-obsolete-variable-alias'). > Although in dgnushack there is a comment > ;; XEmacs's `define-obsolete-variable-alias' takes only two arguments: > the latest nndiary contains > (define-obsolete-variable-alias > 'nndiary-request-create-group-functions "24.3") > Which does not work in Xemacs It should work if you load the nndiary.elc file (or load dgnushack.el and nndiary.el in this order). > If I understand the code of dnugshack correctly it tries to simulate > the GNU emacs behaviour for Xemacs and therefore I should load this > file? That's right. The compiler macro for define-obsolete-variable-alias does this for XEmacs: (define-obsolete-variable-alias 'oldvar 'newvar bla bla) => (define-obsolete-variable-alias 'oldvar 'newvar) Loading dgnushack.el is necessary only once when compiling Gnus if and only if you use *.elc files normally.