[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ideas for hl-line-mode
From: |
Dave Abrahams |
Subject: |
Re: Ideas for hl-line-mode |
Date: |
Sat, 01 Oct 2011 13:37:40 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) |
on Sat Oct 01 2011, Eli Zaretskii <eliz-AT-gnu.org> wrote:
>> From: Dave Abrahams <address@hidden>
>
>> Date: Fri, 30 Sep 2011 17:53:13 -0400
>>
>> > If you provide a list of those modes which you are interested in, we
>> > could see whether the fact they are `special' is a coincidence or
>> > something else.
>>
>> I'm interested in all present and future modes.
>
> I was asking about those modes where you'd like to see hl-line-mode
> active.
>
>> I don't see anything in the manual that suggests the two sets in
>> question will be/should be/are identical.
>
> From the ELisp manual:
>
> * If this mode is appropriate only for specially-prepared text
> produced by the mode itself (rather than by the user typing at the
> keyboard or by an external file), then the major mode command
> symbol should have a property named `mode-class' with value
> `special', put on as follows:
>
> (put 'funny-mode 'mode-class 'special)
>
> [...] Modes such as Dired, Rmail, and Buffer List use this feature.
Exactly my point. I read that text, and it doesn't suggest to me that
horizontal position will be irrelevant in those modes. Consider an
Emacs tic-tac-toe game, for example.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com