From unknown Fri Jun 20 07:19:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4094 <4094@debbugs.gnu.org> To: bug#4094 <4094@debbugs.gnu.org> Subject: Status: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display Reply-To: bug#4094 <4094@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:19:28 +0000 retitle 4094 23.1.50; posn-at-point gets upset by overlays with 'invisible = and 'display reassign 4094 emacs submitter 4094 Lennart Borgman severity 4094 normal tag 4094 moreinfo thanks From lennart.borgman@gmail.com Sun Aug 9 07:37:13 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Aug 2009 14:37:13 +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.8 required=4.0 tests=AWL 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.14.3/8.14.3/Debian-5) with ESMTP id n79EbBx4007889 for ; Sun, 9 Aug 2009 07:37:12 -0700 Received: from mail.gnu.org ([199.232.76.166]:46433 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ma9WJ-0003gu-0L for emacs-pretest-bug@gnu.org; Sun, 09 Aug 2009 10:37:11 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ma9WH-0001AX-Gp for emacs-pretest-bug@gnu.org; Sun, 09 Aug 2009 10:37:10 -0400 Received: from an-out-0708.google.com ([209.85.132.240]:25549) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ma9WH-0001A3-5d for emacs-pretest-bug@gnu.org; Sun, 09 Aug 2009 10:37:09 -0400 Received: by an-out-0708.google.com with SMTP id b6so931235ana.21 for ; Sun, 09 Aug 2009 07:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=5/0PGByvQXk1YXb3iHuBEMWqiCtOgXYlMjvYRDH2lJA=; b=dnj7jiNrCjlvrlMravt2usR3C+ANvhQr2RheeSSnxAKS8QroOkAXPQLhM9/xdKtvvD 0wYu9Z3uU/mL2ijSWNEd8FnTSVcH5gfIwCm2C5n9YT3rqWzgRm1Ey2EDeGIwlJgr1xTs YLfODRRp7zlH4hvUhjdzfNrXPpSLzKAryXOIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=I8YE9ojDk1PUZS8ZV45rMm+jmjS2cwF1pra8pU+Z8RrNxMleddesPpjA9GDfZmsCgY xfgkmM7XxMZY0zrPbjw0o+4VC29EyftqxfmKpqECPjTau1v4RHvOwkH+XE/kMX0ZM99k km3dlzDaH6O+l3sFkAGfXmf37IzS1nLeIemKA= MIME-Version: 1.0 Received: by 10.100.127.17 with SMTP id z17mr2472897anc.153.1249828627545; Sun, 09 Aug 2009 07:37:07 -0700 (PDT) Date: Sun, 9 Aug 2009 16:37:07 +0200 Message-ID: Subject: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: >>>>>>>>>>>>>>>>>>>> posn-at-point reports bad (X . Y) when on a 'displa part of an invisible overlay. This makes line-move-visual behave strange. (A workaround for this could be to step back one char in line-move-visual, but this is of course not the correct fix.) <<<<<<<<<<<<<<<<<<<< If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/emacs/u/090801/emacs/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-08-01 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' PS: Is it by intention that the bug mail message now includes the information for the submitter? It did not work that way before. I have left that information in the message above (but marked my real message) so you can see what I mean. Perhaps this has something to do with that I am using w32 where the message is copied to clipboard? From lennart.borgman@gmail.com Sun Aug 9 12:38:07 2009 Received: (at 4094) by emacsbugs.donarmstrong.com; 9 Aug 2009 19:38:07 +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=-2.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-yx0-f189.google.com (mail-yx0-f189.google.com [209.85.210.189]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n79Jc6Tg007232 for <4094@emacsbugs.donarmstrong.com>; Sun, 9 Aug 2009 12:38:07 -0700 Received: by yxe27 with SMTP id 27so3187102yxe.19 for <4094@emacsbugs.donarmstrong.com>; Sun, 09 Aug 2009 12:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1OuIiXRlJQItVS5nde9oLomQa8oa08sfV6sMgpoa6mo=; b=auxID1vQxeyKqm825kpEjAFKiRyytEcs4gs9jlAt9bvnc42ud2SrUKtnRKIq++hjTl TDnNFJ262nEjER4ogYs3t2CuRw4PqltjvdijjASxmT0npb7kqPUnxG3oQzMpadhPKe+W JQTJlEyJM1ZhYB3rCvhA8R5dP6DPsOlqFVccU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Nzv29YsUEXP2oKPbmoVxC3gRRF5YkvXfXAFjwa+SJK3YqB48WtUesk6YQcFpOyKZuZ R5jJKedYLmPzNvrtpG4oZIgV+czTibDkRTct8XelTOi0LrleC9p7yRCi6Vy+7h876tx2 fZTma699hVYkoAx4AH1mUvr+w+RO0aN3kd5xE= MIME-Version: 1.0 Received: by 10.100.106.12 with SMTP id e12mr2663144anc.89.1249846680650; Sun, 09 Aug 2009 12:38:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Aug 2009 21:38:00 +0200 Message-ID: Subject: Re: bug#4094: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display From: Lennart Borgman To: 4094@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Some more thoughts: There seem to be several small inconsistencies around here. I guess the intended behaviour is For invisible overlays (and dito buffer text, but it is overlays I have been looking at now): - The "stop" point on the display string property should be the first character. That seems to be the case now, but often the first char is missed/jumped over, see below. - When calling forward-char or backward char they should stop there. Forward char often does that, but not always. Backward char does not seem to do that. - Similar problem with vertical-motion. It often misses the first char and goes to the column after the display string instead. From lennart.borgman@gmail.com Sun Aug 9 12:40:19 2009 Received: (at 4094) by emacsbugs.donarmstrong.com; 9 Aug 2009 19:40:20 +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=-1.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n79JeIVn007491 for <4094@emacsbugs.donarmstrong.com>; Sun, 9 Aug 2009 12:40:19 -0700 Received: by ywh5 with SMTP id 5so3447804ywh.13 for <4094@emacsbugs.donarmstrong.com>; Sun, 09 Aug 2009 12:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Dam4aKyQo+HHXIG7kQIzAJLvV1X+vuZOm92CfwrdDDE=; b=gnNoCqPhrM/BXDB0cyEspLmWgCWyPhJG+tWVwBRjMkGKsa1FvEIiGSqL6VG30gbRI4 nR33eKYtFAmYt5+3v1TzyaMlCJfOnlBcEPgipJPhwsFVGN3ZNG2j4tbglmqFaF6GBQeC mvSAtE+h4W6+uX0yRSNgNuyvesi70DMlvaj7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=K9bcGj36IoBlmhcVx3YHX7u/xf4aRq35OIMwxN2QD3A621LzDqnl2l5S921vI7qwDo wVJ+Cx/o86OCrha9/H55F7cKkZRWB9lYP/ZzMvJfW7WJY/OgOF0TpQFgKBXkSRZbbzC+ xQnVRp048//J24m5dkkWkJqWsuFOHbD3KWMwo= MIME-Version: 1.0 Received: by 10.100.3.7 with SMTP id 7mr2640552anc.99.1249846812738; Sun, 09 Aug 2009 12:40:12 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Aug 2009 21:40:12 +0200 Message-ID: Subject: Re: bug#4094: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display From: Lennart Borgman To: 4094@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Forgot to say that this seems to be some problem with the interaction with the display engine and display update. When you try to debug this the problem is sometimes gone. On Sun, Aug 9, 2009 at 9:38 PM, Lennart Borgman wrote: > Some more thoughts: There seem to be several small inconsistencies > around here. I guess the intended behaviour is > > For invisible overlays (and dito buffer text, but it is overlays I > have been looking at now): > > - The "stop" point on the display string property should be the first > character. That seems to be the case now, but often the first char is > missed/jumped over, see below. > > - When calling forward-char or backward char they should stop there. > Forward char often does that, but not always. Backward char does not > seem to do that. > > - Similar problem with vertical-motion. It often misses the first char > and goes to the column after the display string instead. > From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 15:11:26 2010 Received: (at 4094) by debbugs.gnu.org; 9 Jan 2010 20:11:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NThef-0004aT-Sf for submit@debbugs.gnu.org; Sat, 09 Jan 2010 15:11:26 -0500 Received: from pantheon-po19.its.yale.edu ([130.132.50.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NThee-0004aK-IT for 4094@debbugs.gnu.org; Sat, 09 Jan 2010 15:11:24 -0500 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po19.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o09KBKqv005254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 9 Jan 2010 15:11:20 -0500 Received: by furry (Postfix, from userid 1000) id 0B791C05D; Sat, 9 Jan 2010 13:11:20 -0700 (MST) From: Chong Yidong To: Lennart Borgman Subject: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display Date: Sat, 09 Jan 2010 15:11:19 -0500 Message-ID: <87hbqvyr6f.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 4094 Cc: 4094@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) > posn-at-point reports bad (X . Y) when on a 'displa part of an invisible > overlay. > > This makes line-move-visual behave strange. (A workaround for this could > be to step back one char in line-move-visual, but this is of course not > the correct fix.) Please provide a precise, step-by-step recipe to reproduce this, starting with `emacs -Q'. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 20:52:15 2010 Received: (at control) by debbugs.gnu.org; 27 Jan 2010 01:52:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZx4p-0001L8-3A for submit@debbugs.gnu.org; Tue, 26 Jan 2010 20:52:15 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZx4n-0001Kz-Cy for control@debbugs.gnu.org; Tue, 26 Jan 2010 20:52:13 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZx4j-0008Do-Q1; Tue, 26 Jan 2010 20:52:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19295.40009.742711.907136@fencepost.gnu.org> Date: Tue, 26 Jan 2010 20:52:09 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: .,Id9;5qiQf&2n,<1Q)pSe~'s"9B`l,&Ounxr+7\iedM93C_oK>"#$=D?*3Jqnu(&EvTR4 X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) tags 4053 moreinfo reassign 4066 emacs,org-mode reassign 4068 emacs,org-mode severity 4068 minor unarchive 4087 reassign 4087 notemacs tags 4094 moreinfo merge 4094 4096 merge 1611 3978 4108 unarchive 4097 unarchive 4130 merge 4097 4130 tags 4140 moreinfo close 4146 reassign 4151 emacs,ns tags 4192 patch From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 20:30:16 2011 Received: (at 4094-done) by debbugs.gnu.org; 10 Jul 2011 00:30:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfhua-0006NK-73 for submit@debbugs.gnu.org; Sat, 09 Jul 2011 20:30:16 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfhuY-0006N7-On for 4094-done@debbugs.gnu.org; Sat, 09 Jul 2011 20:30:15 -0400 Received: from localhost ([127.0.0.1]:43992) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfhuS-0000S6-PK; Sat, 09 Jul 2011 20:30:08 -0400 From: Glenn Morris To: 4094-done@debbugs.gnu.org Subject: Re: bug#4094: 23.1.50; posn-at-point gets upset by overlays with 'invisible and 'display References: <87hbqvyr6f.fsf@stupidchicken.com> X-Spook: infowar Mantis INSCOM munitions DRM SSL ASPIC CESID X-Ran: a6H,`:sXECz*T^h%$d}GWNy^@Qo,q)b'G3\%;`ZTB6_W-.lV!ZBp3qpgKG@^_="a\]z\"z X-Hue: green X-Attribution: GM Date: Sat, 09 Jul 2011 20:30:08 -0400 In-Reply-To: <87hbqvyr6f.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 09 Jan 2010 15:11:19 -0500") Message-ID: <2caacngepb.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 4094-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Closed due to lack of response. Chong Yidong wrote: > Please provide a precise, step-by-step recipe to reproduce this, > starting with `emacs -Q'. From unknown Fri Jun 20 07:19:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Aug 2011 11:24:23 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator