From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64724: 30.0.50; Inconsistency between manual, comments in the code, and implementation of point adjustment Date: Wed, 19 Jul 2023 13:31:43 -0400 Message-ID: References: <87bkg81j0i.fsf@localhost> <83fs5j4zti.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39956"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 64724@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 19:32: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 1qMB2G-000A6i-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 19:32:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMB1z-00005o-31; Wed, 19 Jul 2023 13:32:07 -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 1qMB1u-00005W-L7 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 13:32:02 -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 1qMB1u-0006fF-4U for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 13:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMB1t-00043J-NY for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 13:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 17:32:01 +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.168978791815564 (code B ref 64724); Wed, 19 Jul 2023 17:32:01 +0000 Original-Received: (at 64724) by debbugs.gnu.org; 19 Jul 2023 17:31:58 +0000 Original-Received: from localhost ([127.0.0.1]:57077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMB1n-00042t-SI for submit@debbugs.gnu.org; Wed, 19 Jul 2023 13:31:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMB1i-00042c-Mf for 64724@debbugs.gnu.org; Wed, 19 Jul 2023 13:31:54 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6C2431000C3; Wed, 19 Jul 2023 13:31:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 692BB10002F; Wed, 19 Jul 2023 13:31:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689787904; bh=3GTnLLHFvz2XVABmUVLLC0mq9X2bQ1Pd1aqRE2MtpbE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ivL8T7IYEUCDXTwCdEeCWf0pauSJ8dQ/DJ/Y0+V0H/wc+F7v7vCx+pQF4yZFmjGWM FLM90YNExzP6vYjDT8jKcWy5NoQ02Oy4EiliszzO8PFQKOB3bf1U01uwmCq2H8YR73 UeVZ347n8fZBBj0TuK2sv8Apr/lZsTRy4J1DJblTzLR7P6DKPh7DKpQCsK86k96XIH xSczFQH4hzlvMgqIS9NS+nBCLAo9sxqyXzFxF5CNEv/wLYxzyjkLYijLYIrtb2sLnr gkIvmkH0yJBvKahT4UHxBMYxgI1FILHfah6HTFAJwCSd8ZqiuH3xgYeUTwVdGEBgKu ccUrKTed8A5BA== Original-Received: from alfajor (unknown [104.247.226.95]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 278D4120399; Wed, 19 Jul 2023 13:31:44 -0400 (EDT) In-Reply-To: <83fs5j4zti.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Jul 2023 19:43:21 +0300") 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:265555 Archived-At: > I think you confuse two different point-adjustment behaviors. What > the ELisp manual describes is the one implemented in > adjust_point_for_property and the code which calls it from > command_loop_1. set_point_both does a different job for different > situations, AFAIU. Indeed, the `set_point_both` adjustment is an obsolete (mis-)feature that has been deprecated since Emacs-25, when `inhibit-point-motion-hooks`s default has been changed to t (and replaced with `cursor-sensor-mode` and `cursor-intangible-mode`). Stefan