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 14:29:11 -0700 (PDT) Message-ID: References: <<<2178d9e1-fd5c-4045-9a10-d0c45b0de591@default> <<<83fuo088wa.fsf@gnu.org> <<225e9a9e-eaa2-4c6a-96f8-7106a9817491@default> <<83eg3k815a.fsf@gnu.org> <30cc62fc-abee-4f28-9677-82c610b841c5@default> <94371f44-4d03-64f2-ed88-edff3546a399@yandex.ru> <1efe9646-66d2-4d9b-b557-9911e148cb63@default> <4009a3e5-1fd4-fa68-a48d-48dacb181e96@yandex.ru> 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 1476394485 13057 195.159.176.226 (13 Oct 2016 21:34:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2016 21:34:45 +0000 (UTC) Cc: 24663@debbugs.gnu.org To: Dmitry Gutov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 13 23:34:41 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 1bune6-00028j-4J for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Oct 2016 23:34:34 +0200 Original-Received: from localhost ([::1]:43112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bune3-00075P-H0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Oct 2016 17:34:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bunZp-0003yR-Jo for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 17:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bunZj-00054U-Gf for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 17:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bunZj-00054N-Cw for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 17:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bunZj-000156-88 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2016 17:30:03 -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 21:30:03 +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.14763941634082 (code B ref 24663); Thu, 13 Oct 2016 21:30:03 +0000 Original-Received: (at 24663) by debbugs.gnu.org; 13 Oct 2016 21:29:23 +0000 Original-Received: from localhost ([127.0.0.1]:54560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bunZ5-00013m-78 for submit@debbugs.gnu.org; Thu, 13 Oct 2016 17:29:23 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:31229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bunZ3-00013Z-MI for 24663@debbugs.gnu.org; Thu, 13 Oct 2016 17:29:22 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9DLTFDL024445 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Oct 2016 21:29:15 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u9DLTE86010185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Oct 2016 21:29:15 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 u9DLTCi3001736; Thu, 13 Oct 2016 21:29:13 GMT In-Reply-To: <4009a3e5-1fd4-fa68-a48d-48dacb181e96@yandex.ru> 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: userv0022.oracle.com [156.151.31.74] 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:124452 Archived-At: > >> AROUND point. > > > > Really? In that case, that's what needs to be said in the doc. > > > > Of course, if it is AROUND point then presumably any text in the > > buffer can be used to determine what's to be completed (and in > > turn what the possible completions are). It could use only the > > first two or last six characters of the buffer, ignoring the > > text immediately surrounding point. >=20 > Not really. The region to complete has to include the point. The entire text in the buffer is AROUND point and includes point. But maybe you are mentioning another part of the behavior: some text around point is REPLACED by one of the completion candidates. If that is part of the behavior then that too should be mentioned in the doc.