[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading when viewing docstring of autoloaded function
From: |
Stefan Monnier |
Subject: |
Re: Loading when viewing docstring of autoloaded function |
Date: |
Sat, 23 Jun 2012 10:12:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> The most annoying aspect is that autoloaded functions often have
> docstrings containing key substitution constructs, which are expanded
> into `M-x FOO' because the relevant keymaps are not yet defined. I'd
> like to suggest a simple workaround: if an autoloaded function contains
> key substitution constructs, just outright load the library where it was
> defined. There's not much point in being conservative about loading
> libraries, since it is so fast nowadays. See attached patch.
I don't mind auto-loading eagerly, but I do care about seeing
"autoloaded" on the first line of the description of the function,
because I often use C-h f <foo> RET to figure out whether that function
is autoloaded or is already fully defined.
Stefan