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: Wed, 16 Sep 2015 21:37:06 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c131368026f6051fe26cc3 X-Trace: ger.gmane.org 1442432301 4063 80.91.229.3 (16 Sep 2015 19:38:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2015 19:38:21 +0000 (UTC) To: 21500@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 16 21:38:10 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 1ZcIWt-0002fR-Lw for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 21:38:07 +0200 Original-Received: from localhost ([::1]:52909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIWt-0006EC-EQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 15:38:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIWp-0006E3-Oj for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcIWo-0007pB-D6 for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:38:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIWo-0007p6-8j for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZcIWo-0007s2-4o for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Sep 2015 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144243223830182 (code B ref -1); Wed, 16 Sep 2015 19:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Sep 2015 19:37:18 +0000 Original-Received: from localhost ([127.0.0.1]:35141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcIW5-0007qh-Po for submit@debbugs.gnu.org; Wed, 16 Sep 2015 15:37:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37282) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcIW2-0007qX-3P for submit@debbugs.gnu.org; Wed, 16 Sep 2015 15:37:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcIVz-0007Vy-Se for submit@debbugs.gnu.org; Wed, 16 Sep 2015 15:37:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIVz-0007Vu-PX for submit@debbugs.gnu.org; Wed, 16 Sep 2015 15:37:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIVy-00068V-3B for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:37:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcIVw-0007Sf-GD for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:37:10 -0400 Original-Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:35291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcIVw-0007SX-6A for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 15:37:08 -0400 Original-Received: by qgt47 with SMTP id 47so180867668qgt.2 for ; Wed, 16 Sep 2015 12:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=x4ajac7trQWeWZaAGMGW21ESq5fTubP9B2PuALsyrc8=; b=QwCdwNd/K/MEek8ZExIduNCBZFjDtzC0ExMzwq2P2esdkc+w2zH6FlbJcwaRKszH3E dw0TxzrrSQCliSaSpRo0IUuZnlEpytsGIPXy8fyBROx+YGRYQx+UilS38VmcDuHJEaIv KxGeIV1zBryd5o3JADuRXbGyxJg1gp+Uu08kn2UyCz73bGgc9+Ruht6Seu3JYZVgPqb1 E6gfAJ2g5eS8zCb/ld7Hk3Z0HJUX5OjoKGhGVzSMroQjxfuiybPTvMEd0z3kfAWfTt6n e91rU4yrVkTijEw/Ha/OlPuwJU3RXLoOM7Fxf4vDwBUhNk4kMC2Eg6BRbSJ0+28zn3ly N4Sg== X-Received: by 10.140.42.104 with SMTP id b95mr44729452qga.78.1442432226958; Wed, 16 Sep 2015 12:37:06 -0700 (PDT) Original-Received: by 10.55.43.78 with HTTP; Wed, 16 Sep 2015 12:37:06 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:106657 Archived-At: --001a11c131368026f6051fe26cc3 Content-Type: text/plain; charset=UTF-8 (defface my-line '((((type graphic)) :inherit font-lock-comment-face :strike-through t) (((type tty)) :inherit font-lock-comment-face :underline t)) "Line face") (defun my-line-glitch-repro () (interactive) (with-current-buffer (get-buffer-create "*foobar*") (insert "\n" (propertize " " 'face 'my-line 'display '(space :width 80)) "\n") (goto-char (point-min))) (pop-to-buffer-same-window "*foobar*")) Try M-x my-line-glitch-repro in both a textual and graphical session, then put point on the space displayed as a 80 characters wide line. In the graphical instance the line will be hidden (with the beginning being displayed *in* the cursor's rectangle in reverse video), in textual instances it's still visible (assuming your terminal supports underlining). In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 70992 6921) (symbols 48 17559 0) (miscs 40 35 138) (strings 32 9053 4649) (string-bytes 1 248607) (vectors 16 8908) (vector-slots 8 383094 18351) (floats 8 63 260) (intervals 56 177 6) (buffers 960 11) (heap 1024 32037 932)) --001a11c131368026f6051fe26cc3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

(defface my-line
=C2=A0 '((((type graphic)) :in= herit font-lock-comment-face :strike-through t)
=C2=A0 =C2=A0 (((type tt= y)) :inherit font-lock-comment-face :underline t))
=C2=A0 "Line fac= e")

(defun my-line-glitch-repro ()
=C2=A0 (interactive)
= =C2=A0 (with-current-buffer (get-buffer-create "*foobar*")
=C2= =A0 =C2=A0 (insert "\n"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (propertize " "
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'face 'my-line
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 'display '(space :width 80))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "\n")
=C2=A0 =C2=A0 (goto-char (point-min)))
=C2= =A0 (pop-to-buffer-same-window "*foobar*"))

Try M-x my-lin= e-glitch-repro in both a textual and graphical session,
then put point o= n the space displayed as a 80 characters wide line.=C2=A0 In
the graphic= al instance the line will be hidden (with the beginning being
displayed = *in* the cursor's rectangle in reverse video), in textual
instances = it's still visible (assuming your terminal supports
underlining).


In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.= 16.2)
=C2=A0of 2015-04-20 on bitz= er.hoetzel.info
Windowing system distributor `The X.Org Foundation&#= 39;, version 11.0.11702000
System Description: Arch Linux

Configu= red using:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/etc --libexe= cdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3 --w= ith-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -= fstack-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4' CPPFLAG= S=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as-nee= ded,-z,relro'

Important settings:
=C2=A0 value of $LANG: en_U= S.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp = Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-ba= r-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
= =C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink= -cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryptio= n-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t<= br>=C2=A0 transient-mark-mode: t

Recent messages:
For information= about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows= :
None found.

Features:
(shadow sort gnus-util mail-extr emacs= bug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies = mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rf= c2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-dat= e tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x= -win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list n= ewcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer s= elect scroll-bar
mouse jit-lock font-lock syntax facemenu font-core fram= e cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet la= o korean
japanese hebrew greek romanian slovak czech european ethiopic i= ndian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abb= rev
minibuffer nadvice loaddefs button faces cus-face macroexp files
= text-properties overlay sha1 md5 base64 format env code-pages mule
custo= m widget hashtable-print-readable backquote make-network-process
dbusbin= d gfilenotify dynamic-setting system-font-setting
font-render-setting mo= ve-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
(= (conses 16 70992 6921)
=C2=A0(symbols 48 17559 0)
=C2=A0(miscs 40 35 = 138)
=C2=A0(strings 32 9053 4649)
=C2=A0(string-bytes 1 248607)
= =C2=A0(vectors 16 8908)
=C2=A0(vector-slots 8 383094 18351)
=C2=A0(fl= oats 8 63 260)
=C2=A0(intervals 56 177 6)
=C2=A0(buffers 960 11)
= =C2=A0(heap 1024 32037 932))
--001a11c131368026f6051fe26cc3--