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: Sat, 22 Jul 2023 09:57:51 -0400 Message-ID: References: <87bkg81j0i.fsf@localhost> <83fs5j4zti.fsf@gnu.org> <878rbarjuv.fsf@localhost> <83pm4m3mkh.fsf@gnu.org> <87tttx7leo.fsf@localhost> <834jlxb8jm.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="29190"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64724@debbugs.gnu.org To: Eli Zaretskii , yantar92@posteo.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 22 15:59:16 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 1qND8e-0007Oi-BY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jul 2023 15:59:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qND8R-0008Qx-8h; Sat, 22 Jul 2023 09:59:03 -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 1qND8Q-0008Qp-9G for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 09:59: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 1qND8P-000822-Tk for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 09:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qND8P-0007tH-PN for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 09:59: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: Sat, 22 Jul 2023 13:59: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.169003428430260 (code B ref 64724); Sat, 22 Jul 2023 13:59:01 +0000 Original-Received: (at 64724) by debbugs.gnu.org; 22 Jul 2023 13:58:04 +0000 Original-Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qND7U-0007s0-DX for submit@debbugs.gnu.org; Sat, 22 Jul 2023 09:58:04 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qND7T-0007rT-5t for 64724@debbugs.gnu.org; Sat, 22 Jul 2023 09:58:03 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B4DBD1000C4; Sat, 22 Jul 2023 09:57:57 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 63BAA10001F; Sat, 22 Jul 2023 09:57:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1690034272; bh=IVPjMOZE2M0o2eQGoFdv6agRam0dZ4qyKj+hdJfMkfY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OpCEC17Maz5pV22YTiZonCmr3AI+8UNlYVRJLvKyMCgp0sYhwBr6As8Gy/LB3P0xX Xz6z5lKQaEn0J2oz2Vjygb3nt1++MWaHWOkOxPJUyYLNaBJKKxFqkwJdzy2tgqejvi 3OZ87U5JmqrqUJzGi/rry9ZnKyL0y5HJwVsLNzq4AvzhF04uS+dXb34cEGNydvGLFh CXuBLgxqD2qFaPHvLQhPQUBa9EVdBY2rFE5jxq6bil3p0na0J80BCJXi0wBVMD/3q+ mEB9QagG306aOLueDTdsOGBmb6pmWt1P402MZ6wAp1LK9Eprclt0GMRT9GFQvWb7Pj ne2Xzz4CUpFmg== Original-Received: from pastel (unknown [104.247.231.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 381D41201CA; Sat, 22 Jul 2023 09:57:52 -0400 (EDT) In-Reply-To: <834jlxb8jm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Jul 2023 18:15:09 +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:265816 Archived-At: 2nd try! Stefan diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 037f42124cc..ae379c664d4 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -1253,12 +1253,13 @@ Adjusting Point @cindex @code{display} property, and point display @cindex @code{composition} property, and point display - Emacs cannot display the cursor when point is in the middle of a -sequence of text that has the @code{display} or @code{composition} -property, or is invisible. Therefore, after a command finishes and -returns to the command loop, if point is within such a sequence, the -command loop normally moves point to the edge of the sequence, making this -sequence effectively intangible. + When a sequence of text has the @code{display} or @code{composition} +property, or is invisible, there can be several buffer positions that +result in the cursor being displayed at same place on the screen. +Therefore, after a command finishes and returns to the command loop, +if point is in such a sequence, the command loop normally moves point +to one of the two edges of the sequence, making this sequence +effectively intangible. A command can inhibit this feature by setting the variable @code{disable-point-adjustment}: