[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36361: 'hl-line-range-function' as list of choice
From: |
Lars Ingebrigtsen |
Subject: |
bug#36361: 'hl-line-range-function' as list of choice |
Date: |
Tue, 09 Jul 2019 01:51:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Sebastian Urban <mrsebastianurban@gmail.com> writes:
> Because 'hl-line-mode' highlight logical line instead of screen line
> when 'visual-line-mode' is active, and for example 'C-a' and 'C-e'
> change behaviour, some people want 'hl-line-mode' to change the
> behaviour as well. They usually use 'hl-line-range-function' to
> define how it should highlight, but... cannot it be made simpler?
> Like by making 'hl-line-range-function' a list of choice:
> - nil for default behaviour,
> - "Screen line" to change to screen line,
> - "Function" for user to write what he wants.
I think that makes sense, and I think `visual-line-mode' should adjust
`hl-line-range-function' automatically to do the visual line highlight.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#36361: 'hl-line-range-function' as list of choice,
Lars Ingebrigtsen <=