all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ;;;###autoload declarations
@ 2023-06-23 11:09 uzibalqa
  2023-06-23 16:08 ` Michael Heerdegen
  0 siblings, 1 reply; 10+ messages in thread
From: uzibalqa @ 2023-06-23 11:09 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor

Have been looking at the ;;;###autoload declaration.  Reading through the manual,
the cookie just before the real definition of a function, indicates that a specific
function exists.  Without such declaration, the function call would generate an error
because the required function has not been properly included in the code before 
attempting to call the function.  This is done so that emacs would not consume system
resources and slow down.

Yet, one still needs a call to "require" which loads the file and all its deffun's and
defvar's even without any use of the ;;;###autoload declaration.

It then seems to me that although autoloading is intended as described, technically 
it is untrue, because everything seems to be evaluated all in one go.

What is going on ?











^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-07-03 15:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 11:09 ;;;###autoload declarations uzibalqa
2023-06-23 16:08 ` Michael Heerdegen
2023-06-23 16:42   ` uzibalqa
2023-06-24  2:02     ` Michael Heerdegen
2023-06-24 11:27       ` uzibalqa
2023-06-25  1:55         ` Michael Heerdegen
2023-06-23 18:26   ` Emanuel Berg
2023-06-26 13:27     ` [External] : " Drew Adams
2023-06-30 15:35       ` Emanuel Berg
2023-07-03 15:59         ` Drew Adams

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.