From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#25856: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487917216 21350 195.159.176.226 (24 Feb 2017 06:20:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2017 06:20:16 +0000 (UTC) To: 25856@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 24 07:20:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch9Ed-0004kA-V6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2017 07:20:08 +0100 Original-Received: from localhost ([::1]:34953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch9Ej-0003RI-J8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2017 01:20:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch9Eb-0003PY-UI for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:20:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch9EX-0005PH-Tv for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:20:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55264) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch9EX-0005PD-RN for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ch9EX-0005rA-Mh for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 01:20:01 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148791716022459 (code B ref -1); Fri, 24 Feb 2017 06:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2017 06:19:20 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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" Xref: news.gmane.org gmane.emacs.bugs:129711 Archived-At: 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))