[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Hint, hint...
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Hint, hint... |
Date: |
Tue, 21 Jun 2005 12:26:19 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> * David Kastrup (2005-06-21) writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> I was thinking about adding the `run-mode-hooks' thingy there was so
>>> much fuzz about on emacs-devel. But as I currently don't see any
>>> problems without it, it is probably to wait with it till after the
>>> release.
>
> Argh, my fingers are too slow for my brain. How can _this_ be
> possible?
>
>> Is it complicated? If we are missing out on some conventions, it
>> would not appear amiss to fix that as long as it is reasonably
>> unproblematic.
>
> No, it is just a defalias, e.g. `TeX-run-mode-hooks', calling
> `run-mode-hooks' if available and `run-hooks' if not.
> `TeX-run-mode-hooks' would then be called instead of `run-hooks' in
> all our major modes.
>
> I haven't checked if this may have bad consequences in connection with
> `delay-mode-hooks' or what is involved here in general.
I think this would only apply to the lines starting with
(run-hooks 'text-mode-hook
There don't seem to be too many of them. I think the idea is that
derived modes will call their parents with delay-mode-hooks set so
that the hooks of the parent are run after the derived mode has had a
chance to override some settings.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX-devel] Hint, hint..., David Kastrup, 2005/06/20
- Re: [AUCTeX-devel] Hint, hint..., Ralf Angeli, 2005/06/21
- Re: [AUCTeX-devel] Hint, hint..., David Kastrup, 2005/06/21
- Re: [AUCTeX-devel] Hint, hint..., Ralf Angeli, 2005/06/21
- Re: [AUCTeX-devel] Hint, hint...,
David Kastrup <=
- Re: [AUCTeX-devel] Hint, hint..., Ralf Angeli, 2005/06/21
- Re: [AUCTeX-devel] Hint, hint..., Ralf Angeli, 2005/06/21
Re: [AUCTeX-devel] Hint, hint..., Jan-Ake Larsson, 2005/06/27
Re: [AUCTeX-devel] Hint, hint..., Jan-Ake Larsson, 2005/06/27