all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36361: 'hl-line-range-function' as list of choice
@ 2019-06-24 16:30 Sebastian Urban
  2019-07-08 23:51 ` Lars Ingebrigtsen
  2021-10-26 18:48 ` Howard Melman
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Urban @ 2019-06-24 16:30 UTC (permalink / raw)
  To: 36361

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-26 19:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24 16:30 bug#36361: 'hl-line-range-function' as list of choice Sebastian Urban
2019-07-08 23:51 ` Lars Ingebrigtsen
2021-10-26 18:48 ` Howard Melman
2021-10-26 19:11   ` Eli Zaretskii
2021-10-26 19:17     ` Howard Melman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.