From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sebastian Urban <mrsebastianurban@gmail.com>
Cc: 36361@debbugs.gnu.org
Subject: bug#36361: 'hl-line-range-function' as list of choice
Date: Tue, 09 Jul 2019 01:51:40 +0200 [thread overview]
Message-ID: <871rz0gk4z.fsf@mouse.gnus.org> (raw)
In-Reply-To: <57613049-fca3-ba0e-82b1-3ff2e1995da8@gmail.com> (Sebastian Urban's message of "Mon, 24 Jun 2019 18:30:18 +0200")
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
next prev parent reply other threads:[~2019-07-08 23:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 16:30 bug#36361: 'hl-line-range-function' as list of choice Sebastian Urban
2019-07-08 23:51 ` Lars Ingebrigtsen [this message]
2021-10-26 18:48 ` Howard Melman
2021-10-26 19:11 ` Eli Zaretskii
2021-10-26 19:17 ` Howard Melman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871rz0gk4z.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=36361@debbugs.gnu.org \
--cc=mrsebastianurban@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.