all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#4096: 23.1.50; forward-char sometimes steps over overlay 'display
Date: Sun, 9 Aug 2009 18:08:39 +0200	[thread overview]
Message-ID: <e01d8a50908090908p65b6665xc892950a3ba83134@mail.gmail.com> (raw)

I have two rather similar 'display strings for two invisible
overlays. In one case forward-char steps over the 'display string part
and in the other it stops on it (as it should).

For the case when it steps over the display string looks something like

#("+ <p>...(6 hidden lines)" 0 1
  (face mode-line)
  2 3
  (fontified t)
  3 4
  (face font-lock-function-name-face fontified t)
  4 5
  (fontified t))

and for the case where it stops (expected behaviour) it looks like

#("+...(155 hidden lines)" 0 1
  (face mode-line))

I can reproduce it, but have not made a test case. However the behaviour
can easily be seen in the devel sources for nXhtml. One case is for
outline-minor-mode and one is for hs-minor-mode used in a nxhtml-mode buffer.


In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-08-01
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'





         reply	other threads:[~2009-08-09 16:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 20:11 bug#4094: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display Chong Yidong
2011-07-10  0:30 ` Glenn Morris
2009-08-09 16:08   ` Lennart Borgman [this message]
2009-08-09 20:28     ` bug#4096: 23.1.50; forward-char sometimes steps over overlay 'display Lennart Borgman
2009-08-10  4:13       ` Stefan Monnier
2009-08-10  4:34         ` Lennart Borgman
     [not found]     ` <handler.4096.D4094.131025781624513.notifdone@debbugs.gnu.org>
2011-07-10  0:38       ` bug#4096: closed (Re: bug#4094: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display) Lennart Borgman

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=e01d8a50908090908p65b6665xc892950a3ba83134@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=4096@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@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.