GNU bug report logs - #799
23.0.60; Point stuck in overlay with before-string containing newline and image

Previous Next

Package: emacs;

Reported by: Ralf Angeli <angeli <at> caeruleus.net>

Date: Wed, 27 Aug 2008 20:30:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Ralf Angeli <angeli <at> caeruleus.net>
Subject: bug#799 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 23.0.60; Point stuck in overlay with before-string containing newline and 
 image)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#799: 23.0.60; Point stuck in overlay with before-string containing newline and image

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
799: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=799
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Ralf Angeli <angeli <at> caeruleus.net>
Cc: 799-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; Point stuck in overlay with before-string containing newline and image
Date: Wed, 27 Aug 2008 19:16:39 -0400
Thanks for the new testcase.  My previous fix to vertical-motion was
indeed too limited; I've checked in a more general fix.  Hopefully
preview-latex will work this time!

[Message part 3 (message/rfc822, inline)]
From: Ralf Angeli <angeli <at> caeruleus.net>
To: emacs-pretest-bug <at> gnu.org
Subject: 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



This bug report was last modified 16 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.