From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#19200: Point adjustemnt moves *into* invisible text Date: Mon, 21 Mar 2016 03:15:34 +0100 Message-ID: <87io0gbmpl.fsf@web.de> References: <87mvpskb84.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458526637 7654 80.91.229.3 (21 Mar 2016 02:17:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 02:17:17 +0000 (UTC) Cc: 19200@debbugs.gnu.org, Jonas Bernoulli To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 21 03:17:03 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahpOv-00087V-1L for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2016 03:17:01 +0100 Original-Received: from localhost ([::1]:55199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahpOu-0003u7-7S for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 22:17:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahpO3-0002bb-Cy for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 22:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahpNy-0004QO-4H for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 22:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahpNy-0004QJ-15 for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 22:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ahpNx-000052-TS for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 22:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2016 02:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19200 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19200-submit@debbugs.gnu.org id=B19200.145852654832752 (code B ref 19200); Mon, 21 Mar 2016 02:16:01 +0000 Original-Received: (at 19200) by debbugs.gnu.org; 21 Mar 2016 02:15:48 +0000 Original-Received: from localhost ([127.0.0.1]:56061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahpNj-0008WC-Ni for submit@debbugs.gnu.org; Sun, 20 Mar 2016 22:15:47 -0400 Original-Received: from mout.web.de ([212.227.17.12]:58072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahpNh-0008Vy-Nw for 19200@debbugs.gnu.org; Sun, 20 Mar 2016 22:15:46 -0400 Original-Received: from drachen.dragon ([94.218.210.27]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0LuM1L-1ZgPpn2mDH-011mkA; Mon, 21 Mar 2016 03:15:36 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 20 Mar 2016 21:21:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-Provags-ID: V03:K0:XTtPyAQc2lqlmgikd+UbdFp/FKTNusdxn4gq7u92N2hBuXhNUs0 xOsWyR+xhL1lDYsOafRM5GrzRKvoluPmfrivvvGNb4sMeGv4SyAKYW0aNt4G24nKf10CK4c gQXf1hDM99UhnwaitEM/mtcPmSkLHSt1LzSPcHytSib25uf9SHL7m+QEd7SbumZ8HTDBMGX 7fqQzghLI7C2fOqCw7x8A== X-UI-Out-Filterresults: notjunk:1;V01:K0:XsRoaf+7jzQ=:nyCz8ACA3JM0dPHt2/xw93 VSlxoU6F/2iw/GMyM2bzIo2YC/Chta6yTaMHqxRCenPwmFOw6D9bH/YrL82XM5294gTH5Igs5 G6FfTJEL0Vdc83hczA293YAWQiKpg12WGb44IOoU8GEe+jq2PscGo++TvadsC7g/TbMxuEL+5 sC2PTFeCf1yei3nkX0X3CHpkTb8iqbUcigwDVhfVnc5XCD9MS2kXAGAcnnA4jwP1mQtQQUy1k TQzmH4xA6vlI4NafdQGlJkOrNo9farltgvVaRofpbVmgDgQ5YMhHHZc1xqbw3ik0LbpLpnSWT wLcxx0rsQ3GPSAl/W+r7fEPmFb6j+TmdDWVIpe4PxhRLJjY/sHGBx2FE/BLA2DSMQ4AKORNqE Fpf2rz66aSp379idasROuCdn+APr4+QnBfDKMKw5xPnbVPdU075ytdvnqDWawWg9KWUthuXsa uOgWTKwq7jEeZCmzDtXyV7XkwikxNW9wohxjsUE1yg179ru0G+VLkgfxTttd0QHWTtjmJbQJu whERDTeJKjqGlrb4UDAxFeTYnULIvDc8dpua8vhnXwbS+W9QAcW9CnbpfQmoio2WcJovWiKOh YElUBYB2KDjg4K03QD6HG7ii9p1bJrjodGZZnxbZ1IEg6opLZsQ2e5tJnvWbqqggnGeWzAUmH qEBYdUtv4OTQe4Euu+Tal6i4IvYxF8zOopWTxJshYUKIrtAgw6EGlCo3xtv+nMJP9Qqkdllpg NwaDtm26gb1BP2zGaPHAo/EOkELRGpImBZFOTUib1hCLr476dTAbIxxWibZUr3IxzQNiDn2o X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115204 Archived-At: Stefan Monnier writes: > > this bug is tantalizing us in Magit: > > https://github.com/magit/magit/issues/2592. > > If someone would want to have a look some time...that would be nice! > > Are you sure you're hitting exactly this same bug? > IOW can you circumvent the bug by adding M-: (point) RET ? First question: no, I'm not, it's similar, but maybe not exactly the same. The issue in Magit seems to be dependent to the setting goal-column -> 0. But second question: yes! And I found that when I replace (if (zerop col) (beginning-of-line) (move-to-column col)) in the definition of line-move-to-column (at the beginning) with just (move-to-column col) (i.e. the else case) the Magit issue is fixed. I have no clue why, however. Shall I make a separate report - or will cursor-sensor.el care about this stuff at some time in the future? Looking at the code in simple.el, fixing this stuff will not be fun... Regards, Michael.