From: Lars Ingebrigtsen <larsi@gnus.org>
To: Zhiwei Chen <chenzhiwei03@kuaishou.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
"condy0919@gmail.com" <condy0919@gmail.com>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Highlight current line when using gud
Date: Thu, 01 Jul 2021 13:26:45 +0200 [thread overview]
Message-ID: <87y2aq1dhm.fsf@gnus.org> (raw)
In-Reply-To: <62662FDA-8D67-459B-8F03-662010FB96EB@kuaishou.com> (Zhiwei Chen's message of "Wed, 30 Jun 2021 14:26:33 +0000")
Zhiwei Chen <chenzhiwei03@kuaishou.com> writes:
> Personally, hl-line-mode is used to show the approximate position of
> my point so the face defined in doom-one is fine to me. It needn’t to
> be too contrast as it hurts my eyes in daily use.
>
> But when debugging, I need to know where the line as if I step over the
> interesting line I will blame myself. Debugging is more serious than
> coding/writing, so I would like to
> make the line highlighted/contrast.
So, Doom has customised the hi-line face to be less perceptible, so you
want to introduce a new highlighting mechanism to make it more
perceptible again, but only in gud buffers?
This can be done with `face-remapping-alist' -- it's a buffer-local
variable that's used to display a different face in certain buffers.
Would using that variable in gud buffers solve your problems?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-07-01 11:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 12:43 Highlight current line when using gud Zhiwei Chen
2021-06-29 20:00 ` Condy Chen
2021-06-30 11:54 ` Lars Ingebrigtsen
2021-06-30 12:27 ` Eli Zaretskii
2021-06-30 13:07 ` Zhiwei Chen
2021-06-30 12:53 ` Zhiwei Chen
2021-06-30 12:59 ` Zhiwei Chen
2021-06-30 13:18 ` Eli Zaretskii
2021-06-30 13:17 ` Eli Zaretskii
2021-06-30 14:26 ` Zhiwei Chen
2021-06-30 15:50 ` Eli Zaretskii
2021-07-01 3:17 ` Zhiwei Chen
2021-07-01 11:26 ` Lars Ingebrigtsen [this message]
2021-07-01 11:35 ` Zhiwei Chen
2021-07-01 17:27 ` Condy Chen
2021-07-01 18:25 ` Zhiwei Chen
2021-07-02 11:01 ` Lars Ingebrigtsen
2021-07-02 11:39 ` Eli Zaretskii
2021-07-04 0:12 ` Zhiwei Chen
2021-07-04 4:30 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2aq1dhm.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=chenzhiwei03@kuaishou.com \
--cc=condy0919@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).