From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#33662: 26.1; Elisp manual, index entry `invisible/intangible text, and point' and target Date: Sat, 08 Dec 2018 19:28:05 -0500 Message-ID: References: <7e19f841-cc71-4349-a993-5e9fcf4f937f@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544315227 16290 195.159.176.226 (9 Dec 2018 00:27:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2018 00:27:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33662@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 09 01:27:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVmw1-00047B-CS for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Dec 2018 01:27:01 +0100 Original-Received: from localhost ([::1]:53448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVmy8-0002ZS-5Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2018 19:29:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVmy1-0002ZJ-O8 for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 19:29:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVmxy-0005yg-Gu for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 19:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVmxy-0005ya-B6 for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 19:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVmxy-0001cG-3e for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 19:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Dec 2018 00:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33662 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33662-submit@debbugs.gnu.org id=B33662.15443152906148 (code B ref 33662); Sun, 09 Dec 2018 00:29:02 +0000 Original-Received: (at 33662) by debbugs.gnu.org; 9 Dec 2018 00:28:10 +0000 Original-Received: from localhost ([127.0.0.1]:39047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVmx8-0001b5-2X for submit@debbugs.gnu.org; Sat, 08 Dec 2018 19:28:10 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:35009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVmx5-0001ax-Un for 33662@debbugs.gnu.org; Sat, 08 Dec 2018 19:28:08 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wB90S5Z5022575; Sat, 8 Dec 2018 19:28:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 8E7B96A729; Sat, 8 Dec 2018 19:28:05 -0500 (EST) In-Reply-To: <7e19f841-cc71-4349-a993-5e9fcf4f937f@default> (Drew Adams's message of "Fri, 7 Dec 2018 14:46:15 +0000 (UTC)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6435=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6435> : inlines <6979> : streams <1806576> : uri <2762134> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153236 Archived-At: > This index entry seems a bit wrong, or perhaps the targeted text is a > bit wrong - in this sense: There is no occurrence of "tangible" or > "intangible" in that node. Using that index entry and arriving at that > node, a user can wonder what happened - why there is nothing there that > is explicitly about "intangible text". Perhaps the node should make > some mention of intangibility. The section is about text that is intangible in the sense that that point is automatically moved away from such text. > The text of that node did mention intangible originally, but Stefan > removed that as part of fixing bug#10222. I'll let Stefan explain why > he thought that was a good idea. I removed mention of the `intangible` property since AFAICT the corresponding code does not look at the `intangible` property (which is not handled "After Commands" but directly during execution of the various point motion Elisp functions). In my understanding "invisible/intangible" here refers to the concepts rather to the specific text-properties. How 'bout the patch below? Stefan diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 427379bc79..b6749d0a0c 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -1012,7 +1012,8 @@ Adjusting Point 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. +command loop normally moves point to the edge of the sequence, making this +sequence effectively intangible. A command can inhibit this feature by setting the variable @code{disable-point-adjustment}: