all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vasilij Schneidermann <v.schneidermann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21500@debbugs.gnu.org
Subject: bug#21500: 24.5; Graphical glitch with display property lines in GUI Emacs
Date: Thu, 17 Sep 2015 08:34:16 +0200	[thread overview]
Message-ID: <20150917063416.GA597@odonien.fritz.box> (raw)
In-Reply-To: <837fnp7id8.fsf@gnu.org>

> That's the default Emacs implementation of cursor display on GUI
> frames: we erase the character at point, then draw that character
> again with cursor colors (normally, in reverse video).  For
> "white-space" characters, such as TAB and the stretch of white space
> created by the 'space' display property, Emacs by default draws the
> cursor using the width of the font's SPC character.  And that's
> exactly what you saw.

Interesting.  Now that I've checked again, it's indeed that a terminal
frame does not show any reverse video effects at all with the cursor, so
that explains this display oddity.

> Isn't that what you originally expected to see?

I didn't expect anything specific, just that in any case the entire line
is legible.  The difference between the terminal and GUI frame did stump
me.

> I don't understand: how does "invisible" come into play here?  Are you
> talking about faces whose foreground and background are the same color?

Yes, if a face has the same color for fore- and background, it's
practically invisible.  If you've got any more specific term for this
that is different from invisible as in the special property, I'd be
interested in knowing it.

> Yes.  But the face needs to have that as part of its definition.

OK, which face would it be in this case, the cursor or the line face?

> Anyway, I see no relation between what you were wondering about and
> the effect of cursor display that I believe was the trigger for this
> bug report.  If you have questions about face rendering, I suggest to
> ask them on emacs-devel.

Well, I do.  If putting the cursor on a special space has a different
effect in GUI than in textual frames, I'd like to know what's causing it
and whether there is any way of fixing it.

> Can we now close the bug?

I still don't have a tangible solution at hand for fixing this display
glitch.  Altering `x-stretch-cursor` is a workaround, but not as good as
altering, say, the line face to be displayed under every condition by
altering its definition.





  reply	other threads:[~2015-09-17  6:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 19:37 bug#21500: 24.5; Graphical glitch with display property lines in GUI Emacs Vasilij Schneidermann
2015-09-16 20:12 ` Eli Zaretskii
     [not found]   ` <20150916203402.GA3145@odonien.fritz.box>
2015-09-17  4:57     ` Eli Zaretskii
2015-09-17  6:34       ` Vasilij Schneidermann [this message]
2015-09-17  7:05         ` Eli Zaretskii
2015-09-26  8:14           ` Eli Zaretskii
2015-09-26  9:35             ` Vasilij Schneidermann
2015-09-26 10:04               ` Eli Zaretskii
2015-09-26 10:56                 ` Vasilij Schneidermann
2015-09-26 11:02                   ` Eli Zaretskii
2015-09-26 12:17                     ` Vasilij Schneidermann
2015-09-26 12:14                   ` Johan Bockgård
2015-09-26 12:22                     ` Vasilij Schneidermann
2015-09-26 13:33                       ` 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

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

  git send-email \
    --in-reply-to=20150917063416.GA597@odonien.fritz.box \
    --to=v.schneidermann@gmail.com \
    --cc=21500@debbugs.gnu.org \
    --cc=eliz@gnu.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 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.