From unknown Tue Sep 09 06:10:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10946 <10946@debbugs.gnu.org> To: bug#10946 <10946@debbugs.gnu.org> Subject: Status: 24.0.94; eval-after-load incompatible change Reply-To: bug#10946 <10946@debbugs.gnu.org> Date: Tue, 09 Sep 2025 13:10:57 +0000 retitle 10946 24.0.94; eval-after-load incompatible change reassign 10946 emacs submitter 10946 Leo severity 10946 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 05:59:16 2012 Received: (at submit) by debbugs.gnu.org; 5 Mar 2012 10:59:16 +0000 Received: from localhost ([127.0.0.1]:33723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4VdG-0005KB-6y for submit@debbugs.gnu.org; Mon, 05 Mar 2012 05:59:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57616) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4Vco-0005JZ-5N for submit@debbugs.gnu.org; Mon, 05 Mar 2012 05:58:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4Vby-0001zL-HO for submit@debbugs.gnu.org; Mon, 05 Mar 2012 05:57:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Vby-0001zH-CI for submit@debbugs.gnu.org; Mon, 05 Mar 2012 05:57:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Vbt-0006nx-OX for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 05:57:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4Vbn-0001yP-BO for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 05:57:45 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:57993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Vbn-0001yE-41 for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 05:57:39 -0500 Received: by iajr24 with SMTP id r24so6541107iaj.0 for ; Mon, 05 Mar 2012 02:57:37 -0800 (PST) Received-SPF: pass (google.com: domain of sdl.web@gmail.com designates 10.50.197.135 as permitted sender) client-ip=10.50.197.135; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sdl.web@gmail.com designates 10.50.197.135 as permitted sender) smtp.mail=sdl.web@gmail.com; dkim=pass header.i=sdl.web@gmail.com Received: from mr.google.com ([10.50.197.135]) by 10.50.197.135 with SMTP id iu7mr6121560igc.50.1330945057395 (num_hops = 1); Mon, 05 Mar 2012 02:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:x-debbugs-cc:date:message-id:mime-version :content-type; bh=mqLLMBAJqC1bNpUmM43QR9ZAPzlb68k19wTswIgHspI=; b=JIv0Bq8VglI3DEIPe40wb3GYblTRsWtLXvt6j0n1Vc8MfsL+5XSop9ptlySFEBigmn XX67xwn4EGOcQvc+mISJy8Qw7Llx1o5C0OqmRrsbFH/ev7gMXKXsTd0o+q1c4PicjsL7 7Kbad76CItzAepdrcoCnJxgQtFKdHd7sfCgO9ZsnUzMq+spaLdxW63mXK1GIHlJsog+G yQI+ZAItDJSdwFBMuQPpFXAdhC/ohDyN/RBFo4k8nKV9nF6W6vCnTPfxPsB7QJtglI3k s7nBR78hQpdqshMAAnEdZyJzptgYL24jXlrZR8gzHtrUMKVGmCPM9R/Fhz+vMuuKq52+ vBXg== Received: by 10.50.197.135 with SMTP id iu7mr5068791igc.50.1330945057351; Mon, 05 Mar 2012 02:57:37 -0800 (PST) Received: from localhost ([111.194.110.241]) by mx.google.com with ESMTPS id hr6sm7592908igc.8.2012.03.05.02.57.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 02:57:33 -0800 (PST) From: Leo To: bug-gnu-emacs@gnu.org Subject: 24.0.94; eval-after-load incompatible change X-Debbugs-CC: Stefan Monnier Date: Mon, 05 Mar 2012 18:57:23 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I recently upgraded to emacs 24 and I noticed some after-load forms not running any more. In emacs 23, when provide is invoked, it checks after-load-alist and runs the matching form. In emacs 24, the after-load form is guarded by load-file-name and thus `provide' alone cannot trigger eval'ing after-load form. One of my after-load forms is related to some code defined via pymacs, which has no load-file-name. This incompatible change breaks all such forms related to pymacs. I don't know how best to fix this. Leo From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 10:07:10 2012 Received: (at 10946) by debbugs.gnu.org; 5 Mar 2012 15:07:10 +0000 Received: from localhost ([127.0.0.1]:34254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4ZV1-0003Qp-KV for submit@debbugs.gnu.org; Mon, 05 Mar 2012 10:07:10 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:18657) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4ZUa-0003QB-Dn for 10946@debbugs.gnu.org; Mon, 05 Mar 2012 10:06:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="166064947" Received: from 69-196-155-229.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Mar 2012 10:05:39 -0500 Received: by pastel.home (Postfix, from userid 20848) id 85D1458DDA; Mon, 5 Mar 2012 10:05:39 -0500 (EST) From: Stefan Monnier To: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Mon, 05 Mar 2012 10:05:39 -0500 In-Reply-To: (Leo's message of "Mon, 05 Mar 2012 18:57:23 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > One of my after-load forms is related to some code defined via pymacs, > which has no load-file-name. Can you provide some details about how/why there's no load-file-name (which I guess just means it's nil). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 11:18:51 2012 Received: (at submit) by debbugs.gnu.org; 5 Mar 2012 16:18:51 +0000 Received: from localhost ([127.0.0.1]:34313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4acc-00057q-Kt for submit@debbugs.gnu.org; Mon, 05 Mar 2012 11:18:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46286) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4acG-00057H-RS for submit@debbugs.gnu.org; Mon, 05 Mar 2012 11:18:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4abK-0006w4-Cp for submit@debbugs.gnu.org; Mon, 05 Mar 2012 11:17:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_NUMERIC_HELO autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4abK-0006vx-9z for submit@debbugs.gnu.org; Mon, 05 Mar 2012 11:17:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4abE-0007ac-3s for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 11:17:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4aap-0006oa-Kj for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 11:17:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:52885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4aap-0006oB-E7 for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 11:16:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S4aan-0002Ev-6L for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 17:16:57 +0100 Received: from 123.114.34.168 ([123.114.34.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 17:16:57 +0100 Received: from sdl.web by 123.114.34.168 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 17:16:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Date: Tue, 06 Mar 2012 00:16:17 +0800 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.114.34.168 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUKDAg1NjRWV1V9fnyg op/DxcLk5uP8/voi63ReAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAB3RJTUUH1goZAgAz00bgXgAA AeVJREFUKM9lk0Fz2jAQhQXJD3CCO70CmcC1YMtcWyTZ14Bl69xats4N9r6/3zWQBlodNKNPu/s0 b1cCQFuZGpfVVh3vAvBJolIXRkapSuoRUtIdFyo1Y5xSdlAj7OtvD1XnXxmWRi+eWgcxyCed1lVV B1CrKyujMoi+eLA5kU1SsjoHlW+nQjTtFxk4MXgrOxvIqzoTZR8XgPaLl419zgsMaSGFPiUOZCIh thsx5Xy9NsK8Kwf/JoQgMxcVJ301HKkcSWaT0O7FY056J4U9xcYfnmVXG4801lW6lqwu2nKFZoHC HuzvaTVndZ+LaRQgZdthXw1cpynEkLEwyFHXk/aIxNQ6QeooJuzPMB+wn+D7JJNsiCcVA13/A3h/ xE9J+WidpAwoYNmRFwyvSRhNVtsdaAewzZZP5uw82QL9+tyNfocyP0McAzICUr5Mk9RdIjWasUNx aIIt6NK4ZtXIMdfMQt3nuMAyWbLI4DqZ4xPq/ag8jPond4XU/cLuOgw6XCFX/YCUfcDAMMH58fD4 G9kDchwfqVefkBwup2uZM+Q4WhJt5jN3AxXCsaS2yXEDuWgS8VOzW0gFjhEPmLyFMKBFaLb1HRwc DiaKwx0EeTMRYnYPQRW3PP4HApvlMv0PttX5v/D6Aws3IOSEwzmLAAAAAElFTkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (Mac OS X 10.6.8) Cancel-Lock: sha1:mz+SqNv17+juOKQdF5rLB9dTrvw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) On 2012-03-05 23:05 +0800, Stefan Monnier wrote: > Can you provide some details about how/why there's no load-file-name > (which I guess just means it's nil). See: https://github.com/pinard/Pymacs `pymacs-load' loads python module and creates elisp functions that call those python functions. (defun pymacs-load (module &optional prefix noerror) (interactive (let* ((module (read-string "Python module? ")) (default (concat (car (last (split-string module "\\."))) "-")) (prefix (read-string (format "Prefix? [%s] " default) nil nil default))) (list module prefix))) (message "Pymacs loading %s..." module) (let ((lisp-code (pymacs-call "pymacs_load_helper" module prefix))) (cond (lisp-code (let ((result (eval lisp-code))) (message "Pymacs loading %s...done" module) result)) (noerror (message "Pymacs loading %s...failed" module) nil) (t (pymacs-report-error "Pymacs loading %s...failed" module))))) It uses eval so no load-file-name is defined, i.e. if lisp-code contains a form (provide 'whatever), it no longer eval the matching form in after-load-alist. Leo From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 16:34:39 2012 Received: (at 10946) by debbugs.gnu.org; 5 Mar 2012 21:34:39 +0000 Received: from localhost ([127.0.0.1]:34775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4fYE-0006VP-Qj for submit@debbugs.gnu.org; Mon, 05 Mar 2012 16:34:39 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:34086) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4fY0-0006Up-FE for 10946@debbugs.gnu.org; Mon, 05 Mar 2012 16:34:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="166169564" Received: from 69-196-155-229.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Mar 2012 16:33:34 -0500 Received: by pastel.home (Postfix, from userid 20848) id 036FE58DDA; Mon, 5 Mar 2012 16:33:33 -0500 (EST) From: Stefan Monnier To: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Mon, 05 Mar 2012 16:33:33 -0500 In-Reply-To: (Leo's message of "Tue, 06 Mar 2012 00:16:17 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Can you provide some details about how/why there's no load-file-name >> (which I guess just means it's nil). > See: https://github.com/pinard/Pymacs > `pymacs-load' loads python module and creates elisp functions that call > those python functions. > (defun pymacs-load (module &optional prefix noerror) > (interactive > (let* ((module (read-string "Python module? ")) > (default (concat (car (last (split-string module "\\."))) "-")) > (prefix (read-string (format "Prefix? [%s] " default) > nil nil default))) > (list module prefix))) > (message "Pymacs loading %s..." module) > (let ((lisp-code (pymacs-call "pymacs_load_helper" module prefix))) > (cond (lisp-code (let ((result (eval lisp-code))) > (message "Pymacs loading %s...done" module) > result)) > (noerror (message "Pymacs loading %s...failed" module) nil) > (t (pymacs-report-error "Pymacs loading %s...failed" module))))) > It uses eval so no load-file-name is defined, i.e. if lisp-code contains > a form (provide 'whatever), it no longer eval the matching form in > after-load-alist. Wouldn't a better fix be to make Pymacs set load-file-name, then? Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 10:31:19 2012 Received: (at 10946) by debbugs.gnu.org; 6 Mar 2012 15:31:19 +0000 Received: from localhost ([127.0.0.1]:36051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4wM6-0000K9-8d for submit@debbugs.gnu.org; Tue, 06 Mar 2012 10:31:19 -0500 Received: from mail-iy0-f172.google.com ([209.85.210.172]:64132) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4wLq-0000JT-0Y for 10946@debbugs.gnu.org; Tue, 06 Mar 2012 10:31:03 -0500 Received: by iazz13 with SMTP id z13so6895771iaz.3 for <10946@debbugs.gnu.org>; Tue, 06 Mar 2012 07:30:03 -0800 (PST) Received-SPF: pass (google.com: domain of sdl.web@gmail.com designates 10.42.177.133 as permitted sender) client-ip=10.42.177.133; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sdl.web@gmail.com designates 10.42.177.133 as permitted sender) smtp.mail=sdl.web@gmail.com; dkim=pass header.i=sdl.web@gmail.com Received: from mr.google.com ([10.42.177.133]) by 10.42.177.133 with SMTP id bi5mr19198383icb.40.1331047803599 (num_hops = 1); Tue, 06 Mar 2012 07:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=HjjRk4xw6ousAN1UNx+PD3Nul9CwkvqARYSgVE3jI1c=; b=DzmuOG+qZoS6rpl508XIIWudClSrEi9xLsDpW7/9cn0R6l17s8k4h7FMuQAhLpTqpX LBGB4rQkTs3VsI9HMtl8xiLZ2Eojaa5Y70O+0JWN5RiklT5BugSV/PRgh93ro7zIXL02 S4jCIxmqN6Wxv1zEsrnU5tlwJf654k5iOxbJbNV0sa5Z2VmH1X9mv5mIBW3ZmxfV5NgF xTABijqCUGdnfSMos7WeJ20NKeWHVsQKnGucXGjm4WK3D+dMy2fCOAaZ2pm8mNkXi9QL JO7He1Mz15+PwZ7s8ypQ7OyVsCMQ9OPgD/NG/U4iEkkS22a6EmuGQvr0bAJBkB6noHUR o3PQ== Received: by 10.42.177.133 with SMTP id bi5mr15929343icb.40.1331047803565; Tue, 06 Mar 2012 07:30:03 -0800 (PST) Received: from localhost ([222.130.136.229]) by mx.google.com with ESMTPS id ut8sm14930227igc.11.2012.03.06.07.29.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 07:30:01 -0800 (PST) From: Leo To: Stefan Monnier Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change References: Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= Date: Tue, 06 Mar 2012 23:29:40 +0800 In-Reply-To: (Stefan Monnier's message of "Mon, 05 Mar 2012 16:33:33 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (Mac OS X 10.6.8) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 2012-03-06 05:33 +0800, Stefan Monnier wrote: > Wouldn't a better fix be to make Pymacs set load-file-name, then? > > > Stefan Even if it worked, it'd be worse because it means getting rid of (eval-after-load 'feature ...), which is something I use exclusively. I avoid strings as much as I can because they lead to ugly entries like "\\(\\`\\|/\\)sendmail\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" in after-load-alist. The incompatible change is likely to break users' configuration. Is there any benefit introducing this change? Does it outweigh the inconvenience? Leo From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 15:58:49 2012 Received: (at 10946) by debbugs.gnu.org; 6 Mar 2012 20:58:49 +0000 Received: from localhost ([127.0.0.1]:36557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S51T6-0001Dj-TT for submit@debbugs.gnu.org; Tue, 06 Mar 2012 15:58:49 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:54188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S51St-0001DM-IW for 10946@debbugs.gnu.org; Tue, 06 Mar 2012 15:58:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="166403932" Received: from 69-196-155-229.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Mar 2012 15:57:39 -0500 Received: by pastel.home (Postfix, from userid 20848) id 56BCB59414; Tue, 6 Mar 2012 15:57:39 -0500 (EST) From: Stefan Monnier To: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Tue, 06 Mar 2012 15:57:39 -0500 In-Reply-To: (Leo's message of "Tue, 06 Mar 2012 23:29:40 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Wouldn't a better fix be to make Pymacs set load-file-name, then? > Even if it worked, it'd be worse because it means getting rid of > (eval-after-load 'feature ...), I don't understand why it should have such a consequence. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 18:51:29 2012 Received: (at submit) by debbugs.gnu.org; 6 Mar 2012 23:51:29 +0000 Received: from localhost ([127.0.0.1]:36707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S54AD-0005It-Ca for submit@debbugs.gnu.org; Tue, 06 Mar 2012 18:51:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41785) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S54A1-0005IA-9a for submit@debbugs.gnu.org; Tue, 06 Mar 2012 18:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5495-0001HQ-Tu for submit@debbugs.gnu.org; Tue, 06 Mar 2012 18:50:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_NUMERIC_HELO autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5495-0001HK-RG for submit@debbugs.gnu.org; Tue, 06 Mar 2012 18:50:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5494-0000U2-7P for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 18:50:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5490-0001Gt-Vy for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 18:50:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:40753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5490-0001GY-Os for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 18:50:14 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S548w-0008Vj-Fk for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 00:50:10 +0100 Received: from 222.130.141.68 ([222.130.141.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Mar 2012 00:50:10 +0100 Received: from sdl.web by 222.130.141.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Mar 2012 00:50:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Date: Wed, 07 Mar 2012 07:49:37 +0800 Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 222.130.141.68 Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (Mac OS X 10.6.8) Cancel-Lock: sha1:Rc6Q7KGmJD42m+Pbgrh0YcZIq/8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) On 2012-03-07 04:57 +0800, Stefan Monnier wrote: > I don't understand why it should have such a consequence. Because now you have to worry about load-file-name, which means (eval-after-load 'feature ... ) does nothing unless the file provided that feature is loaded. i.e. it is almost the same as (eval-after-load "file" ...). Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 07 12:07:27 2012 Received: (at 10946) by debbugs.gnu.org; 7 Mar 2012 17:07:27 +0000 Received: from localhost ([127.0.0.1]:37807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5KKk-0005B4-Ta for submit@debbugs.gnu.org; Wed, 07 Mar 2012 12:07:27 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:13498) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5KKY-0005AR-DT for 10946@debbugs.gnu.org; Wed, 07 Mar 2012 12:07:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="166515403" Received: from 69-196-155-229.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Mar 2012 12:06:13 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 74EA56002; Wed, 7 Mar 2012 12:06:13 -0500 (EST) From: Stefan Monnier To: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Wed, 07 Mar 2012 12:06:13 -0500 In-Reply-To: (Leo's message of "Wed, 07 Mar 2012 07:49:37 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> I don't understand why it should have such a consequence. > Because now you have to worry about load-file-name, which means > (eval-after-load 'feature ... ) does nothing unless the file provided > that feature is loaded. i.e. it is almost the same as (eval-after-load > "file" ...). I didn't mean to say that provide should run the after-load thingies when load-file-name is nil. I meant to say that in your case, this would only be a workaround, whereas the real fix should be to setup load-file-name appropriately (tho it's only a guess on my part, since I don't fully understand what's going on). Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 07 15:30:11 2012 Received: (at 10946) by debbugs.gnu.org; 7 Mar 2012 20:30:11 +0000 Received: from localhost ([127.0.0.1]:37950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5NUx-0002DL-1t for submit@debbugs.gnu.org; Wed, 07 Mar 2012 15:30:11 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3277) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5NUl-0002Cs-DT for 10946@debbugs.gnu.org; Wed, 07 Mar 2012 15:30:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="166540677" Received: from 69-196-155-229.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Mar 2012 15:28:58 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id A185C6002; Wed, 7 Mar 2012 15:28:57 -0500 (EST) From: Stefan Monnier To: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Wed, 07 Mar 2012 15:28:57 -0500 In-Reply-To: (Stefan Monnier's message of "Wed, 07 Mar 2012 12:06:13 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>> I don't understand why it should have such a consequence. >> Because now you have to worry about load-file-name, which means >> (eval-after-load 'feature ... ) does nothing unless the file provided >> that feature is loaded. i.e. it is almost the same as (eval-after-load >> "file" ...). > I didn't mean to say that provide should run the after-load thingies ^^^ not > when load-file-name is nil. Sorry about this typo. But note that after thinking some more about it, I noticed that it's called "eval-after-LOAD", so it makes sense that it should only work when LOADing a file. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 07 22:22:51 2012 Received: (at submit) by debbugs.gnu.org; 8 Mar 2012 03:22:51 +0000 Received: from localhost ([127.0.0.1]:38366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5TwI-0003Ll-S1 for submit@debbugs.gnu.org; Wed, 07 Mar 2012 22:22:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59171) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5Tw5-0003LI-FZ for submit@debbugs.gnu.org; Wed, 07 Mar 2012 22:22:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5Tv3-0001K8-Ey for submit@debbugs.gnu.org; Wed, 07 Mar 2012 22:21:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_XBL, RCVD_NUMERIC_HELO autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Tv3-0001K4-C2 for submit@debbugs.gnu.org; Wed, 07 Mar 2012 22:21:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Tv1-0001Vl-Pm for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 22:21:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5Tv0-0001Ju-1v for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 22:21:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:45229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Tuz-0001Jq-R7 for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 22:21:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S5Tux-00047t-Vh for bug-gnu-emacs@gnu.org; Thu, 08 Mar 2012 04:21:28 +0100 Received: from 114.247.10.67 ([114.247.10.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2012 04:21:27 +0100 Received: from sdl.web by 114.247.10.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2012 04:21:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Date: Thu, 08 Mar 2012 11:21:19 +0800 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.247.10.67 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (Mac OS X 10.6.8) Cancel-Lock: sha1:VzVqgXn2AMTeoG/DE5rzNV+Vsdw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) On 2012-03-08 04:28 +0800, Stefan Monnier wrote: > Sorry about this typo. But note that after thinking some more about it, > I noticed that it's called "eval-after-LOAD", so it makes sense that it > should only work when LOADing a file. Sure, but eval-after-load covered both load and provide before. So this is an important incompatible change. eval-after-load is advertised for use in user's personal setup after all. I wonder if something for provide could be added. `provide' already checks after-load-alist (though the code now does nothing), how about give it a dedicated list to check such as post-provide-hook and use the standard hook facility? Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 13:15:57 2012 Received: (at 10946) by debbugs.gnu.org; 9 Mar 2012 18:15:57 +0000 Received: from localhost ([127.0.0.1]:40873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S64M8-0002g5-MD for submit@debbugs.gnu.org; Fri, 09 Mar 2012 13:15:57 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:58091) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S64M6-0002fy-NY for 10946@debbugs.gnu.org; Fri, 09 Mar 2012 13:15:55 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S64L9-0004n9-KW; Fri, 09 Mar 2012 13:14:55 -0500 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change References: X-Spook: Chobetsu NWO subversive New World Order CIDA JPL MIT-LL X-Ran: t?Ih<*:hxi.LU{5*x`18W/wdSS~)6"ITTe^3@):*=P^q]@~J+;.!oeuwLQ"!7f6jA*S{2N X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 09 Mar 2012 13:14:54 -0500 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-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10946 Cc: Leo , 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier wrote: > But note that after thinking some more about it, I noticed that it's > called "eval-after-LOAD", so it makes sense that it should only work > when LOADing a file. Yes; but the doc in Emacs 23.4 says: Alternatively, FILE can be a feature (i.e. a symbol), in which case FORM is evaluated whenever that feature is `provide'd. without explicitly saying "`provide'd from a file". So IMO there should at least be a NEWS entry about this. Isn't it possible to get the old behaviour back by changing the thing that gets added to after-load-alist from: (when load-file-name ...stuff...) to (if load-file-name ...stuff... ;; Not being provided from a file, run form right now. (form)) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 22:10:21 2012 Received: (at 10946) by debbugs.gnu.org; 10 Mar 2012 03:10:21 +0000 Received: from localhost ([127.0.0.1]:41508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6ChI-0001ji-Fo for submit@debbugs.gnu.org; Fri, 09 Mar 2012 22:10:20 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:28358) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6ChF-0001jZ-4F for 10946@debbugs.gnu.org; Fri, 09 Mar 2012 22:10:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9soXdS/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="167094036" Received: from 108-161-119-82.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([108.161.119.82]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Mar 2012 21:40:39 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 8C2ECAE268; Fri, 9 Mar 2012 21:40:39 -0500 (EST) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change Message-ID: References: Date: Fri, 09 Mar 2012 21:40:39 -0500 In-Reply-To: (Glenn Morris's message of "Fri, 09 Mar 2012 13:14:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10946 Cc: Leo , 10946@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > So IMO there should at least be a NEWS entry about this. Indeed, please add one. > Isn't it possible to get the old behaviour back by changing the thing > that gets added to after-load-alist from: > (when load-file-name > ...stuff...) > to > (if load-file-name > ...stuff... > ;; Not being provided from a file, run form right now. > (form)) Yes, please do make this change, maybe with a warning about it being discouraged. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 15 21:59:30 2012 Received: (at 10946-done) by debbugs.gnu.org; 16 Mar 2012 01:59:30 +0000 Received: from localhost ([127.0.0.1]:52607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8MS2-0000fk-Dy for submit@debbugs.gnu.org; Thu, 15 Mar 2012 21:59:30 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60962) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8MRp-0000fT-Gm for 10946-done@debbugs.gnu.org; Thu, 15 Mar 2012 21:59:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S8Lyc-00061X-91; Thu, 15 Mar 2012 21:29:06 -0400 From: Glenn Morris To: 10946-done@debbugs.gnu.org Subject: Re: bug#10946: 24.0.94; eval-after-load incompatible change References: X-Spook: 22nd SAS Taiwan Audiotel bemd Juiliett Class Submarine X-Ran: *(UIor)~h]V$"=tYa(EMI#(&=?7+1 (Stefan Monnier's message of "Fri, 09 Mar 2012 21:40:39 -0500") Message-ID: <7g7gylxrj1.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 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10946-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Version: 24.0.95 >> Isn't it possible to get the old behaviour back by changing the thing >> that gets added to after-load-alist from: > >> (when load-file-name >> ...stuff...) > >> to > >> (if load-file-name >> ...stuff... >> ;; Not being provided from a file, run form right now. >> (form)) Implemented. From unknown Tue Sep 09 06:10:57 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, 13 Apr 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator