From unknown Sun Jun 22 17:18:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25856: 25.1; after-string of overlay may not be displayed Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Feb 2017 06:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25856@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148791716022459 (code B ref -1); Fri, 24 Feb 2017 06:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2017 06:19:20 +0000 Received: from localhost ([127.0.0.1]:53463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch9Ds-0005qA-4J for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch9Dq-0005py-JY for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch9Dk-0005EV-7R for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ch9Dk-0005ER-42 for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch9Di-0003NM-QC for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch9De-0005EE-PI for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:10 -0500 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:34041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch9De-0005EA-JQ for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:06 -0500 Received: by mail-pg0-x22c.google.com with SMTP id 1so7285375pgi.1 for ; Thu, 23 Feb 2017 22:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=BtbJCBIo3fNKbIwCZbPx62+E+F6yHTI7QFdHOqDwDHo=; b=dJGEx9c6swqDkJrSwm6B2zTdQU1jxRy+Zt+FMVfRGi6U4zcJ0HBhdzRMYr85y9f3Uc a5ZOgZYbdj3zC5TxUJnQMeIU7EmXBd7GW9EB38kkM1puFwqUh/wyUVjUFBEp60kHqSuB lqIe64zNJR48c+zFJbFREUboIAhWczgQ9J8I3HqVzQeBtxEv5d5hKU6R4TnoQZ8mE5O8 zTiWVKpRPvc5XqUD1u9AGoyXYN/R7wpg8abmnN1NTWxjqnZuwCqvxvIATZstHyC+FDfI jkiCN2AWwSY9Jis90eyoT1BnrSTCP/G0kEsXOiguLIxOvOMWZq/apA0PkYKVD5OFWU9n RcUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=BtbJCBIo3fNKbIwCZbPx62+E+F6yHTI7QFdHOqDwDHo=; b=QXW451TV+DnBMGE/T4ZTA1WGDYxJWUjVi7z1rjAv30V+4opDePCn/7nKsmgfPD7AAi 9SwpASxPoHh624j/AWos732SeztFIqjPwF9zLCJ+LXtdQtRdmP+2J/Cm7RSCzCkjLFhO YlZc6GgKKFudTFa2cMkQm3tWZjcbGf9Hvva8V6d81UD7MLR0EM1NOczm1AaIphsRr9Mc ouaO/mQSUsju2QaBlowBY8/7lApudxHY9vcpjBL7JZoYq18Gp6boV+FNfe5OVjc67Wth NNuqdwok8lBTHUrRg9Rt99fwO6e0HowYs0gvWM+uD+4Jv5zHzValzMnTXonmbfOGUBgG vi8g== X-Gm-Message-State: AMke39kg76lEBlppfahyX9s/2ijpWPdlISQx/Tjpi0L5bAOQ7ovBuAD6R9jfUkJB+FFHOg== X-Received: by 10.98.32.7 with SMTP id g7mr1413879pfg.119.1487917145395; Thu, 23 Feb 2017 22:19:05 -0800 (PST) Received: from pnut-PC (east24-p58.eaccess.hi-ho.ne.jp. [218.42.167.59]) by smtp.gmail.com with ESMTPSA id s26sm13011697pge.33.2017.02.23.22.19.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Feb 2017 22:19:04 -0800 (PST) From: ynyaaa@gmail.com Date: Fri, 24 Feb 2017 15:19:06 +0900 Message-ID: <8760k0nmat.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Evaluating the form below, I expect to see 4 . It displays 3 and 1 . If before-string is not specified, 4 are displayed. (dotimes (i 4) (let ((p (point)) ol) (insert "\n") (setq ol (make-overlay (1+ p) (- (point) 2))) (cond ((= i 0) (overlay-put ol 'display "")) ((= i 1) (overlay-put ol 'invisible t)) ((= i 2) (put-text-property (1+ p) (- (point) 2) 'display "")) ((= i 3) (put-text-property (1+ p) (- (point) 2) 'invisible t))) (overlay-put ol 'before-string "Before") (overlay-put ol 'after-string "After") (overlay-put ol 'evaporate t))) In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-18 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.0.6002 Configured using: 'configure --host=i686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-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: Auto-saving...done Mark set Quit Mark set [2 times] Sending... Mark set [2 times] Sending via mail... Sending email Sending email done Sending...done Load-path shadows: None found. Features: (network-stream nsm starttls tls gnutls mailalias smtpmail auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv misearch multi-isearch pp shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 108615 23445) (symbols 32 21061 0) (miscs 32 97 278) (strings 16 20086 4799) (string-bytes 1 573995) (vectors 8 15202) (vector-slots 4 543608 13164) (floats 8 208 501) (intervals 28 853 85) (buffers 520 25)) From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 03:34:55 2017 Received: (at control) by debbugs.gnu.org; 24 Feb 2017 08:34:55 +0000 Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chBL5-0000aS-Cq for submit@debbugs.gnu.org; Fri, 24 Feb 2017 03:34:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chBL3-0000aF-Qx for control@debbugs.gnu.org; Fri, 24 Feb 2017 03:34:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chBKv-0001RM-K2 for control@debbugs.gnu.org; Fri, 24 Feb 2017 03:34:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chBKv-0001RI-H7; Fri, 24 Feb 2017 03:34:45 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1252 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chBKu-0007Y8-LX; Fri, 24 Feb 2017 03:34:45 -0500 Date: Fri, 24 Feb 2017 10:34:17 +0200 Message-Id: <83r32ornqu.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <8760k0nmat.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#25856: 25.1; after-string of overlay may not be displayed References: <8760k0nmat.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control Cc: 25856-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 25856 notabug thanks > From: ynyaaa@gmail.com > Date: Fri, 24 Feb 2017 15:19:06 +0900 > > Evaluating the form below, I expect to see 4 . > It displays 3 and 1 . > If before-string is not specified, 4 are displayed. > > (dotimes (i 4) > (let ((p (point)) ol) > (insert "\n") > (setq ol (make-overlay (1+ p) (- (point) 2))) > (cond ((= i 0) (overlay-put ol 'display "")) > ((= i 1) (overlay-put ol 'invisible t)) > ((= i 2) (put-text-property (1+ p) (- (point) 2) 'display "")) > ((= i 3) (put-text-property (1+ p) (- (point) 2) 'invisible t))) > (overlay-put ol 'before-string "Before") > (overlay-put ol 'after-string "After") > (overlay-put ol 'evaporate t))) I don't see any bug here. You are making text disappear using different methods, and each one has its implications wrt before- and after-string. From unknown Sun Jun 22 17:18:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ynyaaa@gmail.com Subject: bug#25856: closed (Re: bug#25856: 25.1; after-string of overlay may not be displayed) Message-ID: References: <83r32ornqu.fsf@gnu.org> <8760k0nmat.fsf@gmail.com> X-Gnu-PR-Message: they-closed 25856 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 25856@debbugs.gnu.org Date: Fri, 24 Feb 2017 08:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1487925362-2387-1" This is a multi-part message in MIME format... ------------=_1487925362-2387-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25856: 25.1; after-string of overlay may not be displayed which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25856@debbugs.gnu.org. --=20 25856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25856 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1487925362-2387-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25856-done) by debbugs.gnu.org; 24 Feb 2017 08:35:04 +0000 Received: from localhost ([127.0.0.1]:53524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chBLE-0000bQ-Ix for submit@debbugs.gnu.org; Fri, 24 Feb 2017 03:35:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chBLC-0000aa-Ap for 25856-done@debbugs.gnu.org; Fri, 24 Feb 2017 03:35:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chBL4-0001S4-6M for 25856-done@debbugs.gnu.org; Fri, 24 Feb 2017 03:34:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chBKv-0001RI-H7; Fri, 24 Feb 2017 03:34:45 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1252 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chBKu-0007Y8-LX; Fri, 24 Feb 2017 03:34:45 -0500 Date: Fri, 24 Feb 2017 10:34:17 +0200 Message-Id: <83r32ornqu.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <8760k0nmat.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#25856: 25.1; after-string of overlay may not be displayed References: <8760k0nmat.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25856-done Cc: 25856-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 25856 notabug thanks > From: ynyaaa@gmail.com > Date: Fri, 24 Feb 2017 15:19:06 +0900 > > Evaluating the form below, I expect to see 4 . > It displays 3 and 1 . > If before-string is not specified, 4 are displayed. > > (dotimes (i 4) > (let ((p (point)) ol) > (insert "\n") > (setq ol (make-overlay (1+ p) (- (point) 2))) > (cond ((= i 0) (overlay-put ol 'display "")) > ((= i 1) (overlay-put ol 'invisible t)) > ((= i 2) (put-text-property (1+ p) (- (point) 2) 'display "")) > ((= i 3) (put-text-property (1+ p) (- (point) 2) 'invisible t))) > (overlay-put ol 'before-string "Before") > (overlay-put ol 'after-string "After") > (overlay-put ol 'evaporate t))) I don't see any bug here. You are making text disappear using different methods, and each one has its implications wrt before- and after-string. ------------=_1487925362-2387-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Feb 2017 06:19:20 +0000 Received: from localhost ([127.0.0.1]:53463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch9Ds-0005qA-4J for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch9Dq-0005py-JY for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch9Dk-0005EV-7R for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ch9Dk-0005ER-42 for submit@debbugs.gnu.org; Fri, 24 Feb 2017 01:19:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch9Di-0003NM-QC for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch9De-0005EE-PI for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:10 -0500 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:34041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch9De-0005EA-JQ for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:19:06 -0500 Received: by mail-pg0-x22c.google.com with SMTP id 1so7285375pgi.1 for ; Thu, 23 Feb 2017 22:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=BtbJCBIo3fNKbIwCZbPx62+E+F6yHTI7QFdHOqDwDHo=; b=dJGEx9c6swqDkJrSwm6B2zTdQU1jxRy+Zt+FMVfRGi6U4zcJ0HBhdzRMYr85y9f3Uc a5ZOgZYbdj3zC5TxUJnQMeIU7EmXBd7GW9EB38kkM1puFwqUh/wyUVjUFBEp60kHqSuB lqIe64zNJR48c+zFJbFREUboIAhWczgQ9J8I3HqVzQeBtxEv5d5hKU6R4TnoQZ8mE5O8 zTiWVKpRPvc5XqUD1u9AGoyXYN/R7wpg8abmnN1NTWxjqnZuwCqvxvIATZstHyC+FDfI jkiCN2AWwSY9Jis90eyoT1BnrSTCP/G0kEsXOiguLIxOvOMWZq/apA0PkYKVD5OFWU9n RcUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=BtbJCBIo3fNKbIwCZbPx62+E+F6yHTI7QFdHOqDwDHo=; b=QXW451TV+DnBMGE/T4ZTA1WGDYxJWUjVi7z1rjAv30V+4opDePCn/7nKsmgfPD7AAi 9SwpASxPoHh624j/AWos732SeztFIqjPwF9zLCJ+LXtdQtRdmP+2J/Cm7RSCzCkjLFhO YlZc6GgKKFudTFa2cMkQm3tWZjcbGf9Hvva8V6d81UD7MLR0EM1NOczm1AaIphsRr9Mc ouaO/mQSUsju2QaBlowBY8/7lApudxHY9vcpjBL7JZoYq18Gp6boV+FNfe5OVjc67Wth NNuqdwok8lBTHUrRg9Rt99fwO6e0HowYs0gvWM+uD+4Jv5zHzValzMnTXonmbfOGUBgG vi8g== X-Gm-Message-State: AMke39kg76lEBlppfahyX9s/2ijpWPdlISQx/Tjpi0L5bAOQ7ovBuAD6R9jfUkJB+FFHOg== X-Received: by 10.98.32.7 with SMTP id g7mr1413879pfg.119.1487917145395; Thu, 23 Feb 2017 22:19:05 -0800 (PST) Received: from pnut-PC (east24-p58.eaccess.hi-ho.ne.jp. [218.42.167.59]) by smtp.gmail.com with ESMTPSA id s26sm13011697pge.33.2017.02.23.22.19.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Feb 2017 22:19:04 -0800 (PST) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 25.1; after-string of overlay may not be displayed Date: Fri, 24 Feb 2017 15:19:06 +0900 Message-ID: <8760k0nmat.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Evaluating the form below, I expect to see 4 . It displays 3 and 1 . If before-string is not specified, 4 are displayed. (dotimes (i 4) (let ((p (point)) ol) (insert "\n") (setq ol (make-overlay (1+ p) (- (point) 2))) (cond ((= i 0) (overlay-put ol 'display "")) ((= i 1) (overlay-put ol 'invisible t)) ((= i 2) (put-text-property (1+ p) (- (point) 2) 'display "")) ((= i 3) (put-text-property (1+ p) (- (point) 2) 'invisible t))) (overlay-put ol 'before-string "Before") (overlay-put ol 'after-string "After") (overlay-put ol 'evaporate t))) In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-18 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.0.6002 Configured using: 'configure --host=i686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-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: Auto-saving...done Mark set Quit Mark set [2 times] Sending... Mark set [2 times] Sending via mail... Sending email Sending email done Sending...done Load-path shadows: None found. Features: (network-stream nsm starttls tls gnutls mailalias smtpmail auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv misearch multi-isearch pp shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 108615 23445) (symbols 32 21061 0) (miscs 32 97 278) (strings 16 20086 4799) (string-bytes 1 573995) (vectors 8 15202) (vector-slots 4 543608 13164) (floats 8 208 501) (intervals 28 853 85) (buffers 520 25)) ------------=_1487925362-2387-1-- From unknown Sun Jun 22 17:18:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25856: 25.1; after-string of overlay may not be displayed References: <8760k0nmat.fsf@gmail.com> Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Feb 2017 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Eli Zaretskii Cc: 25856-done@debbugs.gnu.org Received: via spool by 25856-done@debbugs.gnu.org id=D25856.148795031420627 (code D ref 25856); Fri, 24 Feb 2017 15:32:02 +0000 Received: (at 25856-done) by debbugs.gnu.org; 24 Feb 2017 15:31:54 +0000 Received: from localhost ([127.0.0.1]:54843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chHqb-0005Md-To for submit@debbugs.gnu.org; Fri, 24 Feb 2017 10:31:54 -0500 Received: from mail-pg0-f49.google.com ([74.125.83.49]:34394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chHqa-0005MQ-U7 for 25856-done@debbugs.gnu.org; Fri, 24 Feb 2017 10:31:53 -0500 Received: by mail-pg0-f49.google.com with SMTP id 1so12730365pgi.1 for <25856-done@debbugs.gnu.org>; Fri, 24 Feb 2017 07:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=se5GOv+nEN1GnvnFg+Ta/tCsfkyApsMswLgSRftLciY=; b=MnSwoYdnNTU2+hWAGJcfuDX+/uACTr2i3EYapK12bvKOHpyCFdHihp87q7ErvB/8Rw nXf90NHBSnPspsT4r2EWYE9wMV9AMA6pUgUCY3GjC8VeOnl2zRrliwDuJaMVIMve4laX NU7AjmaVQWk4QxLO9eJrBd8nTKXatKCqjWI555YWsNkg75czpQKIkiSONCtbqkC9ASz2 8xosgudHagVXv53p1dmJYnIhk7PRC+uCQ7IAooPZoDVMVAxWRkIi/wMx2dp3XoKRcoS9 KQNJlD8o8gfnDx9/3AcatBbOnR7upsj55yDBRCkPPexKxoUQkWNqkjlokFcdkE8kQBC2 IKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=se5GOv+nEN1GnvnFg+Ta/tCsfkyApsMswLgSRftLciY=; b=HvFc8CPYY7DhMIsddWLz04ZeAzOPTiIbzapDBVG7rxtPbFh4aGvIosPEvdPTK+3+h1 euOE37nIoWVErZ+/qMdi9gxtgUz/8QxfFu70iunMXatRdF4U2tEUOwHaskQ/1OhKSzGP NyQ9R+J0+Ad6vmCvN1+FJXm0t/e1GvowPP+sCqIwnr9LCxYA/Q0MTrEzeN/LQo5GUK1V 6NbFjd0CTWSUrWteBsdDBAUaUBfigRcX9PGWw6WEbmpef9W5miRGex3k5Vtu39Oi6S0a JRQObYDVhux6ouzXqXQcNuGqduhXm50QwUSE6Olr+c5uSuSD0CijA3aexsJYKCfRB2r4 MI5A== X-Gm-Message-State: AMke39nPnCopyxCKorkhvRKpf03zT/OjyUON4XhDQP3DqNJmxGGeAiDDrlB/5Drvf5r+EQ== X-Received: by 10.99.104.133 with SMTP id d127mr4243825pgc.52.1487950307090; Fri, 24 Feb 2017 07:31:47 -0800 (PST) Received: from pnut-PC (east24-p58.eaccess.hi-ho.ne.jp. [218.42.167.59]) by smtp.gmail.com with ESMTPSA id g78sm3218753pfe.5.2017.02.24.07.31.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Feb 2017 07:31:46 -0800 (PST) From: ynyaaa@gmail.com In-Reply-To: <83r32ornqu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Feb 2017 10:34:17 +0200") Date: Sat, 25 Feb 2017 00:31:50 +0900 Message-ID: <874lzjhaft.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Eli Zaretskii writes: > I don't see any bug here. You are making text disappear using > different methods, and each one has its implications wrt before- and > after-string. I don't understand why the existence of before-string affects whether after-string is displayed or not. From unknown Sun Jun 22 17:18:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25856: 25.1; after-string of overlay may not be displayed Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Feb 2017 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: ynyaaa@gmail.com Cc: 25856@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 25856-submit@debbugs.gnu.org id=B25856.148812474112786 (code B ref 25856); Sun, 26 Feb 2017 15:59:02 +0000 Received: (at 25856) by debbugs.gnu.org; 26 Feb 2017 15:59:01 +0000 Received: from localhost ([127.0.0.1]:56933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ci1Dx-0003KA-A9 for submit@debbugs.gnu.org; Sun, 26 Feb 2017 10:59:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ci1Dw-0003Jv-Fa for 25856@debbugs.gnu.org; Sun, 26 Feb 2017 10:59:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci1Do-0004Rw-3D for 25856@debbugs.gnu.org; Sun, 26 Feb 2017 10:58:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci1Do-0004Rs-0G; Sun, 26 Feb 2017 10:58:52 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2032 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ci1Dn-0005uh-8m; Sun, 26 Feb 2017 10:58:51 -0500 Date: Sun, 26 Feb 2017 17:58:31 +0200 Message-Id: <83a899q6zc.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <874lzjhaft.fsf@gmail.com> (ynyaaa@gmail.com) References: <874lzjhaft.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: ynyaaa@gmail.com > Cc: 25856-done@debbugs.gnu.org > Date: Sat, 25 Feb 2017 00:31:50 +0900 > > I don't understand why the existence of before-string affects > whether after-string is displayed or not. Ah, that... Right, fixed.