From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33662: 26.1; Elisp manual, index entry `invisible/intangible text, and point' and target Date: Sat, 8 Dec 2018 20:05:03 -0800 (PST) Message-ID: References: <7e19f841-cc71-4349-a993-5e9fcf4f937f@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544328248 22629 195.159.176.226 (9 Dec 2018 04:04:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2018 04:04:08 +0000 (UTC) Cc: 33662@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 09 05:04:03 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 1gVqK2-0005lI-TV for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Dec 2018 05:04:03 +0100 Original-Received: from localhost ([::1]:53822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVqM9-0000j6-H5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2018 23:06:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVqM3-0000j0-A2 for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 23:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVqLz-0006PU-Ku for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 23:06:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34871) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVqLy-0006PM-EF for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 23:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVqLy-00072a-5w for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2018 23:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Dec 2018 04:06: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.154432831627012 (code B ref 33662); Sun, 09 Dec 2018 04:06:02 +0000 Original-Received: (at 33662) by debbugs.gnu.org; 9 Dec 2018 04:05:16 +0000 Original-Received: from localhost ([127.0.0.1]:39129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVqLD-00071c-VI for submit@debbugs.gnu.org; Sat, 08 Dec 2018 23:05:16 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:35068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVqLC-00071Q-Ao for 33662@debbugs.gnu.org; Sat, 08 Dec 2018 23:05:15 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wB9458RW125251; Sun, 9 Dec 2018 04:05:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=v1CPs2d+902/az/tDe3DMXjHsnKraw8hg7gdXaunf7s=; b=rEeoaQd1dUqd0JL+OuvgWm8vzNCCXXVR13f3RuWYrCbBt7mt8jH0GNoUi+LYfmoi4kXI h/C+od6l7zFQOtv2AkSy+6NkupqOyfxZ4EIwKT9tztkwzxg5bXqIAp++ckDUGGqwiyJa iVQR+pYdd+9Ag1VYbOue44qAtLQL8+hh1pAIRFRn0eQNJ00VFDnj5wsAM1B9iBzACjh6 Ub782bdySSDPheITFp5Ke65qCFtr70GqvkYjWOI8SmHa3jEiWWf7j8BMaKPdgtRXGHsO /ioaOv7843LrMJ3MAaUriTx0JEbXvM5xnTXX5kvi2hRQt/6N2Zv2P01Ck6ScU0h44If+ nQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2p86kqhqt7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 09 Dec 2018 04:05:08 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wB9457lJ003535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 9 Dec 2018 04:05:07 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wB9454av009079; Sun, 9 Dec 2018 04:05:06 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4771.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9101 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812090037 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:153242 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. >=20 > The section is about text that is intangible in the sense that that > point is automatically moved away from such text. >=20 > > 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. >=20 > 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). >=20 > In my understanding "invisible/intangible" here refers to the concepts > rather to the specific text-properties. >=20 > How 'bout the patch below? > > 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. Thanks for taking a look. I can't really tell what the right fix is. I was looking for info about intangible text (knowing nothing about it and guessing, wrongly, that it might be something I could use in a particular use case). I used `i', and matched against that long index entry (using regexp or substring completion matching): `invisible/intangible text, and point'. If that node is really about intangible text then your change is maybe the right fix. If it is not really about that (or if it shouldn't really be about it) then the fix is perhaps to change that index entry. I'm guessing that that index entry should anyway be changed somehow (perhaps become multiple entries, maybe be removed altogether - dunno). It's a long, weird index entry. And without substring matching for `i' candidates it's unlikely that someone would be able to use that entry to find that node for info about "intangibility" anyway. Since you're here ;-), and since you apparently wrote `cursor-sensor.el', perhaps you could take a look at bug #33664 also? Thx.