From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#22323: Font fallback causes inconsistent stacking of faces in overlays with invisible property Date: Thu, 7 Jan 2016 11:52:55 -0500 Message-ID: <568E97E7.2030604@live.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wXoXx4Np726S0EDeVb6uBkpggNuhIggmd" X-Trace: ger.gmane.org 1452185665 6226 80.91.229.3 (7 Jan 2016 16:54:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2016 16:54:25 +0000 (UTC) To: 22323@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 07 17:54:13 2016 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 1aHDpC-0004UL-Lp for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jan 2016 17:54:10 +0100 Original-Received: from localhost ([::1]:59502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDpB-0008Kc-Ks for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jan 2016 11:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDp6-0008Ho-NL for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:54:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHDp4-0000xG-0T for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:54:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDp3-0000xC-U4 for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aHDp3-0003fg-QS for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jan 2016 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22323 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.145218559914038 (code B ref -1); Thu, 07 Jan 2016 16:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jan 2016 16:53:19 +0000 Original-Received: from localhost ([127.0.0.1]:41880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHDoN-0003eL-4U for submit@debbugs.gnu.org; Thu, 07 Jan 2016 11:53:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36562) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHDoL-0003e9-99 for submit@debbugs.gnu.org; Thu, 07 Jan 2016 11:53:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHDoF-0000hV-5V for submit@debbugs.gnu.org; Thu, 07 Jan 2016 11:53:11 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDoF-0000hR-2E for submit@debbugs.gnu.org; Thu, 07 Jan 2016 11:53:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDoE-0007lx-4i for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:53:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHDo9-0000gT-Ie for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:53:10 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.75]:58114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDo9-0000gP-9J for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 11:53:05 -0500 Original-Received: from [18.189.87.242] ([18.189.87.242]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MQODc-1aeQXz3Zb2-00TpHY for ; Thu, 07 Jan 2016 17:53:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 X-Provags-ID: V03:K0:JwBqh2ZYkabynkVQpjmcQqhzkSBTROlRjdGwDExd2kjl0gDQr1R vCQ6nnVM8hEG1OQXkOgWo2R27/TrlP6P86XbDbN3QwrlNjln9Ot3JNmH9g9cvE/QekUzgBE gM3ZQvgUnlBe4JmCJgRR63mvZpbpYxz8bsqiANSxwo9Mlw5m00h84aD6jUYfFKNag+rLGtO 23O7qRJLgtkeZxEeruKYw== X-UI-Out-Filterresults: notjunk:1;V01:K0:I+h0eNeGWM4=:89TMBLE1oRfvxDgRWu+tYx 5z1vP98MuS4UjkBE/Spw1BSb2zdyWWyYRbsCo/LLomPCBRq6QXH+mziou+VimAwsyFghjo0sv t+dfQ5b0O2s4WktwQc4YQVWqSr/HHgfZxE8SQyDtsKfoib00c3fa2ViuVHyRvJswwH9VXcTyt ZyxZNR+4sjrewbVsZKAUpOp0/hFqjbsnxf+Z/prNtAr70+jN/FSRZ+3VuhoSY0S01WmqL/KXv k3T41GgajA761GiNUWsr2WHz6EKQbLYePG19Yb2j3Fzb2vwLqTbr/+q9w/mwQ8bnFinDAcGVO w7O/Aw1fXMp01tPPPHrNWR0Y4TqGQcrID7RVKEIaK8R2fNXFmPVv8OV8+7GDtQna4AgD1dYjh P9uB2C8ZEN661hNB0Q9tUwdQ7nvdjt5HQbvRu1pgmH9EA78AjgXoXKY84xHoVIy4BB0747+qQ 4x/R/2k6oVvZCzBCZWpJo2L5ir+qu8Fz2jTIobuYapZpmOb7fAia9T2HQkBnnGANKmRTkjEpy nveBb/lWPwgywdWOE6Of8jeCUf8dInbGW6TsQmT9aE7DQYLrCFBStWdUNxMWFlsKweSUWJ6p8 QJ+IuDX84u5l8/oMyue5blKEQZR4s2oieiqR1dCdo8lufhV0Zzhr1iq+CBZNEybArDxppLEiu 9sjpHIYPcaf1bDSSw0LC8hN7HLS/TSmUkVBtNeICuDO5AXsJc2z2UBsQ7UjnRyowMljo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:111325 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wXoXx4Np726S0EDeVb6uBkpggNuhIggmd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, Font fallback seems to break face stacking for invisible overlays: This works fine: (with-current-buffer (get-buffer-create "No prettification: ellispis is h= ighlighed") (erase-buffer) (fundamental-mode) (add-to-invisibility-spec '(outline . t)) (insert "abc!!def!!ghi") (let ((ov (make-overlay 6 9))) (overlay-put ov 'invisible 'outline)) (let ((ov (make-overlay (point-min) (point-max)))) (overlay-put ov 'face 'region)) (pop-to-buffer (current-buffer))) This doesn't work (assuming that =E2=84=99 is not in your usual font): (with-current-buffer (get-buffer-create "No prettification: ellispis is h= ighlighed") (erase-buffer) (fundamental-mode) (add-to-invisibility-spec '(outline . t)) (insert "abc=E2=84=99=E2=84=99def=E2=84=99=E2=84=99ghi") (let ((ov (make-overlay 6 9))) (overlay-put ov 'invisible 'outline)) (let ((ov (make-overlay (point-min) (point-max)))) (overlay-put ov 'face 'region)) (pop-to-buffer (current-buffer))) I came across this while using prettify-symbols-mode: (with-current-buffer (get-buffer-create "With prettification to common ch= aracter: ellispis is highlighed") (erase-buffer) (fundamental-mode) (add-to-invisibility-spec '(outline . t)) (insert "abc!!def!!ghi") (setq prettify-symbols-alist '(("!!" . ?=E2=84=99))) (prettify-symbols-mode) (let ((ov (make-overlay 6 9))) (overlay-put ov 'invisible 'outline)) (let ((ov (make-overlay (point-min) (point-max)))) (overlay-put ov 'face 'region)) (pop-to-buffer (current-buffer))) Cheers, Cl=C3=A9ment. --wXoXx4Np726S0EDeVb6uBkpggNuhIggmd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJWjpfuAAoJEPqg+cTm90wjvSgQALxTG469tjmEfkXVDWgVsBxE rQNVLkqHbjqqliOMy0GqUyP93CW7KDxIUBdlX0w8V5I5QfmD5WbYyoPrME/L7L/F YqFyqodTBgxkvF5lWIYh37vs498NJLdyk3VI5X0R8w4/0B3gEna4ARdg0S//zE+2 akuHkQInnW4UTKV6eL8V94zyJMXF4yAnLlzHPVnQ16oR/cYV5StAqcPMDDyxw+ab h45XypC6VsYl7KfJDv+uHApFMmKrh2yfpbVK6ZUXylIlER3rTCEwTjNldJLkaaKU Nw41MN+92GUV5yFQzYxfVsJ6q+dPVyirnHboDPOURmmJoqyN1ru+fRciXciMsU5J ff+ntxXrCs6x7wsbMNxt3vA2RvtWY8m0PkLloB4lvDfDAAmjsn43ZcPfzNT7AblW v5adCjbQd5ZUduSCRTaRqhjw2TMSlQiHumKD7+T8LywCwjdYty5DRWVO4CbD/ePL b616SlkMR483EH7+cbfj7B4q6Dvl+wPvOQar2SU72wW0O5ADBR+IFMlgHCg0LAzk 5hX5fy1EqsB96LYzjymUwPZgc4ODmR9KpoGHqsNejLRo6btyWDkI7mgZ/8kHZcbr XibnXFJQpUZFuAkck/vPXmmXpEwXchzWwabznmOfeZHsqEN9lCermwQ4hsNobE7x cO4Q+VCdF8leQ1YRMhfm =GJqE -----END PGP SIGNATURE----- --wXoXx4Np726S0EDeVb6uBkpggNuhIggmd--