all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 65121@debbugs.gnu.org
Subject: bug#65121: 30.0.50; Text ``icons'' in margins receive region face
Date: Mon, 07 Aug 2023 16:17:37 +0300	[thread overview]
Message-ID: <83r0ofng9a.fsf@gnu.org> (raw)
In-Reply-To: <87fs4v0zsm.fsf@yahoo.com> (message from Po Lu on Mon, 07 Aug 2023 21:04:09 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Cc: 65121@debbugs.gnu.org
> Date: Mon, 07 Aug 2023 21:04:09 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I see this, both on GNU/Linux and on MS-Windows in the -nw session,
> > but I don't think this is a bug.
> 
> This doesn't happen on X frames.

It does if you customize icon-preferences to use only 'text'.  The
default icon on GUI frames is an SVG image, which defines its own
background color, so the region-face background doesn't show.

> > This I cannot reproduce on MS-Windows.  (I don't have a GNU/Linux
> > system with a mouse-capable TTY, so I cannot try there.)  Or maybe I
> > don't understand what you mean by "link on a line that contains such
> > an icon"?  By "links" do you mean symbols quoted 'like this'?
> 
> Yes.  Perhaps this bug is specific to the MS-DOS build; msdos.c's
> variant of tty_draw_row_with_mouse_face seems to lack special treatment
> for the margin area that is present in term.c.

Could be.  Patches welcome.

> > Strangely, not all of the links are highlighted with mouse-face, only
> > some.  And I cannot understand what makes different instances of a
> > link behave differently.
> 
> Or maybe we are witnessing different manifestations of the same bug.

You mean, you see all of 'quoted' symbols show as links on GUI frames?





  reply	other threads:[~2023-08-07 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87sf8v1bae.fsf.ref@yahoo.com>
2023-08-07  8:55 ` bug#65121: 30.0.50; Text ``icons'' in margins receive region face Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-07 12:57   ` Eli Zaretskii
2023-08-07 13:04     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-07 13:17       ` Eli Zaretskii [this message]
2023-08-07 13:21         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0ofng9a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65121@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.