emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problems with (defvar foo) and Emacs 23


From: Achim Gratz
Subject: Re: [O] Problems with (defvar foo) and Emacs 23
Date: Tue, 03 Apr 2012 08:04:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Bastien writes:
> 1. one about `buffer-substring-filters'
> We should write a compatibility function to get rid of the first
> warning.

Actually it is a variable and it "just" needs to be aliased suitably,
depending on which Emacs version it encounters.  This should be done
with a macro in org-compat.el (which doesn't exist yet, see my attempt
at such a macro in another thread), then org can use the aliased name
only.  In general I'd say org-compat.el is in need of some love.

> 2. one about `entry' not having a prefix
> Prefixing `entry' is not straightforward but should be possible.

I don't know enough about its uses to help here.

> 3. one about `date', `annotation', 'initial' not having a prefix
> As for the last warnings, I think we'll have to live with it,
> but chasing down places where *some* instance can be prefixed
> (or renamed with a more explicit name) could be good.  Not a
> high priority though.

I think one could also alias these (the prefix should be that of the
package where they come from), so that all uses within org use that
prefix.  That would probably leave one warning at the point where the
alias is defined, which could be wrapped into with-no-warning.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




reply via email to

[Prev in Thread] Current Thread [Next in Thread]