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#24663: 24.5; doc string of `completion-at-point-functions' Date: Thu, 13 Oct 2016 13:33:34 -0700 (PDT) Message-ID: <30cc62fc-abee-4f28-9677-82c610b841c5@default> References: <<<2178d9e1-fd5c-4045-9a10-d0c45b0de591@default>>> <<<83fuo088wa.fsf@gnu.org>>> <<225e9a9e-eaa2-4c6a-96f8-7106a9817491@default>> <<83eg3k815a.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476390880 15810 195.159.176.226 (13 Oct 2016 20:34:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2016 20:34:40 +0000 (UTC) Cc: 24663@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 13 22:34:35 2016 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 1bumhj-00015B-Gk for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Oct 2016 22:34:15 +0200 Original-Received: from localhost ([::1]:42849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bumhh-0003iw-AJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Oct 2016 16:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bumha-0003ij-MC for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 16:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bumhW-0001vH-Hm for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 16:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bumhW-0001vA-Fl for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 16:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bumhW-0008E6-8x for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 16:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2016 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24663 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24663-submit@debbugs.gnu.org id=B24663.147639082831600 (code B ref 24663); Thu, 13 Oct 2016 20:34:02 +0000 Original-Received: (at 24663) by debbugs.gnu.org; 13 Oct 2016 20:33:48 +0000 Original-Received: from localhost ([127.0.0.1]:54534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bumhI-0008Dc-8a for submit@debbugs.gnu.org; Thu, 13 Oct 2016 16:33:48 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bumhG-0008DO-EK for 24663@debbugs.gnu.org; Thu, 13 Oct 2016 16:33:47 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9DKXcHL024860 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Oct 2016 20:33:40 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u9DKXcxn012207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Oct 2016 20:33:38 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u9DKXaAE008288; Thu, 13 Oct 2016 20:33:37 GMT In-Reply-To: <<83eg3k815a.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:124448 Archived-At: > > > I changed that to say "the entity at point" because the rest of the > > > doc string refers to that. > > > > 1. It cannot be "THE" thing (or THE entity) at point. Which one? >=20 > The one at point. The symbol? word? file name? URL? ... (yes, ... - there are any number of kinds of things, most of which - nay, all of which -=20 could be completed. > > You can get different kinds of thing at point. You must provide > > the desired THING type, for "thing at point" to mean anything. >=20 > My understanding is that it's up to the hooks. Then them most that the doc can & should say is that SOMETHING (some text) BEFORE point, is susceptible to completion. > > 2. I don't see how/why saying "entity" changes anything, here. > > "THE" entity? What is that? >=20 > Then I guess I will say that I don't want to fix that part. I got that. > > 3. It is not text AT point that is completed. It is text BEFORE > > point that is completed. AT can only refer to characters after > > point, not before. >=20 > The doc string doesn't say "text", it says "entity". IOW, it doesn't > talk about characters. What else is before point, besides characters? What else gets completed, besides text? OK, presumably a face or other text or overlay property, or a marker, before point could perhaps lead to some kind of completion. What that might amount to is anyone's guess. I don't think non-text completion is really what `completion-at-point-functions' is about (or has been about). It certainly isn't something that the doc string should imagine.