From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 24663@debbugs.gnu.org
Subject: bug#24663: 24.5; doc string of `completion-at-point-functions'
Date: Thu, 13 Oct 2016 13:33:34 -0700 (PDT) [thread overview]
Message-ID: <30cc62fc-abee-4f28-9677-82c610b841c5@default> (raw)
In-Reply-To: <<83eg3k815a.fsf@gnu.org>>
> > > 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?
>
> 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 -
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.
>
> 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?
>
> 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.
>
> 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.
next parent reply other threads:[~2016-10-13 20:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<<2178d9e1-fd5c-4045-9a10-d0c45b0de591@default>
[not found] ` <<<83fuo088wa.fsf@gnu.org>
[not found] ` <<225e9a9e-eaa2-4c6a-96f8-7106a9817491@default>
[not found] ` <<83eg3k815a.fsf@gnu.org>
2016-10-13 20:33 ` Drew Adams [this message]
2016-10-13 20:35 ` bug#24663: 24.5; doc string of `completion-at-point-functions' Dmitry Gutov
2016-10-13 21:18 ` Drew Adams
2016-10-13 21:26 ` Dmitry Gutov
2016-10-13 21:29 ` Drew Adams
[not found] <<2178d9e1-fd5c-4045-9a10-d0c45b0de591@default>
[not found] ` <<83fuo088wa.fsf@gnu.org>
2016-10-13 19:46 ` Drew Adams
2016-10-13 20:06 ` Eli Zaretskii
2016-10-10 21:14 Drew Adams
2016-10-13 17:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30cc62fc-abee-4f28-9677-82c610b841c5@default \
--to=drew.adams@oracle.com \
--cc=24663@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.