From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 16:07:16 +0300 Message-ID: <83fs5hbegr.fsf@gnu.org> References: <87bkg81j0i.fsf@localhost> <83fs5j4zti.fsf@gnu.org> <878rbarjuv.fsf@localhost> <83pm4m3mkh.fsf@gnu.org> <87tttx7leo.fsf@localhost> <83cz0l1qsn.fsf@gnu.org> <87iladmpfk.fsf@localhost> <83wmytzb6q.fsf@gnu.org> <871qh1mnik.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64724@debbugs.gnu.org, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 15:07:17 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 1qMpqm-0008OC-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 15:07:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMpqa-00016Q-7e; Fri, 21 Jul 2023 09:07:04 -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 1qMpqY-000169-W2 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:07:03 -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 1qMpqY-0001wP-OW for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMpqY-0000kZ-Iw for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 13:07: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.16899448092847 (code B ref 64724); Fri, 21 Jul 2023 13:07:02 +0000 Original-Received: (at 64724) by debbugs.gnu.org; 21 Jul 2023 13:06:49 +0000 Original-Received: from localhost ([127.0.0.1]:60903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpqL-0000jp-29 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 09:06:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpqH-0000jR-QR for 64724@debbugs.gnu.org; Fri, 21 Jul 2023 09:06:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpqC-0001uU-IM; Fri, 21 Jul 2023 09:06:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=65ja+3WkNieaF7KjO4BKxN/N1Xb7XF1Wu1NSW+ixh2o=; b=UxB4U1EdP7Bw yWem41HFocoAVnyRAfWoGjhnmmWHWKNxzVKxDC5NxRacDdhfIshAxuI3VBkp6qf7oenuHpsRzi7nO aL9WSN8B2zDSSKWiw5bH96YR5oX4lT8X1M7DJI9kMWeOrvfAuc1n6+qDySe/p7WYvYhSuWTZ/HcWt +qmsknzGgNQ6STqt2OijboNifZkag7vRNEuuzug5yRLid23bRASScDwHQ5WTIlFyECCjth1DpOujz pKslF+kS/3rd9pZeXGcuWZ4hP2F1fytRD+IwXHC2OYKGPcPLU/dLlQyIK0Mo7DpbHEELJLqD2upAB 0oleYv3/Y4NIkv565AS6bA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpqC-0004a2-1t; Fri, 21 Jul 2023 09:06:40 -0400 In-Reply-To: <871qh1mnik.fsf@localhost> (message from Ihor Radchenko on Fri, 21 Jul 2023 12:56:19 +0000) 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:265702 Archived-At: > From: Ihor Radchenko > Cc: monnier@iro.umontreal.ca, 64724@debbugs.gnu.org > Date: Fri, 21 Jul 2023 12:56:19 +0000 > > Eli Zaretskii writes: > > >> Please remember that info page was just one of the points I listed in > >> the initial report. > > > > I must have missed them (even though I've skimmed the discussion again > > now), so please point them out again. > > Further, `set_point_both' contains the following comments: > > /* If the preceding character is both intangible and invisible, > and the invisible property is `rear-sticky', perturb it so > that the search starts one character earlier -- this ensures > that point can never move to the end of an invisible/ > intangible/rear-sticky region. */ > charpos = adjust_for_invis_intang (charpos, -1, -1, 1); > <...> > /* If the following character is both intangible and invisible, > and the invisible property is `front-sticky', perturb it so > that the search starts one character later -- this ensures > that point can never move to the beginning of an > invisible/intangible/front-sticky region. */ > charpos = adjust_for_invis_intang (charpos, 0, 1, 1); > > However, 'intanglible text property is, in fact, not necessary to > trigger the adjustment. Didn't we establish that set_point_both is not relevant to the behavior you see, and in fact is a deprecated feature on its way out?