From: David Kastrup <dak@gnu.org>
To: Daniel Brockman <daniel@brockman.se>
Cc: emacs-devel@gnu.org
Subject: Re: Invisibility bug: `invisible' vs `display'
Date: Thu, 22 Feb 2007 22:00:39 +0100 [thread overview]
Message-ID: <85wt29di14.fsf@lola.goethe.zz> (raw)
In-Reply-To: <87abz67wqd.fsf@wigwam.brockman.se> (Daniel Brockman's message of "Thu\, 22 Feb 2007 21\:39\:38 +0100")
Daniel Brockman <daniel@brockman.se> writes:
> David Kastrup <dak@gnu.org> writes:
>
>> Daniel Brockman <daniel@brockman.se> writes:
>>
>>> How can an overlay with identical start and end points
>>> display anything?
>>
>> Using the display property. Are you sure that you understand the
>> difference between overlays and text properties? Text properties are
>> bound to characters, overlays to buffer positions.
>
> Well, I'm obviously confused. I thought overlay properties
> applied to the characters under the overlay.
They apply to the region between its buffer positions. Which is
usually pretty similar to "characters under the overlay". But
zero-length overlays exist and work, too, and when copying text from a
buffer, overlay properties are not copied as part of the text.
You can even have overlays that are restricted to a single window
displaying the buffer and will not have an effect on other windows
showing the same buffer.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2007-02-22 21:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-12 19:00 Invisibility bug: `invisible' vs `display' Daniel Brockman
2007-02-12 20:39 ` Daniel Brockman
2007-02-12 23:46 ` Chong Yidong
2007-02-13 1:09 ` Daniel Brockman
2007-02-13 7:13 ` David Kastrup
2007-02-13 14:59 ` Daniel Brockman
2007-02-22 2:57 ` Daniel Brockman
2007-02-22 11:27 ` Kim F. Storm
2007-02-22 11:42 ` David Kastrup
2007-02-22 13:22 ` Daniel Brockman
2007-02-22 13:38 ` David Kastrup
2007-02-22 14:15 ` Daniel Brockman
2007-02-22 17:19 ` Johan Bockgård
2007-02-22 17:37 ` David Kastrup
2007-02-22 20:39 ` Daniel Brockman
2007-02-22 21:00 ` David Kastrup [this message]
2007-02-22 21:23 ` Daniel Brockman
2007-02-22 21:51 ` David Kastrup
2007-02-23 13:23 ` Daniel Brockman
2007-02-22 17:08 ` Kim F. Storm
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85wt29di14.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=daniel@brockman.se \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.