From unknown Sat Sep 13 08:10:03 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#14346 <14346@debbugs.gnu.org> To: bug#14346 <14346@debbugs.gnu.org> Subject: Status: 24.3; beginning-of-visual-line jumps to previous line in org-mode Reply-To: bug#14346 <14346@debbugs.gnu.org> Date: Sat, 13 Sep 2025 15:10:03 +0000 retitle 14346 24.3; beginning-of-visual-line jumps to previous line in org-= mode reassign 14346 emacs submitter 14346 E Sabof severity 14346 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 05:09:43 2013 Received: (at submit) by debbugs.gnu.org; 4 May 2013 09:09:43 +0000 Received: from localhost ([127.0.0.1]:57551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYYTO-0007h0-Pl for submit@debbugs.gnu.org; Sat, 04 May 2013 05:09:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35880) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYYTM-0007gr-MB for submit@debbugs.gnu.org; Sat, 04 May 2013 05:09:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYYSa-0001DO-GG for submit@debbugs.gnu.org; Sat, 04 May 2013 05:08:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYYSa-0001DK-DZ for submit@debbugs.gnu.org; Sat, 04 May 2013 05:08:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYYSX-0000ST-UY for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 05:08:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYYSV-0001Bc-35 for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 05:08:49 -0400 Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:58504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYYSU-0001BV-Uu for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 05:08:47 -0400 Received: by mail-qa0-f41.google.com with SMTP id bv4so731497qab.14 for ; Sat, 04 May 2013 02:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=A1snE6ty5zlDFPFqilNuaM7YA9me+jMOviGcEtHlTug=; b=zCIL+B1Y24qpD3REKjEd/Z6tv1ukLfmy/UffG0vogWvuE9WV4pB1LUiGe0WPeGItMs SQ/MLdhnJvfo9108h1XKEJeHowSHV4qmRjPrAMYZ7PwJ03tUqgzrcEt/mMixacIppacC w2sPaIPsWgaKOIUdqLjiYSzvcyjicdkdE3jQ8gebM1LozaIeclxie13vlzdQQhkDa/xB SYVsOdZzX5/VMl1Ct0TYf+ur/tA/hy2E5X4HQbBh88O5TIV3Kbm+yCduKugavEfFsQnw 9NGaukX8f854X4UFkYAgYYoyhOaVHjes20kNxHhum5LqVwQirSN355Jt6UPMGny9m9V+ rw+Q== MIME-Version: 1.0 X-Received: by 10.229.16.6 with SMTP id m6mr5622691qca.35.1367658526352; Sat, 04 May 2013 02:08:46 -0700 (PDT) Received: by 10.49.2.164 with HTTP; Sat, 4 May 2013 02:08:46 -0700 (PDT) Date: Sat, 4 May 2013 10:08:46 +0100 Message-ID: Subject: 24.3; beginning-of-visual-line jumps to previous line in org-mode From: E Sabof To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=90e6ba10b055a32db604dbe0d08b X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.1 (------) --90e6ba10b055a32db604dbe0d08b Content-Type: text/plain; charset=ISO-8859-1 In a buffer with org-mode and visual line-mode, paste this text: text [[TEXT]] Put cursor on E Press [left arrow]. Press [home] (or C-a, bound to org-beginning-of-line) The cursor will go to the end of the previous line The behavior is correct, if one invokes either of those functions through M-x or M-: Evgeni --90e6ba10b055a32db604dbe0d08b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In a buffer with org-mode and visual line-mode,= paste this text:

text
<= div style>[[TEXT]]

Put cursor on= E
Press [left arrow].
Press [home] (or C-a, bound = to=A0org-beginning-of-line)
The cursor will go to the end o= f the previous line

The behavior is co= rrect, if one invokes either of those functions through M-x or M-:

Evgeni

--90e6ba10b055a32db604dbe0d08b-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 07:02:25 2013 Received: (at 14346) by debbugs.gnu.org; 4 May 2013 11:02:25 +0000 Received: from localhost ([127.0.0.1]:57581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaES-0006Kj-QZ for submit@debbugs.gnu.org; Sat, 04 May 2013 07:02:25 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:47991) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaEQ-0006KK-Fe for 14346@debbugs.gnu.org; Sat, 04 May 2013 07:02:23 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MM900F00T99NM00@a-mtaout20.012.net.il> for 14346@debbugs.gnu.org; Sat, 04 May 2013 14:01:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM900FYJTANEB60@a-mtaout20.012.net.il>; Sat, 04 May 2013 14:01:36 +0300 (IDT) Date: Sat, 04 May 2013 14:01:21 +0300 From: Eli Zaretskii Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode In-reply-to: X-012-Sender: halo1@inter.net.il To: E Sabof Message-id: <8338u3m2ke.fsf@gnu.org> References: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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: 0.1 (/) > Date: Sat, 4 May 2013 10:08:46 +0100 > From: E Sabof > > In a buffer with org-mode and visual line-mode, paste this text: > > text > [[TEXT]] > > Put cursor on E > Press [left arrow]. > Press [home] (or C-a, bound to org-beginning-of-line) > The cursor will go to the end of the previous line > > The behavior is correct, if one invokes either of those functions through > M-x or M-: That's point adjustment feature in action: it moves point further in the same direction if point winds up in invisible text. Customize disable-point-adjustment to a non-nil value, if you don't want that to happen. Does anyone (Stefan? Glenn? anyone else?) see any reasons to try and fix this, as opposed to deciding that this is a "feature"? From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 07:06:49 2013 Received: (at 14346) by debbugs.gnu.org; 4 May 2013 11:06:49 +0000 Received: from localhost ([127.0.0.1]:57590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaIj-0006aP-DD for submit@debbugs.gnu.org; Sat, 04 May 2013 07:06:49 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:49258) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaIh-0006a9-5d for 14346@debbugs.gnu.org; Sat, 04 May 2013 07:06:47 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MM900F00TGCO700@a-mtaout20.012.net.il> for 14346@debbugs.gnu.org; Sat, 04 May 2013 14:05:40 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM900F5JTHFO010@a-mtaout20.012.net.il>; Sat, 04 May 2013 14:05:40 +0300 (IDT) Date: Sat, 04 May 2013 14:05:25 +0300 From: Eli Zaretskii Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode In-reply-to: <8338u3m2ke.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: esabof@gmail.com Message-id: <831u9nm2dm.fsf@gnu.org> References: <8338u3m2ke.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sat, 04 May 2013 14:01:21 +0300 > From: Eli Zaretskii > Cc: 14346@debbugs.gnu.org > > Customize disable-point-adjustment to a non-nil value, if you don't > want that to happen. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.5 BAYES_05 BODY: Bayes spam probability is 1 to 5% [score: 0.0473] X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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: 0.1 (/) > Date: Sat, 04 May 2013 14:01:21 +0300 > From: Eli Zaretskii > Cc: 14346@debbugs.gnu.org > > Customize disable-point-adjustment to a non-nil value, if you don't > want that to happen. Sorry, I meant global-disable-point-adjustment (disable-point-adjustment is reset to nil before each command, so it won't do what I meant). From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 07:18:26 2013 Received: (at 14346) by debbugs.gnu.org; 4 May 2013 11:18:26 +0000 Received: from localhost ([127.0.0.1]:57607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaTw-0007K5-Rk for submit@debbugs.gnu.org; Sat, 04 May 2013 07:18:26 -0400 Received: from mail-qc0-f173.google.com ([209.85.216.173]:58528) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYaTt-0007Jq-Ro for 14346@debbugs.gnu.org; Sat, 04 May 2013 07:18:23 -0400 Received: by mail-qc0-f173.google.com with SMTP id h29so198354qcu.4 for <14346@debbugs.gnu.org>; Sat, 04 May 2013 04:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=M+BnMT+LPGQDtFH0c6s+sFpBKsm+SB1D4b/xCE0XqYU=; b=NPyC+SwOhONkqt68Upa4xrlMEYm4pHra709uGEYzTJiC1/+YkU/enQeFfvxrtqMs8o PY30aSlBKDHsdxMZFLVFGtrNpdED8blOMoUEGNEUrj6pVJznCOMA93mRsQg+PeyzKEB8 hN3NcsDQUgvoHoOF4yMNw81zx81GzfYyHDtQMY29DwQRVHtzmLnYfyTwnycNKxYeUT2E 6WwvxVAoX+G3QGzK1jq9WioxvpvDGlEZFFH5v80hfWb8l8fEdCElddmaMN+XVLcNIwNn 2uUVA1ls1bB8MEHII5XaC8qwddcc/lDqrHSTsXXG4SWYrkyGjbFpo0PcTHuCU5zvmhvr bYaw== MIME-Version: 1.0 X-Received: by 10.229.69.133 with SMTP id z5mr5632898qci.137.1367666256025; Sat, 04 May 2013 04:17:36 -0700 (PDT) Received: by 10.49.2.164 with HTTP; Sat, 4 May 2013 04:17:35 -0700 (PDT) In-Reply-To: <831u9nm2dm.fsf@gnu.org> References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> Date: Sat, 4 May 2013 12:17:35 +0100 Message-ID: Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode From: E Sabof To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a11c28e8c5c9df004dbe29d00 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -2.6 (--) --001a11c28e8c5c9df004dbe29d00 Content-Type: text/plain; charset=ISO-8859-1 On Sat, May 4, 2013 at 12:05 PM, Eli Zaretskii wrote: > > Date: Sat, 04 May 2013 14:01:21 +0300 > > From: Eli Zaretskii > > Cc: 14346@debbugs.gnu.org > > > > Customize disable-point-adjustment to a non-nil value, if you don't > > want that to happen. > > Sorry, I meant global-disable-point-adjustment > (disable-point-adjustment is reset to nil before each command, so it > won't do what I meant). > I see what you mean. But it still looks like a bug - whether I follow the above recipe, or press C-e C-a, the point will (should?) go to the same position, but the behavior is different. Evgeni --001a11c28e8c5c9df004dbe29d00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, May 4, 2013 at 12:05 PM, Eli Zaretskii <eliz@gnu.org= > wrote:
> Date: Sat, 04 May 2013 14:01:21 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc:
14346@debbugs.gnu.org=
>
> Customize disable-point-adjustment to a non-nil value, if you don'= t
> want that to happen.

Sorry, I meant global-disable-point-adjustment
(disable-point-adjustment is reset to nil before each command, so it
won't do what I meant).

I see what you mean= . But it still looks like a bug - whether I follow the above recipe, or pre= ss C-e C-a, the point will (should?) go to the same position, but the behav= ior is different.

Evgeni
--001a11c28e8c5c9df004dbe29d00-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 08:18:32 2013 Received: (at 14346) by debbugs.gnu.org; 4 May 2013 12:18:32 +0000 Received: from localhost ([127.0.0.1]:57648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYbQ8-00033e-Bt for submit@debbugs.gnu.org; Sat, 04 May 2013 08:18:32 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:54415) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYbQ5-00033O-8T for 14346@debbugs.gnu.org; Sat, 04 May 2013 08:18:30 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MM900I00WQHNQ00@a-mtaout22.012.net.il> for 14346@debbugs.gnu.org; Sat, 04 May 2013 15:17:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM900IMKWSDBSA0@a-mtaout22.012.net.il>; Sat, 04 May 2013 15:17:02 +0300 (IDT) Date: Sat, 04 May 2013 15:16:48 +0300 From: Eli Zaretskii Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode In-reply-to: X-012-Sender: halo1@inter.net.il To: E Sabof Message-id: <83y5bvkki7.fsf@gnu.org> References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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: -1.2 (-) > Date: Sat, 4 May 2013 12:17:35 +0100 > From: E Sabof > Cc: 14346@debbugs.gnu.org > > I see what you mean. But it still looks like a bug - whether I follow the > above recipe, or press C-e C-a, the point will (should?) go to the same > position, but the behavior is different. The behavior depends on the direction point was moving before ending up in the invisible text. It's a heuristic, and as every heuristic, it sometimes fails. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 09:28:26 2013 Received: (at 14346) by debbugs.gnu.org; 4 May 2013 13:28:26 +0000 Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYcVi-00071T-KO for submit@debbugs.gnu.org; Sat, 04 May 2013 09:28:25 -0400 Received: from mail-qe0-f47.google.com ([209.85.128.47]:47407) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYcVd-00070v-Ej for 14346@debbugs.gnu.org; Sat, 04 May 2013 09:28:20 -0400 Received: by mail-qe0-f47.google.com with SMTP id w7so1342648qeb.20 for <14346@debbugs.gnu.org>; Sat, 04 May 2013 06:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NOgYyRtQ3vZ792tSDqc5GBPfgF5V24EBLyv1+/qDWts=; b=y3sZpGH1z3AnE9QE7DIVQ6LDmNnf5bQLnQ4Qex+8uIpoOSLDGTB72hP3EcH0l8jEye M82/Eb2JEHkGKBDzwrG+tClUH8xaLGWTeb/sYdNQ4qWSkf5uIxlgbUyRpyDMvndcfziQ vYcxWyHwx/qNCbuhPa2X/8aqJ3tbyumkDBCJOWU74NDOu2oMJLNFhvL9ShcJMW9byeVW xetexPT7vC/eiYWgco55FvZGMp7g5VQC4vp0tGZTCJ8DqVyAz85vgmGm7APApPpnpTzR RvzV12m9qroIP8Fdotf7LvTI1sIoSp/onifthx+4uZ/MoAk0l6sMLgdROPeEcRLVPLvV /gUQ== MIME-Version: 1.0 X-Received: by 10.224.33.148 with SMTP id h20mr16838134qad.45.1367674051229; Sat, 04 May 2013 06:27:31 -0700 (PDT) Received: by 10.49.2.164 with HTTP; Sat, 4 May 2013 06:27:31 -0700 (PDT) In-Reply-To: <83y5bvkki7.fsf@gnu.org> References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> <83y5bvkki7.fsf@gnu.org> Date: Sat, 4 May 2013 14:27:31 +0100 Message-ID: Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode From: E Sabof To: Eli Zaretskii Content-Type: multipart/alternative; boundary=20cf3074d2d8ff547c04dbe46d33 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -2.6 (--) --20cf3074d2d8ff547c04dbe46d33 Content-Type: text/plain; charset=ISO-8859-1 Wouldn't it be better if forward/backward-char kept the old behavior, and the rest of the commands did something similar to this in the end: (setq disable-point-adjustment (preceding-or-following-character-visible-p)) I'm not entirely sure whether it would be better, but at the moment, I can't think of a case where it wouldn't. Evgeni On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii wrote: > > Date: Sat, 4 May 2013 12:17:35 +0100 > > From: E Sabof > > Cc: 14346@debbugs.gnu.org > > > > I see what you mean. But it still looks like a bug - whether I follow the > > above recipe, or press C-e C-a, the point will (should?) go to the same > > position, but the behavior is different. > > The behavior depends on the direction point was moving before ending > up in the invisible text. It's a heuristic, and as every heuristic, > it sometimes fails. > --20cf3074d2d8ff547c04dbe46d33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Wouldn't it be better if forward/backward-char kept th= e old behavior, and the rest of the commands did something similar to this = in the end:

(setq disable-point-adjustment
=A0 =A0 =A0 (preceding-or-following-character-visible-p))
<= br>
I'm not entirely sure whether it would be better, b= ut at the moment, I can't think of a case where it wouldn't.
<= div style>
Evgeni


<= div class=3D"gmail_quote">On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii <eliz@g= nu.org> wrote:
> Date: Sat, 4 May 2013 12:17:35 +0100 > From: E Sabof <esabof@gmail.com= >
> Cc: 14346@debbugs.gnu.org=
>
> I see what you mean. But it still looks like a bug - whether I follow = the
> above recipe, or press C-e C-a, the point will (should?) go to the sam= e
> position, but the behavior is different.

The behavior depends on the direction point was moving before ending<= br> up in the invisible text. =A0It's a heuristic, and as every heuristic,<= br> it sometimes fails.

--20cf3074d2d8ff547c04dbe46d33-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 06 21:35:45 2013 Received: (at 14346) by debbugs.gnu.org; 7 May 2013 01:35:45 +0000 Received: from localhost ([127.0.0.1]:60400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZWoi-0008Cb-De for submit@debbugs.gnu.org; Mon, 06 May 2013 21:35:45 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:36428) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZWof-0008CJ-BH for 14346@debbugs.gnu.org; Mon, 06 May 2013 21:35:42 -0400 Received: by mail-qa0-f41.google.com with SMTP id bv4so1834400qab.7 for <14346@debbugs.gnu.org>; Mon, 06 May 2013 18:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=d2WQpvlhckEO7+wj39Em6IgSQM/mEo33TNOBtPXzGtU=; b=OZukf+r9rVLoG+3iv5sBf9iQL3/2Zx2Z9PKuMw9bPA41S+PftOKP5OJKjWymckcJeg Nk8azTPCZFBEFnttS9rqINuVU7sSHgy5TS9CuVJToDriehJNpGAPjkS8/8/4pvu+Ap9i vBhq/mZQBiL0P4FMwl2WWyqZNZK3kudrbNu5Lwe61Ylq7NvW64L9oVba2DI9+FWK3EG3 eO4PSOm/VyF+RP1yG8zCCY3mVan+SnSf9mkkj3Cg29EEwj0DCIMY0aU9ZH4voaUk968C cVQnID1/1nq8ewJTQdBuhBsz7YjaJxnf+GbaLA2zOfuBDTfhULV/zk10ZfrFz6vYR84b mCRw== MIME-Version: 1.0 X-Received: by 10.229.59.71 with SMTP id k7mr9699589qch.50.1367890480732; Mon, 06 May 2013 18:34:40 -0700 (PDT) Received: by 10.49.117.40 with HTTP; Mon, 6 May 2013 18:34:40 -0700 (PDT) In-Reply-To: References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> <83y5bvkki7.fsf@gnu.org> Date: Tue, 7 May 2013 02:34:40 +0100 Message-ID: Subject: Re: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode From: E Sabof To: Eli Zaretskii , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary=001a11c2a8e43221e404dc16d2d8 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 14346 Cc: 14346@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -2.6 (--) --001a11c2a8e43221e404dc16d2d8 Content-Type: text/plain; charset=ISO-8859-1 Even if the behavior doesn't change (soon), could the equivalent of the following be implemented in org-mode? It's the only place where this has been problematic for me. (defadvice org-beginning-of-line (after smart-point-adjustment activate) (setq disable-point-adjustment (or (not (invisible-p (point))) (not (invisible-p (max (point-min) (1- (point)))))))) (defadvice org-end-of-line (after smart-point-adjustment activate) (setq disable-point-adjustment (or (not (invisible-p (point))) (not (invisible-p (max (point-min) (1- (point)))))))) Evgeni On Sat, May 4, 2013 at 2:27 PM, E Sabof wrote: > Wouldn't it be better if forward/backward-char kept the old behavior, and > the rest of the commands did something similar to this in the end: > > (setq disable-point-adjustment > (preceding-or-following-character-visible-p)) > > I'm not entirely sure whether it would be better, but at the moment, I > can't think of a case where it wouldn't. > > Evgeni > > > On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii wrote: > >> > Date: Sat, 4 May 2013 12:17:35 +0100 >> > From: E Sabof >> > Cc: 14346@debbugs.gnu.org >> > >> > I see what you mean. But it still looks like a bug - whether I follow >> the >> > above recipe, or press C-e C-a, the point will (should?) go to the same >> > position, but the behavior is different. >> >> The behavior depends on the direction point was moving before ending >> up in the invisible text. It's a heuristic, and as every heuristic, >> it sometimes fails. >> > > --001a11c2a8e43221e404dc16d2d8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Even if the behavior doesn't change (soon), could the = equivalent of the following be implemented in org-mode? It's the only p= lace where this has been problematic for me.=A0

(de= fadvice org-beginning-of-line (after smart-point-adjustment activate)
=A0 (setq disable-point-adjustment
=A0 =A0 =A0 =A0 (or (not = (invisible-p (point)))
=A0 =A0 =A0 =A0 =A0 =A0 (not (invisible-p = (max (point-min) (1- (point))))))))

(defadvice org= -end-of-line (after smart-point-adjustment activate)
=A0 (setq disable-point-adjustment
=A0 =A0 =A0 =A0 (or (not = (invisible-p (point)))
=A0 =A0 =A0 =A0 =A0 =A0 (not (invisible-p = (max (point-min) (1- (point))))))))

Ev= geni


On Sat, May 4, 2013 at 2:27 PM, E Sabof = <esabof@gmail.com> wrote:
Wouldn't it be better if forward/backward-char kept th= e old behavior, and the rest of the commands did something similar to this = in the end:

(setq disable-point-adjustment
=A0 =A0 =A0 (preceding-or-following-character-visible-p))
<= br>
I'm not entirely sure whether it would be better, but at = the moment, I can't think of a case where it wouldn't.

Evgeni


On Sat, May 4, = 2013 at 1:16 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Sat, 4 May 2013 12:17:35 +0100 > From: E Sabof <esabof@gmail.com>
> Cc: 14346@d= ebbugs.gnu.org
>
> I see what you mean. But it still looks like a bug - whether I follow = the
> above recipe, or press C-e C-a, the point will (should?) go to the sam= e
> position, but the behavior is different.

The behavior depends on the direction point was moving before ending<= br> up in the invisible text. =A0It's a heuristic, and as every heuristic,<= br> it sometimes fails.


--001a11c2a8e43221e404dc16d2d8-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 10 03:00:20 2013 Received: (at 14346) by debbugs.gnu.org; 10 May 2013 07:00:20 +0000 Received: from localhost ([127.0.0.1]:35308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UahJS-0005w0-HF for submit@debbugs.gnu.org; Fri, 10 May 2013 03:00:20 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:52247) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UahJO-0005vg-Rv for 14346@debbugs.gnu.org; Fri, 10 May 2013 03:00:16 -0400 Received: by mail-wi0-f171.google.com with SMTP id hn3so288455wib.10 for <14346@debbugs.gnu.org>; Fri, 10 May 2013 00:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:message-id:references:to:x-mailer; bh=9H7CzsETLoV0WbOPPCA6GNDHy2FJo5T6Y29FFS1MSIY=; b=N+tSLkPATIPBs9ffhZWS/6Bb6i/ISBGuxFyKFZRxocyRbkUDjzj7SM6H6a/FXmNf0F K82an56X1X3ROQU0uMthmG+GRHEXRY/uLWSucfUS5Sw/39NO86+tb93lxenvUyO399q0 XptAZWbxUJOQ77V71Wjt16qK0ButvItk4viW82C2H+3fOgAj2D5y2vuenC4gwlc9Vu8l 6LS6evH5bizTvh4RQr2hHeZmrBkOZvRcM+bxumsJPq+9hVmsoxuYBeSSRgEONB7usts/ zHwD/jgReEzV5KSSOky1OjduVIIsS/9nTm9S4qeUpQa5WeQuGek9qxLX0mXZA3i1TtTH 2FiA== X-Received: by 10.194.133.198 with SMTP id pe6mr22406450wjb.9.1368169205615; Fri, 10 May 2013 00:00:05 -0700 (PDT) Received: from 192.168.2.5 ([86.85.85.170]) by mx.google.com with ESMTPSA id ge7sm1631927wib.6.2013.05.10.00.00.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 May 2013 00:00:04 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_1197003D-E6BC-4DA4-86A5-0D0991A42EEB" Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: [O] bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode From: Carsten Dominik In-Reply-To: Date: Fri, 10 May 2013 09:00:03 +0200 Message-Id: <31DFE408-7E8F-4CCA-B6DA-439D9A311C51@gmail.com> References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> <83y5bvkki7.fsf@gnu.org> To: E Sabof X-Mailer: Apple Mail (2.1503) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14346 Cc: Eli Zaretskii , 14346@debbugs.gnu.org, emacs-orgmode@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -0.9 (/) --Apple-Mail=_1197003D-E6BC-4DA4-86A5-0D0991A42EEB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 7.5.2013, at 03:34, E Sabof wrote: > Even if the behavior doesn't change (soon), could the equivalent of = the following be implemented in org-mode? It's the only place where this = has been problematic for me.=20 >=20 > (defadvice org-beginning-of-line (after smart-point-adjustment = activate) > (setq disable-point-adjustment > (or (not (invisible-p (point))) > (not (invisible-p (max (point-min) (1- (point)))))))) >=20 > (defadvice org-end-of-line (after smart-point-adjustment activate) > (setq disable-point-adjustment > (or (not (invisible-p (point))) > (not (invisible-p (max (point-min) (1- (point)))))))) I have implemented these in Org master, so this will eventually mode = into emacs as well. - Carsten >=20 > Evgeni >=20 >=20 > On Sat, May 4, 2013 at 2:27 PM, E Sabof wrote: > Wouldn't it be better if forward/backward-char kept the old behavior, = and the rest of the commands did something similar to this in the end: >=20 > (setq disable-point-adjustment > (preceding-or-following-character-visible-p)) >=20 > I'm not entirely sure whether it would be better, but at the moment, I = can't think of a case where it wouldn't. >=20 > Evgeni >=20 >=20 > On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii wrote: > > Date: Sat, 4 May 2013 12:17:35 +0100 > > From: E Sabof > > Cc: 14346@debbugs.gnu.org > > > > I see what you mean. But it still looks like a bug - whether I = follow the > > above recipe, or press C-e C-a, the point will (should?) go to the = same > > position, but the behavior is different. >=20 > The behavior depends on the direction point was moving before ending > up in the invisible text. It's a heuristic, and as every heuristic, > it sometimes fails. >=20 >=20 --Apple-Mail=_1197003D-E6BC-4DA4-86A5-0D0991A42EEB Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1
On 7.5.2013, at 03:34, E Sabof <esabof@gmail.com> wrote:

Even if the behavior doesn't change (soon), could the equivalent of the following be implemented in org-mode? It's the only place where this has been problematic for me. 

(defadvice org-beginning-of-line (after smart-point-adjustment activate)
  (setq disable-point-adjustment
        (or (not (invisible-p (point)))
            (not (invisible-p (max (point-min) (1- (point))))))))

(defadvice org-end-of-line (after smart-point-adjustment activate)
  (setq disable-point-adjustment
        (or (not (invisible-p (point)))
            (not (invisible-p (max (point-min) (1- (point))))))))

I have implemented these in Org master, so this will eventually mode into emacs as well.

- Carsten


Evgeni


On Sat, May 4, 2013 at 2:27 PM, E Sabof <esabof@gmail.com> wrote:
Wouldn't it be better if forward/backward-char kept the old behavior, and the rest of the commands did something similar to this in the end:

(setq disable-point-adjustment
      (preceding-or-following-character-visible-p))

I'm not entirely sure whether it would be better, but at the moment, I can't think of a case where it wouldn't.

Evgeni


On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Sat, 4 May 2013 12:17:35 +0100
> From: E Sabof <esabof@gmail.com>
> Cc: 14346@debbugs.gnu.org
>
> I see what you mean. But it still looks like a bug - whether I follow the
> above recipe, or press C-e C-a, the point will (should?) go to the same
> position, but the behavior is different.

The behavior depends on the direction point was moving before ending
up in the invisible text.  It's a heuristic, and as every heuristic,
it sometimes fails.



--Apple-Mail=_1197003D-E6BC-4DA4-86A5-0D0991A42EEB-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 11:59:46 2019 Received: (at 14346-done) by debbugs.gnu.org; 30 Sep 2019 15:59:46 +0000 Received: from localhost ([127.0.0.1]:60306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEy5S-0004iK-17 for submit@debbugs.gnu.org; Mon, 30 Sep 2019 11:59:46 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:45698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEy5Q-0004Go-OD for 14346-done@debbugs.gnu.org; Mon, 30 Sep 2019 11:59:45 -0400 Received: by mail-pf1-f182.google.com with SMTP id y72so5845346pfb.12 for <14346-done@debbugs.gnu.org>; Mon, 30 Sep 2019 08:59:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=8hyre7pRmxgyHwcMQ4omFx93+pzcVllVktcJQRVgdlU=; b=gJSAR/zatrubaKJ07BlgGBOim0Ky/4adBf186kaJ6p5vCxTIvBCnVBwPOvU0ToYdvk QfSvjYNIKsg/DDMAFY1CRvAf4HWIyCRk+kFhJWu6M4H8jS/oNasS1vBIFW0SmP0WA3MR KuuQ2jw+37NK8zF5vXcQcW51e2P02UhrM67R+oBn3bVTo/xIC6HSRVfj2TbwrrCeH4If leuQbQvenDyCEdQfBSfBdOyu2Z0q2EnLSq0HngdQ0HrBcdqilp5Iriu174ixaDYEf6u/ 62tmuBWOGv8YeL6lySm1WJER75ZBV2T5cBhckurFpB4qZITYaCP0i5d8pmwW2glp5jyd fieQ== X-Gm-Message-State: APjAAAUVu/DMyEZREtmYakUkSSPqv1pmxpuc8IeA08bTvFDcwQZoWxBP h+B5VQnOrN7u0jq9d640qj6mj64lRIQg9xAYcEM= X-Google-Smtp-Source: APXvYqwhlmsbo50lfEBGI54ftrVTNgCMwwRn7/IFFvC+waZEJdPvW4PLSPdmUMJ3Z7mIgBPdp/FJkRqq7hJNO6mPBAM= X-Received: by 2002:aa7:8750:: with SMTP id g16mr21781303pfo.190.1569859179022; Mon, 30 Sep 2019 08:59:39 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 17:59:28 +0200 Message-ID: Subject: Re: bug#14346: [O] bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode To: Carsten Dominik Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14346-done Cc: Eli Zaretskii , E Sabof , 14346-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Carsten Dominik writes: > I have implemented these in Org master, so this will eventually mode > into emacs as well. It seems like this was implemented at the time, and should be merged to master by now. I'm therefore closing this bug report. If there is still any issues here that I'm missing, please reopen the bug report. Best regards, Stefan Kangas From unknown Sat Sep 13 08:10:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Oct 2019 11:24:05 +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