[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problems with (defvar foo) and Emacs 23
From: |
Bastien |
Subject: |
Re: [O] Problems with (defvar foo) and Emacs 23 |
Date: |
Wed, 04 Apr 2012 09:25:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Achim Gratz <address@hidden> writes:
> 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.
I'm afraid this is not that straightforward, because the use of
`filter-buffer-substring-functions' and `buffer-substring-filters'
differ.
> 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.
Make yourself at home there :)
>
>> 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.
No problem.
>> 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.
Good idea. When you have time for a patch to testing this solution,
let me know.
Thanks!
--
Bastien
- Re: [O] Problems with (defvar foo) and Emacs 23, (continued)
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/03
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/03
- Re: [O] Problems with (defvar foo) and Emacs 23,
Bastien <=
Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/01