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

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

bug#11068: 24.0.94; Face-remapped background does not extend to end of w


From: Stefan Monnier
Subject: bug#11068: 24.0.94; Face-remapped background does not extend to end of window
Date: Sun, 25 Mar 2012 15:53:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> (let ((overlay (make-overlay (point-max) (point-max))))
>   (overlay-put overlay 'after-string "\n\n\n\n"))

Nitpick, you want (make-overlay (point-max) (point-max) nil t t) if you
want to create an overlay "at EOB" rather than "right after the char
which is currently at (point-max)".  Cursor positioning should be
sensitive to these kinds of stickiness details, although IIRC it
currently isn't.


        Stefan





reply via email to

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