From unknown Tue Aug 19 14:47:55 2025 X-Loop: don@donarmstrong.com Subject: bug#799: 23.0.60; Point stuck in overlay with before-string containing newline and image Reply-To: Ralf Angeli , 799@debbugs.gnu.org Resent-From: Ralf Angeli Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 27 Aug 2008 20:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 799 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121986859911652 (code B ref -1); Wed, 27 Aug 2008 20:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Aug 2008 20:23:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RKNEuV011645 for ; Wed, 27 Aug 2008 13:23:16 -0700 Received: from mail.gnu.org ([199.232.76.166]:47460 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KYRWT-00076W-8A for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:21:45 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KYRXo-00017a-9V for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:23:13 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:61768) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYRXn-00011Y-G0 for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:23:07 -0400 Received: from photon.caeruleus.net (p54A5316B.dip0.t-ipconnect.de [84.165.49.107]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KYRXa147q-0002XY; Wed, 27 Aug 2008 22:22:54 +0200 Message-Id: <87y72i1a3m.fsf@photon.caeruleus.net> From: Ralf Angeli To: emacs-pretest-bug@gnu.org Date: Wed, 27 Aug 2008 22:22:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V01U2FsdGVkX1/iBSkrhdSkO5IuGmc/L2RSTCcnJUctxEGogTD s8CHC1YtCK97xzLH7ZmnC+xDwGNl3LGC2e7qnMVMTBtN1TXDY4 7+mA9hLPz7gOCM3335kUg== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set 1 From unknown Tue Aug 19 14:47:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Ralf Angeli Subject: bug#799 closed by Chong Yidong (Re: 23.0.60; Point stuck in overlay with before-string containing newline and image) Message-ID: References: <87wsi2yroo.fsf@cyd.mit.edu> <87y72i1a3m.fsf@photon.caeruleus.net> X-Emacs-PR-Message: they-closed 799 X-Emacs-PR-Package: emacs Reply-To: 799@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1219879203-5225-1" This is a multi-part message in MIME format... ------------=_1219879203-5225-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 . 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 by replying to this email. --=20 799: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D799 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1219879203-5225-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Wed Aug 27 16:14:51 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 799-done) by emacsbugs.donarmstrong.com; 27 Aug 2008 23:14:51 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RNEmnV003580 for <799-done@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 16:14:49 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 29DD657E14E; Wed, 27 Aug 2008 19:16:39 -0400 (EDT) To: Ralf Angeli Cc: 799-done@debbugs.gnu.org Subject: Re: 23.0.60; Point stuck in overlay with before-string containing newline and image From: Chong Yidong Date: Wed, 27 Aug 2008 19:16:39 -0400 Message-ID: <87wsi2yroo.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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! ------------=_1219879203-5225-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From angeli@caeruleus.net Wed Aug 27 13:23:18 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Aug 2008 20:23:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RKNEuV011645 for ; Wed, 27 Aug 2008 13:23:16 -0700 Received: from mail.gnu.org ([199.232.76.166]:47460 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KYRWT-00076W-8A for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:21:45 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KYRXo-00017a-9V for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:23:13 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:61768) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYRXn-00011Y-G0 for emacs-pretest-bug@gnu.org; Wed, 27 Aug 2008 16:23:07 -0400 Received: from photon.caeruleus.net (p54A5316B.dip0.t-ipconnect.de [84.165.49.107]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KYRXa147q-0002XY; Wed, 27 Aug 2008 22:22:54 +0200 Message-Id: <87y72i1a3m.fsf@photon.caeruleus.net> From: Ralf Angeli To: emacs-pretest-bug@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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V01U2FsdGVkX1/iBSkrhdSkO5IuGmc/L2RSTCcnJUctxEGogTD s8CHC1YtCK97xzLH7ZmnC+xDwGNl3LGC2e7qnMVMTBtN1TXDY4 7+mA9hLPz7gOCM3335kUg== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set 1 ------------=_1219879203-5225-1--