unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in pointer display in a narrowed buffer with overlay with 'after-string
@ 2006-03-18  0:25 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2006-03-18  0:25 UTC (permalink / raw)


I define an overlay like this and then narrows the buffer:

                (setq html-inlined-overlay (make-overlay
                                            beg end
                                            nil
                                            nil t))
                (overlay-put html-inlined-overlay 'before-string "BEFORE")
                (overlay-put html-inlined-overlay 'after-string "AFTER")

                (narrow-to-region beg end)

Now if I move point to the end of the narrowed buffer the pointer is 
shown after AFTER. However if I insert characters they are inserted 
before AFTER (as they should be).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-18  0:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-18  0:25 Bug in pointer display in a narrowed buffer with overlay with 'after-string Lennart Borgman

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).