From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Tue, 19 Nov 2013 21:05:47 +0100 Message-ID: <86pppwkvhg.fsf__36548.772143624$1384891681$gmane$org@somewhere.org> References: <868uws6lgt.fsf@somewhere.org> <86ob5mxktp.fsf@somewhere.org> <4jppq1ha35.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <868uws6lgt.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: rgm-mXXj517/zsQ@public.gmane.org, eliz-mXXj517/zsQ@public.gmane.org, n.goaziou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, ndokos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: michael_heerdegen-S0/GAf8tV78@public.gmane.org, 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Glenn Morris wrote: > Apparently this is fixed: > > http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00682.html Sadly, it's only partially fixed: if it is WELL fixed for the original code, the problem comes BACK with the following minimized Emacs file: --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path "~/Public/Repositories/org-mode/testing") (add-to-list 'load-path "~/Public/Repositories/org-mode/contrib/lisp") (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") ;; getting started (require 'org-loaddefs) (add-to-list 'auto-mode-alist '("\\.txt\\'" . org-mode)) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (with-eval-after-load "ob-lob" ;; load some code blocks into the library of Babel (let ((lob-file (concat (file-name-directory (locate-library "org")) "../doc/library-of-babel.org"))) (when (file-exists-p lob-file) (org-babel-lob-ingest lob-file)))) (with-eval-after-load "org" (message "Eval this when Org is loaded") (sit-for 3) (message "")) (message "End of minimal .emacs") --8<---------------cut here---------------end--------------->8--- FYI, I just added the lines 10-15 (expression with `ob-lob'). That's only reproducible with a development branch of Org mode, as library-of-babel.org is not copied into the official Emacs release. Best regards, Seb -- Sebastien Vauban