From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#14542: 24.3.50; Simultaneous use of display and invisible properties Date: Mon, 03 Jun 2013 10:04:51 +0530 Message-ID: <87y5ar4xsk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370234127 6346 80.91.229.3 (3 Jun 2013 04:35:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 04:35:27 +0000 (UTC) To: 14542@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 06:35:27 2013 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 1UjMUQ-0002hy-El for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 06:35:26 +0200 Original-Received: from localhost ([::1]:40677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMUQ-0008FG-2A for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 00:35:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMUH-0008FB-B3 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:35:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjMUC-0006dd-I5 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:35:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMUC-0006d5-Eb for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:35:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjMVy-0004lf-7L for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 04:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14542 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.137023421118283 (code B ref -1); Mon, 03 Jun 2013 04:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 04:36:51 +0000 Original-Received: from localhost ([127.0.0.1]:48359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjMVm-0004kn-Eu for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:36:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54541) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjMVk-0004kQ-NX for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:36:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjMTn-0006IO-Ir for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:34:53 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMTn-0006IE-Fv for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:34:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMTi-00088Q-MJ for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:34:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjMTd-0006Hj-Q2 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:34:42 -0400 Original-Received: from mail-pb0-x22f.google.com ([2607:f8b0:400e:c01::22f]:51571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMTd-0006He-IQ for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:34:37 -0400 Original-Received: by mail-pb0-f47.google.com with SMTP id rr4so5089198pbb.34 for ; Sun, 02 Jun 2013 21:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=P1M8XMFmzk7H7iMDUPxcPMdBxvi6g5s6ysXuya7c+YU=; b=gAgWpZIpidbzpYqj8JcDVDJIxDZKZfmBepqzSFel8kYz6CiXXzg5mG+/tXAlVOCSaR oSKNV+z7R+zHDcQaVZwRGPnPbgXTH4RWx5ofp6FkDK9suTt3YgYDIr1mhVzkBbcJX51C PTSQqF3AWl620FbgXGOoZBB70ZOnhUgZAjPfxdIZA2SWiQIMMoV3O7orSPY5GOXHJV7d mbVkzowMS8hYZ8r2e/JX6W/XA2HqabBK9mzkmBVYxGwfn4vvON3YAraBXkgZhBoz/nZP wcbrt3GRRI/RK5ZsYFt77uJ+nZEZWxhtyJzkmgete2lIjUV2xm7heCF4V1cbSnD9n/Ur Pprg== X-Received: by 10.66.123.72 with SMTP id ly8mr22547040pab.159.1370234076562; Sun, 02 Jun 2013 21:34:36 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.228.116]) by mx.google.com with ESMTPSA id v7sm57246398pbq.32.2013.06.02.21.34.34 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 21:34:35 -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.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:74767 Archived-At: I have a piece of text that has both invisible and display property set. The underlying buffer text is invisible but the display engine displays the overlay string. i.e., In the example below, I can see {org-defkey} in my monitor. The underlying character "1..." etc is hidden. This bug is merely to check whether the above behaviour is as intended or a "unknown" side-effect. I have looked at (info "(elisp) Replacing Specs"). I am not sure whether the 'invisible property counts as a display spec. I think it is worth clarifying the desgin or implementation detail in the Elisp manual. Just in case it matters, the 'display property is added right after (insert ...) operation. The invisible property is added as part of font-lock operation. ,---- (text-properties-at (point)) | (invisible t fontified t display | #("{org-defkey}" 0 12 | (face font-lock-function-name-face))) `---- ,---- (overlays-at (point)) | nil `---- ,---- C-u C-x = | position: 122 of 2707 (4%), column: 4 | character: 1 (displayed as 1) (codepoint 49, #o61, #x31) | preferred charset: ascii (ASCII (ISO646 IRV)) | | There are text properties here: | display [Show] | fontified t | invisible t | | [back] `---- GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-06-03 on debian-6.05 Bzr revision: 112824 rgm@gnu.org-20130602182638-wbn53t13ukjyzxq5 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t