GNU bug report logs - #60085
30.0.50; `help-enable-autoload' is not fully obeyed

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Thu, 15 Dec 2022 08:59:01 UTC

Severity: normal

Found in version 30.0.50

To reply to this bug, email your comments to 60085 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#60085; Package emacs. (Thu, 15 Dec 2022 08:59:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ihor Radchenko <yantar92 <at> posteo.net>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Thu, 15 Dec 2022 08:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; `help-enable-autoload' is not fully obeyed 
Date: Thu, 15 Dec 2022 08:58:23 +0000
Hi,

This bug report is a follow-up from
https://orgmode.org/list/jwvfsdi6or0.fsf-monnier+emacs <at> gnu.org where
Stefan stated the following:

> >     Like I said in another message that I sent just before receiving yours
> >     my conclusion came from the fact that hitting 'C-h v' with the cursor
> >     on 'org-goto-interface' provided nothing.  It was the first time this
> >     ever happened to me.  I did try to explicitly enter the variable's
> >     name by entering 'org-goto<TAB>', which (like 'org-go<TAB>') is not
> >     enough: it is completed to 'org--goto'.
> 
> AFAICT this is a missing feature: we obey `help-enable-autoload` in
> `describe-function` but we fail to do the same autoloading dance in
> `describe-variable`.

Recipe 1:

1. emacs -Q
2. Type "debug-on-error"
3. C-h v
4. Observe "Describe variable (default debug-on-error): "
5. C-g
6. <RET> org-mouse-map
  (note that org-mouse.el is not auto-loaded)
7. C-h v
8. Observe "Describe variable: "
   Expected: "Describe variable (default org-mouse-map): "

Recipe 2:

1. emacs -Q
2. Type C-h v org-go <TAB>
3. Observe "Describe variable: org--goto"
4. C-g
5. M-: (require 'org-goto)
6. C-h v org-go <TAB>
7. Observe "Describe variable: org-goto-"

7 is expected at 3.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.35, cairo version 1.17.6) of 2022-12-07 built on localhost
Repository revision: f0e118d3f676afe39df29663399d4bbe8f53f208
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Gentoo Linux


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60085; Package emacs. (Thu, 15 Dec 2022 15:05:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Max Nikulin <manikulin <at> gmail.com>
To: Ihor Radchenko <yantar92 <at> posteo.net>, bug-gnu-emacs <at> gnu.org
Subject: Re: 30.0.50; `help-enable-autoload' is not fully obeyed
Date: Thu, 15 Dec 2022 22:04:40 +0700
On 15/12/2022 15:58, Ihor Radchenko wrote:
> 2. Type C-h v org-go <TAB>
> 3. Observe "Describe variable: org--goto"

Notice that

    C-h v org-goto- TAB TAB

offers completion to org-goto-interface since such string causes 
org-goto autoload.

Please, consider registered autoload prefixes as candidates for 
completion org-go -> org-goto-.

It would be great to share similar completion-related code in 
`describe-variable' and in `customize-variable'.




This bug report was last modified 1 year and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.