From rgm@gnu.org Thu Sep 17 16:02:59 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2009 23:03:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,FVGT_m_MULTI_ODD, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HN2vUw018447 for ; Thu, 17 Sep 2009 16:02:59 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoQ09-00050u-G3 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 19:02:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoQ05-000507-0C for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 19:02:56 -0400 Received: from [199.232.76.173] (port=58017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoQ04-000504-Qs for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 19:02:52 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:60403) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoQ04-0007mh-Ch for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 19:02:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoQ03-0000Mt-T7; Thu, 17 Sep 2009 19:02:52 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org Subject: after-load-functions: files are not absolute, some are missed X-Spook: EuroFed Khaddafi Audiotel PGP Zachawi White Water ASDIC X-Ran: Lu!B8rGXg3=/`3?SjI$HfBp5c60-P*tZ(MnF2ca[@G6AsU)K4;mXI#5QP'NMr-4-PK*>@^ X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 17 Sep 2009 19:02:51 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) In the current CVS trunk, I found myself having a (slight) need for a list of the dumped lisp files. I thought a simple patch like the following would work, but it has some problems: i) the file names stored are not absolute, though the doc of after-load-functions says they should be. (It's actually better in this case that they are non-absolute, but it conflicts with the doc.) ii) some files are missing. It turns out it is the non-compiled ones loaded after the setting of load-source-file-function. If this is non-nil, looks like Fload returns before running `after-load-functions'? *** loadup.el 15 Sep 2009 03:46:08 -0000 1.184 --- loadup.el 17 Sep 2009 22:57:00 -0000 *************** *** 64,69 **** --- 64,79 ---- ;; implemented in subr.el. (add-hook 'after-load-functions '(lambda (f) (garbage-collect))) + (defvar dumped-lisp-files nil + "List of Lisp files dumped with (i.e., compiled into) this Emacs.") + + (or dumped-lisp-files + (progn + (setq dumped-lisp-files '("subr" "emacs-lisp/backquote" + "emacs-lisp/byte-run")) + (add-hook 'after-load-functions + '(lambda (f) (add-to-list 'dumped-lisp-files f))))) + ;; We specify .el in case someone compiled version.el by mistake. (load "version.el") *************** *** 318,323 **** --- 328,335 ---- (equal (nth 4 command-line-args) "bootstrap")) (setcdr load-path nil)) + (remove-hook 'after-load-functions + '(lambda (f) (add-to-list 'dumped-lisp-files f))) (remove-hook 'after-load-functions '(lambda (f) (garbage-collect))) (setq inhibit-load-charset-map nil) From lekktu@gmail.com Thu Sep 17 16:39:10 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 17 Sep 2009 23:39:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HNd8pT024211 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 16:39:09 -0700 Received: by fxm9 with SMTP id 9so459218fxm.1 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 16:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=XR6w3L8FjXuay4B1CJ9e+3lkYHJtMqOAFnGked5vMGw=; b=uvQxATSp0va/S0KwfUzR+XxB3wA3Jky3cNQvatx6AXAKydmAuihfmvJM9f1vqSi8Wj GfkB7ywTSU0yUA/7QAKMJSuDPb18Nl8mIYk3hhGRisb1XX2AU6TVJFV1BB11Dn+eeqfs FHlsSbbIdnRNYI0i/vwnALRgb2QBtY0JnT8kg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=XFX+mdvBNvMg5sFVuALmf+N1HzNeKyuqayrbLpAQ96+NbTVkIce3BP4offzVMKaNGF uoTrmI0ryAIEWTLTl5b1jAheoJbXJgmdAjAfeLdCtR4AlOXGzrrH+vIQZJ/hVCGzfaYt LArh8NPqZ7e7wfDXUCRoUqoKebWG4xZEngeRg= MIME-Version: 1.0 Received: by 10.239.179.89 with SMTP id c25mr55967hbg.156.1253230742096; Thu, 17 Sep 2009 16:39:02 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 18 Sep 2009 01:38:42 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Glenn Morris Cc: 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 01:02, Glenn Morris wrote: > ii) some files are missing. It turns out it is the non-compiled ones > loaded after the setting of load-source-file-function. If this is > non-nil, looks like Fload returns before running `after-load-functions'? Stefan changed Fload so it now always calls do-after-load-evaluation, even while dumping Emacs. However, load-with-code-conversion (used for source files) still skips it: (unless purify-flag (do-after-load-evaluation fullname)) Juanma From lekktu@gmail.com Thu Sep 17 17:12:18 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 00:12:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I0CGQr029524 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 17:12:17 -0700 Received: by fxm9 with SMTP id 9so469418fxm.1 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 17:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=8i2GqM6GYzKiUAILfGX6nbOF3QSUDnsynEL5u5g9EXo=; b=MYMKq9kIg+BxVXsC4hgiTlZbYg025aA8/4Asnu90yN+UclbsaGy2YybMpoM8QeMTDK 2aTKTjziqNUjG552jVYJ9vEhbJgb9lNDpb0c4FQcL/EL63q9KjywJq/1Nbnq6Ckfv4t0 r9OOlRlpklyJXRPnbHXszXuzrUarDRgjy2fo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=UGyV4MATPN7W+koLrFsz91KGfWeaSsIHmnVBzd9c/I06GbySCqQpRdvuh281nFSW+1 q1Qv6PmmylUiJKfC9rPlh/cOGFBNDBakGtQxNk5bYK6jDz5nJTEU7JqbyhLQ263c9/X3 3DYnc7nWH/pqveH4pYsk53FJLV86NimdYOdvo= MIME-Version: 1.0 Received: by 10.239.134.221 with SMTP id a29mr66434hba.20.1253232730191; Thu, 17 Sep 2009 17:12:10 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 18 Sep 2009 02:11:50 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Glenn Morris Cc: 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 01:02, Glenn Morris wrote: > > In the current CVS trunk, I found myself having a (slight) need for a > list of the dumped lisp files. I thought a simple patch like the > following would work, but it has some problems: BTW, doesn't the patch below work for you? On my Emacs, this results in ("tooltip.elc" "ediff-hook.elc" "vc-hooks.elc" "emacs-lisp/float-sup.elc" "mwheel.elc" "w32-fns.elc" "dos-w32.elc" "disp-table.elc" "ls-lisp.elc" "term/w32-win.elc" "term/common-win.elc" "w32-vars.elc" "tool-bar.elc" "dnd.elc" "international/fontset.elc" "image.elc" "fringe.elc" "buff-menu.elc" "replace.elc" "textmodes/fill.elc" "textmodes/text-mode.elc" "emacs-lisp/lisp-mode.elc" "textmodes/paragraphs.elc" "register.elc" "textmodes/page.elc" "emacs-lisp/lisp.elc" "paths.el" "menu-bar.elc" "rfn-eshadow.elc" "isearch.elc" "emacs-lisp/timer.elc" "select.elc" "scroll-bar.elc" "mouse.elc" "jit-lock.elc" "font-lock.elc" "emacs-lisp/syntax.elc" "facemenu.elc" "font-core.elc" "term/tty-colors.elc" "frame.elc" "window.elc" "indent.elc" "language/cham.el" "language/burmese.el" "language/khmer.el" "language/georgian.el" "language/utf-8-lang.el" "language/misc-lang.el" "language/vietnamese.elc" "language/tibetan.elc" "language/thai.el" "language/tai-viet.el" "language/lao.el" "language/korean.el" "language/japanese.el" "international/eucjp-ms.el" "international/cp51932.el" "language/hebrew.el" "language/greek.el" "language/romanian.el" "language/slovak.el" "language/czech.el" "language/european.elc" "language/ethiopic.elc" "language/english.el" "language/sinhala.el" "language/indian.elc" "language/cyrillic.elc" "language/chinese.elc" "international/charprop.el" "composite.elc" "international/characters.elc" "case-table.elc" "international/mule-cmds.elc" "epa-hook.elc" "jka-cmpr-hook.elc" "help.elc" "simple.elc" "abbrev.elc" "loaddefs.el" "startup.elc" "button.elc" "minibuffer.elc" "faces.elc" "cus-face.elc" "files.elc" "bindings.elc" "format.elc" "env.elc" "international/mule-conf.el" "international/mule.elc" "cus-start.elc" "emacs-lisp/map-ynp.elc" "custom.elc" "widget.elc" "version.el" "subr.elc" "emacs-lisp/backquote.elc" "emacs-lisp/byte-run.elc") which seems about right. Juanma Index: lisp/loadup.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/loadup.el,v retrieving revision 1.184 diff -u -2 -r1.184 loadup.el --- lisp/loadup.el 15 Sep 2009 03:46:08 -0000 1.184 +++ lisp/loadup.el 18 Sep 2009 00:06:20 -0000 @@ -65,4 +65,7 @@ (add-hook 'after-load-functions '(lambda (f) (garbage-collect))) +(defvar dumped-lisp-files nil + "List of Lisp files dumped with (i.e., compiled into) this Emacs.") + ;; We specify .el in case someone compiled version.el by mistake. (load "version.el") @@ -319,4 +322,7 @@ (setcdr load-path nil)) +(or dumped-lisp-files + (setq dumped-lisp-files (mapcar 'car load-history))) + (remove-hook 'after-load-functions '(lambda (f) (garbage-collect))) From rgm@gnu.org Thu Sep 17 17:19:43 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 00:19:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I0JgCe030524 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 17:19:43 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoRCP-0005TK-A0; Thu, 17 Sep 2009 20:19:41 -0400 From: Glenn Morris To: Juanma Barranquero Cc: 4473@debbugs.gnu.org Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed References: X-Spook: Baranyi digicash Skipjack Taiwan propaganda chameleon man X-Ran: Ayi6)-]q^5+Zkdh@g(WKtp}B12r71AL#zfF5jnhFg7E;IN=+Zl$>(W>kUaPPXpP/m-|`Wv X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 17 Sep 2009 20:19:41 -0400 In-Reply-To: (Juanma Barranquero's message of "Fri, 18 Sep 2009 02:11:50 +0200") Message-ID: <6gpr9pm7du.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Juanma Barranquero wrote: > BTW, doesn't the patch below work for you? D'oh, yes it does. Worth committing? From lekktu@gmail.com Thu Sep 17 17:29:21 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 00:29:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I0TJ7r031955 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 17:29:20 -0700 Received: by bwz23 with SMTP id 23so770026bwz.1 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 17:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=7XXwEh7L47mDf/ySz+KjLD2uu/A/8RpZkzeSy6tll88=; b=DLZ23//wJuWL813n+O38hzYZ3mP/Bw15HMiVOUc6ouERx0vF17jh5j65biNjhXE3+a rRbGr8HCGPfSm8feFACA19ANBKFhbATaK9lU7uWRtXKufhJvzsZWScTsHnB0DmWNkImL IOrNly0fFcnysgCHGu0+LiMssfj71why0wMbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=UW1TshsfLYFDQ5OsN8ym22CN7mm+mtIhKEP0M7PrVfpJiaiIgKh/wpi2Gb3PPS0Yb6 9xydq9hxyi8TjKJ9zR1cj0ORgMyrq8Q5ZG3ip13ZxlwuK6dQeHdgvXuRt/H2fAfDLg0f xUBuExC00SuHJHzhkkuXws7KBbjXB8qwiPn3A= MIME-Version: 1.0 Received: by 10.239.134.221 with SMTP id a29mr67571hba.20.1253233753101; Thu, 17 Sep 2009 17:29:13 -0700 (PDT) In-Reply-To: <6gpr9pm7du.fsf@fencepost.gnu.org> References: <6gpr9pm7du.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Fri, 18 Sep 2009 02:28:53 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Glenn Morris Cc: 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 02:19, Glenn Morris wrote: > D'oh, yes it does. Worth committing? If you have a use for it, I suppose so. Juanma From lekktu@gmail.com Thu Sep 17 20:05:44 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 03:05:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I35fPI023239 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:05:43 -0700 Received: by bwz23 with SMTP id 23so819251bwz.1 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=D9qS/HOcTCJQ/iQnqz2SyHVyfTpugf0zfgGRq60NFSM=; b=w8ChCMVVt2GzooqL2S4esuWm/xCYg6hMJMAVR/2DYKz33GcPXxSqJTRkt+SpzYw1yQ +UgPRAtS5iijRUkeglDBWCg43zO3BEIl9DLlCcI04zD6ypEoMPGPLeKMNypxpN5rS3v3 XOB03ZsGXq3NLbKG2bWvdSndPXBHIyWM1wuoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Q1N5YHUryA7gsfTKo1p1FfmoeCvc6eoqZ0rj/cdSSc1DalrqnTPhBR/U7ClImFjjlY K3WhUAxQaSluLlmnIHBoyFEEnA8WnL0SPNvciqInGLV5dIXB2VY7b0H2BCx6x/o6ThMN bFc7aHmqpYJ88cvPUo2FQGaJ7oVTAZyvUiG8Y= MIME-Version: 1.0 Received: by 10.239.134.221 with SMTP id a29mr77941hba.20.1253243136070; Thu, 17 Sep 2009 20:05:36 -0700 (PDT) In-Reply-To: References: <6gpr9pm7du.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Fri, 18 Sep 2009 05:05:16 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Glenn Morris Cc: 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 02:28, Juanma Barranquero wrote: >> D'oh, yes it does. Worth committing? Easier still :-) preloaded-file-list is a variable defined in `lread.c'. Its value is ("tooltip" ... "loadup.el") Documentation: List of files that were preloaded (when dumping Emacs). Juanma From monnier@iro.umontreal.ca Thu Sep 17 20:13:40 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 03:13:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I3DdnF024268 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:13:40 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANeXskpLd/GK/2dsb2JhbACBU9MuhBwFh34 X-IronPort-AV: E=Sophos;i="4.44,407,1249272000"; d="scan'208";a="45930390" Received: from 75-119-241-138.dsl.teksavvy.com (HELO pastel.home) ([75.119.241.138]) by ironport2-out.pppoe.ca with ESMTP; 17 Sep 2009 23:13:33 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5A943827E; Thu, 17 Sep 2009 23:13:33 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Cc: 4473@debbugs.gnu.org, Juanma Barranquero Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed Message-ID: References: <6gpr9pm7du.fsf@fencepost.gnu.org> Date: Thu, 17 Sep 2009 23:13:33 -0400 In-Reply-To: <6gpr9pm7du.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 17 Sep 2009 20:19:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> BTW, doesn't the patch below work for you? > D'oh, yes it does. Worth committing? Why not just use preloaded-file-list? Stefan From lekktu@gmail.com Thu Sep 17 20:17:03 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 03:17:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I3H1FO024667 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:17:03 -0700 Received: by fxm9 with SMTP id 9so525731fxm.1 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=gfKh1AxdSCJ898NJoG3oqmWFcKKPXCwBqVmwO7d8ZxY=; b=CZSgPoCNH5UI+02x64XjryTTxnHP9IyGKiqqwQygZx0iXz7e4I0EYSbFkTMGzLuCEY uTnBIwpufW117L+qc8y4CYjOGVFr9m9RcaPPlxuKCtijcKeW7BkP/+B2XFiwjLstvyUq 9TbFi+Y6RvGEKsax3LoeE+l0C+pGRIkLWhF5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=E+K1l8n3YHPOgmlkAvZRBkXbXQfLbZRurYIry/X1sZqA9GqW7H3raW8fnadUzupJCj czCGrjzUNkz3IKLpT3imFAkbhuWZL/mQ1DwRa3lyn+XP3E6wXYr/LqvLqwvGTxn5JXzH RFvuG674yEUW7F7WnUejBDPlePnlzMHFrM9I8= MIME-Version: 1.0 Received: by 10.239.186.147 with SMTP id g19mr63863hbh.210.1253243816114; Thu, 17 Sep 2009 20:16:56 -0700 (PDT) In-Reply-To: References: <6gpr9pm7du.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Fri, 18 Sep 2009 05:16:36 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Stefan Monnier Cc: Glenn Morris , 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 05:13, Stefan Monnier wrote: > Why not just use preloaded-file-list? Because Glenn and I had not discovered it yet :-) Juanma From lekktu@gmail.com Thu Sep 17 20:18:40 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 03:18:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I3IcxY024970 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:18:39 -0700 Received: by fg-out-1718.google.com with SMTP id 16so327282fgg.13 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 20:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=PyznEk3azZLG8v0hshYtit9hWOUYJQv6NLw9GQRu5hM=; b=YCiefx18DLIZR/sC6s1KL1Px7yLkSTjRfxwShqunbFJELCYaSQyTaeol3dQGlXTVOO chFlALZQHpo7tpYcBB63jPStAuQD1RlIQeap0lB5Uj1ejzWt7UnmH458FXyVC10BqT0q 10KiTTi4wfwKH7ar+YC4pnIdHbpww2will/vQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=k8RlCqJ9ygEqk5aY7TygwPi4kc9AYyG5gBkiwMsgwBmD5gUeQZ1GJcel9jf39zr7yG nUrIOhIC8zVroSvWZ2uwm/emA23Fm49mvboHPzQ8wkxUjRUFeFEwi6QYTkinOqbakOjo +snsVIDWT/DV1kRSRLKpjZRGp2NSqsTQQFyaU= MIME-Version: 1.0 Received: by 10.239.168.131 with SMTP id k3mr69462hbe.101.1253243917089; Thu, 17 Sep 2009 20:18:37 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 18 Sep 2009 05:18:17 +0200 Message-ID: Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed To: Glenn Morris Cc: 4473@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 18, 2009 at 01:02, Glenn Morris wrote: > i) the file names stored are not absolute, though the doc of > after-load-functions says they should be. (It's actually better in > this case that they are non-absolute, but it conflicts with the doc.) >From the docstring of `load-history': During preloading, the file name recorded is relative to the main Lisp directory. These file names are converted to absolute at startup. So perhaps the docstring of `after-load-functions' should be fixed to note this discrepancy. Juanma From rgm@gnu.org Thu Sep 17 23:22:28 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 06:22:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I6MQCw019483 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 23:22:28 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoWrQ-00035C-PV; Fri, 18 Sep 2009 02:22:24 -0400 From: Glenn Morris To: Juanma Barranquero Cc: 4473@debbugs.gnu.org Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed References: <6gpr9pm7du.fsf@fencepost.gnu.org> X-Spook: afsatcom JSOFC3IP wire transfer World Trade Center X-Ran: "KZoJoI|4\6p7}!P;L%}/90mF (Juanma Barranquero's message of "Fri, 18 Sep 2009 05:05:16 +0200") Message-ID: <5gr5u4lqlb.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Juanma Barranquero wrote: > preloaded-file-list is a variable defined in `lread.c'. Double d'oh! Thanks... From rgm@gnu.org Thu Sep 17 23:23:40 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 06:23:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I6Ndk6019513 for <4473@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 23:23:40 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoWsc-00036p-OP; Fri, 18 Sep 2009 02:23:38 -0400 From: Glenn Morris To: Stefan Monnier Cc: 4473@debbugs.gnu.org, Juanma Barranquero Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed References: <6gpr9pm7du.fsf@fencepost.gnu.org> X-Spook: JUWTF PET offensive information warfare covert video Rand X-Ran: 1rNY%9vF49$}2@$l9Phxc (Stefan Monnier's message of "Thu, 17 Sep 2009 23:13:33 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Monnier wrote: > Why not just use preloaded-file-list? The usual reason - stupidity. :( From rgm@gnu.org Thu Sep 17 23:25:25 2009 Received: (at 4473-done) by emacsbugs.donarmstrong.com; 18 Sep 2009 06:25:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I6PN3l019874 for <4473-done@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 23:25:25 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoWuJ-0003Ah-6V; Fri, 18 Sep 2009 02:25:23 -0400 From: Glenn Morris To: Juanma Barranquero Cc: 4473-done@debbugs.gnu.org Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed References: X-Spook: keyhole Guantanamo SEAL Team 6 Taiwan Nazi CIDA JSOFC3IP X-Ran: fLY(mw?aE-{\nW[+ch,5.';>* X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 18 Sep 2009 02:25:23 -0400 In-Reply-To: (Juanma Barranquero's message of "Fri, 18 Sep 2009 05:18:17 +0200") Message-ID: <5hiqfglqgc.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Juanma Barranquero wrote: > During preloading, the file name recorded is relative to the main Lisp > directory. These file names are converted to absolute at startup. > > So perhaps the docstring of `after-load-functions' should be fixed to > note this discrepancy. Bah, it's a fairly obscure use case, that turns out not to even be necessary in this case. So probably not worth mentioning. Thanks for setting me straight. From eliz@gnu.org Fri Sep 18 02:10:24 2009 Received: (at 4473) by emacsbugs.donarmstrong.com; 18 Sep 2009 09:10:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout3.012.net.il (mtaout4.012.net.il [84.95.2.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8I9AMfR012958 for <4473@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 02:10:24 -0700 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KQ500200TF41H00@i_mtaout3.012.net.il> for 4473@emacsbugs.donarmstrong.com; Fri, 18 Sep 2009 12:10:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.39.235]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KQ500L12TH2CPF0@i_mtaout3.012.net.il>; Fri, 18 Sep 2009 12:10:15 +0300 (IDT) Date: Fri, 18 Sep 2009 12:10:20 +0300 From: Eli Zaretskii Subject: Re: bug#4473: after-load-functions: files are not absolute, some are missed In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris , 4473@debbugs.gnu.org Cc: monnier@iro.umontreal.ca, lekktu@gmail.com Reply-to: Eli Zaretskii Message-id: <83eiq4wrcz.fsf@gnu.org> References: <6gpr9pm7du.fsf@fencepost.gnu.org> > From: Glenn Morris > Date: Fri, 18 Sep 2009 02:23:38 -0400 > Cc: 4473@emacsbugs.donarmstrong.com, Juanma Barranquero > > Stefan Monnier wrote: > > > Why not just use preloaded-file-list? > > The usual reason - stupidity. :( I'd say there could be another one: that it isn't documented in the ELisp manual. From unknown Sun Jun 15 08:12:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Oct 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator