From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#21500: 24.5; Graphical glitch with display property lines in GUI Emacs Date: Thu, 17 Sep 2015 08:34:16 +0200 Message-ID: <20150917063416.GA597@odonien.fritz.box> References: <83a8sm6s3b.fsf@gnu.org> <20150916203402.GA3145@odonien.fritz.box> <837fnp7id8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1442471725 25054 80.91.229.3 (17 Sep 2015 06:35:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2015 06:35:25 +0000 (UTC) Cc: 21500@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 08:35:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZcSmn-0002rt-1E for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 08:35:13 +0200 Original-Received: from localhost ([::1]:56343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcSmm-0005yJ-9v for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 02:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcSmf-0005rZ-Jy for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 02:35:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcSmc-0005CP-AV for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 02:35:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcSmc-00059G-6N for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 02:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZcSmb-0002GJ-LL for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 02:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Sep 2015 06:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21500-submit@debbugs.gnu.org id=B21500.14424716618643 (code B ref 21500); Thu, 17 Sep 2015 06:35:01 +0000 Original-Received: (at 21500) by debbugs.gnu.org; 17 Sep 2015 06:34:21 +0000 Original-Received: from localhost ([127.0.0.1]:35680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcSlw-0002FK-Uu for submit@debbugs.gnu.org; Thu, 17 Sep 2015 02:34:21 -0400 Original-Received: from mail-wi0-f176.google.com ([209.85.212.176]:38406) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcSlu-0002FA-VZ for 21500@debbugs.gnu.org; Thu, 17 Sep 2015 02:34:19 -0400 Original-Received: by wiclk2 with SMTP id lk2so13440213wic.1 for <21500@debbugs.gnu.org>; Wed, 16 Sep 2015 23:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4ojcFV9anFJlA7wuCcrPOBh/v3nrMGjssTw0kRS8uZs=; b=YJuVMGBVXHKmxjnGjezZujUrub1tClZA4iw2B0pFkrAZmRb/3vBSVULpvtQXdMBP9W QJN1nkAwPDRUW4MNswtaBRrkWNMtvr7HJfJlk1EFEXKjgVrWQkiQRbZFjmuuiVl1bPS0 IrqBSWk8VRn/VwXnJqXW7bL3aTuBlagATV+p4G5xYzCvkkAvotSUwLgUA3TFEKANr/HH alfujsBotvB7wC7uHiq3HQFsnAEKmuj0cgK7JBcbGCrBiCGdK0xTQicA/nvt2WX0djcs 809KSuW/z8+NeY/KKfc0P34YqgmjuPL6wGSUpW4zT+MnExKVh5qRfBbcIKKDaqTSjyni UnuQ== X-Received: by 10.194.120.198 with SMTP id le6mr60036526wjb.133.1442471658031; Wed, 16 Sep 2015 23:34:18 -0700 (PDT) Original-Received: from localhost (dslb-088-078-222-004.088.078.pools.vodafone-ip.de. [88.78.222.4]) by smtp.gmail.com with ESMTPSA id uq5sm1596757wjc.3.2015.09.16.23.34.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 23:34:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <837fnp7id8.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106678 Archived-At: > 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.