Gnus development mailing list
 help / color / mirror / Atom feed
* Xemacs 21.5.32 and lastest git: define-obsolete-variable-alias
@ 2013-01-18 14:07 Uwe Brauer
  2013-01-20 23:56 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2013-01-18 14:07 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hello

I just compiled the lastest git version.

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 


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?

Or 

Shall one add:

(if (featurep 'xemacs)
(define-obsolete-variable-alias   'nndiary-request-create-group-functions)
(define-obsolete-variable-alias 
  'nndiary-request-create-group-functions "24.3"))

Thanks 

Uwe Brauer 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4474 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Xemacs 21.5.32 and lastest git: define-obsolete-variable-alias
  2013-01-18 14:07 Xemacs 21.5.32 and lastest git: define-obsolete-variable-alias Uwe Brauer
@ 2013-01-20 23:56 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2013-01-20 23:56 UTC (permalink / raw)
  To: ding

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-20 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 14:07 Xemacs 21.5.32 and lastest git: define-obsolete-variable-alias Uwe Brauer
2013-01-20 23:56 ` Katsumi Yamaoka

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