From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28607: 27.0.50; help-fns unsolicited elisp loading Date: Mon, 20 May 2019 20:01:08 +0100 Message-ID: <177F0F6E-C039-4B16-BE38-801C32720337@gnu.org> References: <87efqtoc9u.fsf@udel.edu> <3cvak51n96.fsf@fencepost.gnu.org> <20170926155126.kujypxt33oxbzxsq@logos.localdomain> <83in5xjzak.fsf@gnu.org> <874l5vf8q5.fsf@gmail.com> <83sgtecyen.fsf@gnu.org> <87tvdrda6j.fsf@gmail.com> <83woin91sj.fsf@gnu.org> <875zq5audt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90245"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android Cc: mvoteiza@udel.edu, 28607@debbugs.gnu.org, monnier@iro.umontreal.ca To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 20 21:03:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSnYw-000NHA-1W for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2019 21:03:06 +0200 Original-Received: from localhost ([127.0.0.1]:40575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSnYu-00080K-Uo for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2019 15:03:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSnY8-0007hD-Qb for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 15:02:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSnXy-0004vQ-Sm for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 15:02:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSnXt-0004tm-Vw for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 15:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSnXt-0004ep-PW for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 15:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 May 2019 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28607-submit@debbugs.gnu.org id=B28607.155837888317839 (code B ref 28607); Mon, 20 May 2019 19:02:01 +0000 Original-Received: (at 28607) by debbugs.gnu.org; 20 May 2019 19:01:23 +0000 Original-Received: from localhost ([127.0.0.1]:37892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSnXG-0004df-Pj for submit@debbugs.gnu.org; Mon, 20 May 2019 15:01:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSnXE-0004dR-Nm for 28607@debbugs.gnu.org; Mon, 20 May 2019 15:01:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSnX9-0004Tq-4U; Mon, 20 May 2019 15:01:15 -0400 Original-Received: from [176.12.228.152] (port=38102 helo=[10.208.105.103]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hSnX6-0007AW-Ok; Mon, 20 May 2019 15:01:13 -0400 In-Reply-To: <875zq5audt.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:159587 Archived-At: On May 20, 2019 6:49:34 PM GMT+01:00, Noam Postavsky = wrote: > Eli Zaretskii writes: >=20 > >> +@node Autoload by Prefix > >> +@subsection Autoload by Prefix > > > > I think a "@cindex autoload by prefix" would be good here=2E >=20 > Sure=2E >=20 > >> +During completion for the commands @code{describe-variable} and > >> +@code{describe-function}, Emacs will try to load files which may > >> +contain definitions matching the prefix being completed=2E The > variable > >> +@code{definition-prefixes} holds a hashtable which maps a prefix > to > >> +the corresponding list of files to load for it=2E Entries to this > >> +mapping are added by calls to @code{register-definition-prefixes} > >> +which are generated by @code{update-file-autoloads}=2E Files which > >> +don't contain any definitions worth loading (test files, for > >> +examples), should set @code{autoload-compute-prefixes} to > @code{nil} > >> +as a file-local variable=2E > > > > I would add a cross-reference to where update-file-autoloads is > > described after it's mentioned=2E >=20 > Um, how should I do this? I tried (I've also added > @anchor{update-file-autoloads} below @findex update-file-autoloads): >=20 > the corresponding list of files to load for it=2E Entries to this > mapping are added by calls to @code{register-definition-prefixes} > which are generated automatically (@pxref{update-file-autoloads, > @code{update-file-autoloads}})=2E Files which don't contain any >=20 > But it looks rather strange, it adds an extra period=2E >=20 > corresponding list of files to load for it=2E Entries to this mapping > are added by calls to `register-definition-prefixes' which are > generated automatically (*note `update-file-autoloads' > =2E)=2E Files which don't contain any definitions You don't hzve to add @anchor, it's good enough to point to the node=2E