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: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#799: marked as done (23.0.60; Point stuck in overlay with 
 before-string containing newline and image)
[Message part 1 (text/plain, inline)]
Your message dated Wed, 27 Aug 2008 19:16:39 -0400
with message-id <87wsi2yroo.fsf <at> cyd.mit.edu>
and subject line Re: 23.0.60; Point stuck in overlay with before-string containing newline and image
has caused the Emacs bug report #799,
regarding 23.0.60; Point stuck in overlay with before-string containing newline and image
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
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: 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


[Message part 3 (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!


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.