[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: |
Fri, 02 Jul 2021 13:01:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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?
Looking at the patch, it looks good to me, but I wonder whether the
`gud-overlay-line' variable should be buffer-local in case there's more
than one gud buffer?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no