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

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

bug#799: 23.0.60; Point stuck in overlay with before-string containing n


From: Ralf Angeli
Subject: bug#799: 23.0.60; Point stuck in overlay with before-string containing newline and image
Date: Wed, 27 Aug 2008 22:22:53 +0200

Hi,

if you start Emacs with `emacs -Q', execute the code included below
and type `C-n' several times, point will not move past the next to
last line.  This breaks cursor movement with preview-latex in some
cases.

Note that this is an updated test case.  A similar bug was fixed two or
three days ago.


(progn
  (pop-to-buffer "*foo*")
  (insert "xxx\nxxx\nxxx")
  (let ((ov (make-overlay 5 12)))
    (overlay-put ov 'before-string
                 (concat
                  (propertize
                   "A" 'display `(image :type xpm
                                        :file ,(concat data-directory
                                                       "images/attach.xpm")))
                  "\n")))
  (goto-char (point-min)))


In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11)
 of 2008-08-26 on photon
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y C-x C-e C-n C-n M-x r e p o r t - e m <tab> <r
eturn>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
1






reply via email to

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