From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64724: 30.0.50; Inconsistency between manual, comments in the code, and implementation of point adjustment Date: Fri, 21 Jul 2023 09:11:49 +0000 Message-ID: <87zg3p633e.fsf@localhost> References: <87bkg81j0i.fsf@localhost> <83fs5j4zti.fsf@gnu.org> <878rbarjuv.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 64724@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 11:12:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qMmBV-0008X6-5F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 11:12:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMmBF-0005mQ-6z; Fri, 21 Jul 2023 05:12:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMmBB-0005m7-PL for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 05:12:05 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMmB9-00078x-1t for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 05:12:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMmB8-00089E-G9 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 05:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 09:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64724 X-GNU-PR-Package: emacs Original-Received: via spool by 64724-submit@debbugs.gnu.org id=B64724.168993070931301 (code B ref 64724); Fri, 21 Jul 2023 09:12:02 +0000 Original-Received: (at 64724) by debbugs.gnu.org; 21 Jul 2023 09:11:49 +0000 Original-Received: from localhost ([127.0.0.1]:60550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMmAu-00088n-LM for submit@debbugs.gnu.org; Fri, 21 Jul 2023 05:11:48 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:37661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMmAq-00088W-Bc for 64724@debbugs.gnu.org; Fri, 21 Jul 2023 05:11:47 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 32F53240101 for <64724@debbugs.gnu.org>; Fri, 21 Jul 2023 11:11:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689930698; bh=9f2PEG8Nkj1sJ7tODqqOBvBd6LTmv7dEu/cOeZNMXNI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=sDI/rqP/H+8tPR7uFtbo0TPC05ZHqv7a0tTZyY/pJMpjBXD1Xcdgwyqeb4Jxtt25g Q+X2bjKvUV6+BHUDgi4FczZ7UDBDQNw/XHvj3cmNjx5s1ra1v7Fh75OvmcHPvxg9tO iefCLUcxjJc7UI5mbH/hcmya5lODQ4hO1LuJ+E27+Vo4tfou5qr1Nhjy8TS0RF0oNl Z1J+MNKtsGUmZ+bJ0jsj1o5BDv3DnOPRCdBeO2xm4Q1nFNrVQC+X1SYZuu5N1L6jjT dQfX2kH6uN6tVp98RPEBTmaQAsNdnfNE9Omlia4na1+Mamf9hA9Fig1jf9FBlk/qmf D3ZxEc8hiV5Qw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R6kMF0bw2z6twb; Fri, 21 Jul 2023 11:11:36 +0200 (CEST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265666 Archived-At: Stefan Monnier writes: >> 3. I've read that section of the manual and did not find anything about >> point ending up not inside, but at the boundary of invisible text. > > The boundary is usually considered as "inside" for this specific case. I did not expect this. It should be clarified, if true. Because the same paragraph says that point will be moved to the boundary. Combined with motion to _another_ boundary, I see not how I can understand what is happening from the info node. >> 4. I reached to sources and tried to track down the cause, eventually >> arriving to `set_point_both'. > > Hmm... I'd be very surprised if `set_point_both` is the cause: > `inhibit-point-motion-hooks` should be non-nil, so that code will simply > be skipped. > > If `inhibit-point-motion-hooks` is nil, please send me the recipe so > I can try and change the caller that set this var. You are right. I now tried =word= M-: (progn (backward-word) (message "%s" (point))) The message displays point at "w". Yet, when I follow this up with M-: (point), the output is at "=". The actual cause if probably `adjust_point_for_property'. Although I do not fully understand how it works. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at