From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Basic question about autoload function Date: Fri, 08 Dec 2017 18:59:04 +0000 Message-ID: References: <8199d375-ba83-44b0-b30f-5503fab7f4cf@default> <87mv2ts5im.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512759583 15554 195.159.176.226 (8 Dec 2017 18:59:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 18:59:43 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 19:59:36 2017 Return-path: Envelope-to: geh-help-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 1eNNrz-0003qE-Tq for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 19:59:36 +0100 Original-Received: from localhost ([::1]:38636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNNs6-0006q5-M4 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 13:59:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNNrh-0006pp-CJ for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 13:59:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNNrg-0000wI-KR for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 13:59:17 -0500 Original-Received: from mail-yb0-x234.google.com ([2607:f8b0:4002:c09::234]:42515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNNrg-0000w6-Fo for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 13:59:16 -0500 Original-Received: by mail-yb0-x234.google.com with SMTP id t127so4651568ybf.9 for ; Fri, 08 Dec 2017 10:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+9PmNJl8/kHZ9lF+bUgUMW+sLDGEI4NzQDcQCtwnz0M=; b=Tu/mL/wKQcubgeTdC01wqAFvWo4Pqizt8qqugUwpLKLnpbsaKWSSW5nd63snFP2DVx Uffzh48XwXyRBBBF6JC7nL2qw0bj4Jm+OANpX+sLnxZcA8qqbMgMBbe2VLjjxzp6FD93 KN7PCNC7PKzNAcv3inKrRBFL3yTnisfmrenOXu63bZEayEzkR9FKLCcO+l6SaTrvmOAK Q+bnhHUkER49A3hnk5XhaSKpykjxEOx5PLlXrDBW4DnKO+dwbuQn5ZmwwAl/Y6b+ZaVR rmMGxd0tEWgydOIFqlf/IyM/x8/LHrQpspHP6vPq/c5IWBhpbWpq3B62Nur+xIXFSBW4 7V1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+9PmNJl8/kHZ9lF+bUgUMW+sLDGEI4NzQDcQCtwnz0M=; b=UhZWB5ssnRStUuWyQH9MXFyLRWcRYj98nh4A/cmMiyWw7MIGyYLLy4OlpYBoI3TyC3 jtdAsmEeyTFuCylHCBSmGZCUu3WBpBvJvk41glXzwBkcPDK+xxrkBkVj6MmrDmM4982E Rufmjy/kuq7l8k4jDykGFB+8ovBGC5lOBWO0LQXC6EFPAgqbIZKxa4nahlScAL7+uL3x VzOl+WfQudCZOoOyQ5rKVpFlPatXwptFLPrQqd6wTEt2CvaylT5t72qq04BWWN5YOBZC UbHoxy3Z9CQoOCB6aBsFnyF8pAqGeZXhhLuvGFoGdtCQCVShD/ArSWhb2g7G+wb4q1Wu b5vA== X-Gm-Message-State: AKGB3mLYGnp1O0SZhyi1qvpN7ldnfbsKufZBXaULLz87s3jiS+Xit1GZ V2Dbgounlk7ni+vlYSzpB177CwC3Tr+58g7QqzA= X-Google-Smtp-Source: AGs4zMYWIU5fJHWP/Lpjq5Vje+WRse4ZF8/DC7xkXtMurQ39l8wVKrXtTEbmVs4tUV1UDNhbKLh+zH9BMLLpk2M+RV0= X-Received: by 10.37.18.197 with SMTP id 188mr4682911ybs.494.1512759555688; Fri, 08 Dec 2017 10:59:15 -0800 (PST) In-Reply-To: <87mv2ts5im.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115309 Archived-At: On Fri, Dec 8, 2017 at 8:39 AM Michael Heerdegen wrote: > Looking at the DEFUN of `autoload-do-load' in eval.c, it is only checked > whether after loading the FILE, the `indirect-function' of the symbol > FUNCTION has changed. So AFAICT yes, it doesn't matter where the > function is defined, as long as it has been defined after loading the > FILE. Which is also what I would expect, since "the file which defined > some function" is not necessarily well-defined. > Thank you. -- Kaushal Modi