bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp manual issues regarding overlays, display properties, mar


From: Johan Bockgård
Subject: Re: Emacs Lisp manual issues regarding overlays, display properties, margins, etc.
Date: Sat, 29 Sep 2007 13:44:01 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]