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 19:57:02 +0100 Organization: Sebastien Vauban Message-ID: <8638myzu9t.fsf@somewhere.org> References: <868uws6lgt.fsf@somewhere.org> <864n7f7u8d.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384455498 3275 80.91.229.3 (14 Nov 2013 18:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2013 18:58:18 +0000 (UTC) Cc: 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Glenn Morris , michael_heerdegen-S0/GAf8tV78@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Nov 14 19:58:22 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 1Vh27R-0006kD-I7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 19:58:21 +0100 Original-Received: from localhost ([::1]:56950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh27R-0007Fd-4Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 13:58:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh27D-000735-D6 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 14 Nov 2013 13:58:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vh278-0001MA-Nd for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 14 Nov 2013 13:58:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh278-0001M6-KZ for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 14 Nov 2013 13:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vh277-0007EV-N6 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 14 Nov 2013 13:58:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org In-Reply-To: <868uws6lgt.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org> Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Thu, 14 Nov 2013 18:58:01 +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.138445544927760 (code B ref 15888); Thu, 14 Nov 2013 18:58:01 +0000 Original-Received: (at 15888) by debbugs.gnu.org; 14 Nov 2013 18:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:52556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vh26a-0007Df-Hn for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 14 Nov 2013 13:57:28 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:48954 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vh26Y-0007DS-VJ for 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 14 Nov 2013 13:57:27 -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 88FEF503A6F; Thu, 14 Nov 2013 19:59:55 +0100 (CET) X-Url: Under construction... X-Archive: encrypt 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:80448 Archived-At: Glenn, Michael, Glenn Morris wrote: > "Sebastien Vauban" wrote: > >> So, the bug is that the block is eval'ed twice (not once as it should). > > OK, still can't reproduce it. Maybe you have an explicit (load "org") > lying around somewhere, I don't know. I don't understand why you would not be able to reproduce it. I really have nothing special here. Before (in the first exchanges of this thread), for firing up an minimal Emacs, I did (in a shell): --8<---------------cut here---------------start------------->8--- em --8<---------------cut here---------------end--------------->8--- with: --8<---------------cut here---------------start------------->8--- alias em=emacs-minimal --8<---------------cut here---------------end--------------->8--- and `emacs-minimal' being a shell script: --8<---------------cut here---------------start------------->8--- #!/bin/sh # no init file cmd="/cygdrive/c/Program\ Files\ \(x86\)/emacs-trunk/bin/emacs -q -l ~/.emacs-minimal.el $TESTEL" echo "Launching '$cmd'..." eval "$cmd" echo "Exit status: $?" --8<---------------cut here---------------end--------------->8--- Now, I even take the simplest approach: 0. Copy the minimal configuration in the clipboard 1. Go into C:/Program Files/emacs-trunk/bin/ 2. Launch emacs -Q 3. Paste the minimal configuration in the scratch buffer 4. Eval it 5. Open one random Org file (~/Public/Repositories/worg/ChangeLog.org) 6. Look at the echo area 7. Check in the Messages buffer -> block has been executed twice! See http://screencast.com/t/pfWMZStlb23Z. I do not see where extra `load' instructions could stay hidden (and out of my mind) by applying this recipe. Where is the black magic? Best regards, Seb -- Sebastien Vauban