bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#36361: 'hl-line-range-function' as list of choice


From: Sebastian Urban
Subject: bug#36361: 'hl-line-range-function' as list of choice
Date: Mon, 24 Jun 2019 18:30:18 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

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'm writing this from perspective of "Customize" menu.


S. U.


In GNU Emacs 26.2 (build 1, i686-w64-mingw32)
 of 2019-04-13 built on CIRROCUMULUS
Repository revision: fd1b34bfba8f3f6298df47c8e10b61530426f749
Windowing system distributor 'Microsoft Corp.', version 6.1.7601





reply via email to

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