From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs@gnu.org
Subject: Re: Emacs Lisp manual issues regarding overlays, display properties, margins, etc.
Date: Sat, 29 Sep 2007 13:44:01 +0200 [thread overview]
Message-ID: <yoijhcld1yta.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: 86d4w2y1ej.fsf@macs.hw.ac.uk
Joe Wells <jbw@macs.hw.ac.uk> writes:
> Issue 1: The “height” display specification seems not to work at
> all. For example, in the following the B is not larger:
>
> (test-overlays
> (insert "ABC")
> (let ((o (make-overlay 2 3)))
> (overlay-put o 'display '(height 2))))
This worked for me.
> Issue 6: The “Overlay Properties” manual node says this on
> overlay priorities: [...]
> So what is the relative priority of an overlay which has a
> nonnegative integer value of its priority property, and one which
> has no priority property at all? It seems that nil is below 0:
>
> (test-overlays
> (insert "ABC")
> (let ((o1 (make-overlay 2 3))
> (o2 (make-overlay 2 3)))
> (overlay-put o1 'display "123")
> (overlay-put o2 'priority 0)
> (overlay-put o2 'display "abc")))
Both overlays have priority 0. o2 takes precedence because it is on top
(you get the same result without the second last line).
--
Johan Bockgård
next prev parent reply other threads:[~2007-09-29 11:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 20:34 Emacs Lisp manual issues regarding overlays, display properties, margins, etc Joe Wells
2007-09-29 11:44 ` Johan Bockgård [this message]
[not found] ` <mailman.1468.1191066364.18990.bug-gnu-emacs@gnu.org>
2007-09-29 16:38 ` Joe Wells
2007-10-01 13:47 ` Johan Bockgård
2007-10-01 17:40 ` Richard Stallman
2007-10-01 17:57 ` Joe Wells
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=yoijhcld1yta.fsf@gamma02.me.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
--cc=bug-gnu-emacs@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 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).