emacs-devel
[Top][All Lists]
Advanced

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

Re: Highlight current line when using gud


From: Lars Ingebrigtsen
Subject: Re: Highlight current line when using gud
Date: Thu, 01 Jul 2021 13:26:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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



reply via email to

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