unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhiwei Chen <condy0919@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	chenzhiwei03@kuaishou.com, emacs-devel@gnu.org
Subject: Re: Highlight current line when using gud
Date: Sun, 04 Jul 2021 08:12:20 +0800	[thread overview]
Message-ID: <874kdbhr8b.fsf@gmail.com> (raw)
In-Reply-To: <83eechj65u.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Jul 2021 14:39:57 +0300")

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	other threads:[~2021-07-04  0:12 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
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 [this message]
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=874kdbhr8b.fsf@gmail.com \
    --to=condy0919@gmail.com \
    --cc=chenzhiwei03@kuaishou.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).