From markus.triska@gmx.at Thu Apr 16 11:34:38 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Apr 2009 18:34:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n3GIYUmt001677 for ; Thu, 16 Apr 2009 11:34:31 -0700 Received: from mx10.gnu.org ([199.232.76.166]:45683) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LuWPt-00054T-N4 for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 14:34:29 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LuWPr-00083K-DY for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 14:34:29 -0400 Received: from mail.gmx.net ([213.165.64.20]:48433) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LuWPq-00082c-Sa for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 14:34:27 -0400 Received: (qmail invoked by alias); 16 Apr 2009 18:34:24 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-imac.local) [62.178.240.212] by mail.gmx.net (mp025) with SMTP; 16 Apr 2009 20:34:24 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/YupZ+z8vYjjExMZjIQzuwxpnEd3KVy4suxs5aZn 6k6vtmY7e7i4lF Received: by mt-imac.local (Postfix, from userid 501) id 49ED22BA2B5; Thu, 16 Apr 2009 20:34:23 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.92; `previous-line' sometimes fails with overlays Date: Thu, 16 Apr 2009 20:34:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. When I evaluate the following form in "emacs -Q": (progn (switch-to-buffer (get-buffer-create "test")) (insert "the first line\na ") (let ((o (make-overlay (point) (point)))) (overlay-put o 'after-string (propertize (concat "very very very very very very very very " "very very very very very very very very " "long line") 'face '(:background "cyan")))) (insert "\nand the last line") (previous-line)) and then press C-p, point unexpectedly fails to move. However, when I then press C-a C-n C-p C-p, the second C-p works as expected. In GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.1, GTK+ Version 2.14.7) of 2009-04-16 on mt-imac.local 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.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t From stephen.berman@gmx.net Thu Apr 16 15:49:33 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Apr 2009 22:49:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3GMnUgB001971 for ; Thu, 16 Apr 2009 15:49:31 -0700 Received: from mail.gnu.org ([199.232.76.166]:38426 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LuaOf-0005wu-El for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 18:49:29 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LuaOd-0005lo-MI for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 18:49:29 -0400 Received: from mail.gmx.net ([213.165.64.20]:52916) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LuaOd-0005lS-5T for emacs-pretest-bug@gnu.org; Thu, 16 Apr 2009 18:49:27 -0400 Received: (qmail invoked by alias); 16 Apr 2009 22:49:24 -0000 Received: from i59F57782.versanet.de (EHLO escher.local.home) [89.245.119.130] by mail.gmx.net (mp065) with SMTP; 17 Apr 2009 00:49:24 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+aCR99Y/2a6Uvp9GFhA7yOcVTtwceCUc3kILm6ir b+wa7OXovwRGk9 Received: by escher.local.home (Postfix, from userid 1000) id D77451D156D; Fri, 17 Apr 2009 00:49:22 +0200 (CEST) From: Stephen Berman To: Markus Triska Cc: 3020@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#3020: 23.0.92; `previous-line' sometimes fails with overlays References: Sender: steve@escher.local.home Date: Fri, 17 Apr 2009 00:49:22 +0200 In-Reply-To: (Markus Triska's message of "Thu, 16 Apr 2009 20:34:23 +0200") Message-ID: <87vdp4p631.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. On Thu, 16 Apr 2009 20:34:23 +0200 Markus Triska wrote: > When I evaluate the following form in "emacs -Q": > > (progn > (switch-to-buffer (get-buffer-create "test")) > (insert "the first line\na ") > (let ((o (make-overlay (point) (point)))) > (overlay-put > o 'after-string > (propertize (concat "very very very very very very very very " > "very very very very very very very very " > "long line") 'face '(:background "cyan")))) > (insert "\nand the last line") > (previous-line)) > > and then press C-p, point unexpectedly fails to move. However, when I > then press C-a C-n C-p C-p, the second C-p works as expected. Here are some further observations: - The first C-p does not fail when the propertized string is short enough so that when point is at the end of the string it is visually below but crucially before any initial segment of the string. To see this with window-width of 85 (else adjust accordingly) replace the second string of the concat above by each of the following, evalling and trying C-p in between: "very very very very very very very " "very very very very very very very " - The first C-p does not fail when the propertized string is alone on the line it starts on, i.e., not preceded by another string on the same line. To see this replace the first inserted string by each of the following, evalling and trying C-p in between: "the first line\n " "the first line\n" - The condition under which the second C-p works is when point is at a lower column number than the column at which the propertized string begins. For example, in the above the propertized string begins at column 2, and the second C-p works if point is at column 0 or column 1 when the movement from below begins; if point is at column 2 or higher, the second C-p fails. - The previous observation recalls a problem with the invisible text property I noted in the context of a different, but perhaps related, bug; see http://thread.gmane.org/gmane.emacs.pretest.bugs/2194/focus=83503 Steve Berman From cyd@stupidchicken.com Sat Apr 25 08:29:24 2009 Received: (at 3020-done) by emacsbugs.donarmstrong.com; 25 Apr 2009 15:29:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3PFTLSp009993 for <3020-done@emacsbugs.donarmstrong.com>; Sat, 25 Apr 2009 08:29:23 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id E167357E251; Sat, 25 Apr 2009 11:29:21 -0400 (EDT) From: Chong Yidong To: Markus Triska Cc: 3020-done@debbugs.gnu.org, Stephen Berman Subject: Re: 23.0.92; `previous-line' sometimes fails with overlays Date: Sat, 25 Apr 2009 11:29:21 -0400 Message-ID: <87y6to21m6.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > point unexpectedly fails to move. However, when I then press C-a C-n > C-p C-p, the second C-p works as expected. I've checked in a fix. Thanks for noticing the problem. From unknown Tue Sep 09 08:20:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 May 2009 14:24:09 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator