From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Thu, 14 Nov 2013 00:33:06 +0100 Organization: Sebastien Vauban Message-ID: <864n7f7u8d.fsf@somewhere.org> References: <868uws6lgt.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384385649 27772 80.91.229.3 (13 Nov 2013 23:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2013 23:34:09 +0000 (UTC) Cc: 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Nov 14 00:34:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vgjws-0002MI-IO for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 00:34:14 +0100 Original-Received: from localhost ([::1]:51492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgjws-00084k-6i for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 18:34:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgjwl-00084b-A2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 13 Nov 2013 18:34:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgjwg-0005Aq-Ko for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 13 Nov 2013 18:34:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgjwg-0005Ak-H6 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 13 Nov 2013 18:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vgjwg-0006Dx-26 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 13 Nov 2013 18:34:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Wed, 13 Nov 2013 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 15888 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15888-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B15888.138438561323888 (code B ref 15888); Wed, 13 Nov 2013 23:34:02 +0000 Original-Received: (at 15888) by debbugs.gnu.org; 13 Nov 2013 23:33:33 +0000 Original-Received: from localhost ([127.0.0.1]:50828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VgjwC-0006DC-FP for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Wed, 13 Nov 2013 18:33:33 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:39534 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vgjw9-0006Cv-NZ for 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Wed, 13 Nov 2013 18:33:30 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.4.62]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 1A926503A18; Thu, 14 Nov 2013 00:35:58 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Glenn Morris's message of "Wed, 13 Nov 2013 17:08:59 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:80396 Archived-At: Glenn Morris wrote: > I can't reproduce this, even if I copy lisp/org/* to > ~/Public/Repositories/org-mode/testing (etc), directories which > obviously I don't normally have. > > What does C-h v after-load-alist say (just the relevant entries)? --8<---------------cut here---------------start------------->8--- Value: (("\\(\\`\\|/\\)org\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (lambda nil (message "Eval this when Org is loaded") (sit-for 3) (message ""))) ("\\(\\`\\|/\\)quail/Punct-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (lambda nil (quail-defrule " " 12288 nil t))) ("\\(\\`\\|/\\)quail/Punct\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (lambda nil (quail-defrule " " 12288 nil t))) ("\\(\\`\\|/\\)quail/PY-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (lambda nil (quail-defrule "ling2" 9675 nil t))) ... --8<---------------cut here---------------end--------------->8--- >> the code block in the `with-eval-after-load' is eval'ed twice whenever >> an Org file is loaded. > > Did you really mean that? Maybe I did not express myself correctly. I should have said "whichever" Org file... It's like that with every Org file... but only for the first one in any session. > Ie C-x C-f foo.org; get message twice; C-x C-f bar.org, get message twice? > Because I can't reproduce that at all. > I get a message once the first time the _lisp library org_ is loaded in > a session, not "whenever an Org file is loaded". I get the message twice the first time an Org file is loaded. After, not anymore. See http://screencast.com/t/AuPH9r420Spn. So, the bug is that the block is eval'ed twice (not once as it should). Best regards, Seb -- Sebastien Vauban