unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Drew Adams <drew.adams@oracle.com>
Cc: 33662@debbugs.gnu.org
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	[thread overview]
Message-ID: <jwvtvjn4km9.fsf-monnier+bug#33662@gnu.org> (raw)
In-Reply-To: <7e19f841-cc71-4349-a993-5e9fcf4f937f@default> (Drew Adams's message of "Fri, 7 Dec 2018 14:46:15 +0000 (UTC)")

> 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}:





  parent reply	other threads:[~2018-12-09  0:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-07 14:46 bug#33662: 26.1; Elisp manual, index entry `invisible/intangible text, and point' and target Drew Adams
2018-12-07 15:09 ` Eli Zaretskii
2018-12-09  0:28 ` Stefan Monnier [this message]
2018-12-09  4:05   ` Drew Adams
2018-12-09  6:39   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jwvtvjn4km9.fsf-monnier+bug#33662@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=33662@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).