unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: mule-ja@m17n.org
Subject: invisible&after-string of overlay
Date: Tue, 11 Nov 2003 09:47:00 +0900 (JST)	[thread overview]
Message-ID: <200311110047.JAA00945@etlken.m17n.org> (raw)

I've got a bug report about the combination of invisible and
after-string properties of an overlay.

Please evaluate this in *scratch* buffer.

(save-excursion
  (goto-char (point-min))
  (insert "123\n")
  (let ((o1 (make-overlay 1 2))
	(o2 (make-overlay 2 3)))
    (overlay-put o1 'invisible t)
    (overlay-put o1 'evaporate t)
    (overlay-put o1 'after-string "A")
    (overlay-put o2 'invisible t)
    (overlay-put o2 'evaporate t)
    (overlay-put o2 'after-string "B")))

Emacs 21.3 and HEAD displays "B3" in the first line, but
Emacs 20.7 displays "AB3".  It seems that the latter is
correct.  Is it a feature change or a bug?

---
Ken'ichi HANDA
handa@m17n.org

             reply	other threads:[~2003-11-11  0:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11  0:47 Kenichi Handa [this message]
2003-11-12  2:30 ` invisible&after-string of overlay Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311110047.JAA00945@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=mule-ja@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).