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: Zhiwei Chen
Subject: Re: Highlight current line when using gud
Date: Sun, 04 Jul 2021 08:12:20 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Cc: Zhiwei Chen <chenzhiwei03@kuaishou.com>,  Eli Zaretskii <eliz@gnu.org>,
>>   "emacs-devel@gnu.org" <emacs-devel@gnu.org>
>> Date: Fri, 02 Jul 2021 13:01:38 +0200
>> 
>> Zhiwei Chen <condy0919@gmail.com> writes:
>> 
>> > Why do I introduce a new overlay in gud buffer? Because it's used to
>> > show the line where the debugger stops at. The position of the gud
>> > overlay is controlled by the debugger, not by users. So using
>> > hl-line-mode in such a situation is not the proper way.
>> 
>> Hm, I see...
>> 
>> I rarely use gud, and I never use any line-based highlighting, so I
>> don't really have any opinion about this.  Anybody else?
>
> I think this should be an integral part of the overlay-arrow display,
> not an independent add-on.  IOW, I'd like to see it implemented via
> new properties that can be put on variables which are members of
> overlay-arrow-variable-list.
>
>

Ok, let me see how to implement it. BTW, the manual[1] says
overlay-arrow has nothing to do with overlays.

[1]: 
https://www.gnu.org/software/emacs/manual/html_node/elisp/Overlay-Arrow.html

-- 
Zhiwei Chen



reply via email to

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