unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Glenn Morris <rgm-mXXj517/zsQ@public.gmane.org>,
	michael_heerdegen-S0/GAf8tV78@public.gmane.org
Cc: 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#15888: 24.3.50; Eval-after-load eval'ed twice
Date: Thu, 14 Nov 2013 19:57:02 +0100	[thread overview]
Message-ID: <8638myzu9t.fsf@somewhere.org> (raw)
In-Reply-To: <868uws6lgt.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>

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





  parent reply	other threads:[~2013-11-14 18:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13 21:27 bug#15888: 24.3.50; Eval-after-load eval'ed twice Sebastien Vauban
2013-11-13 22:08 ` Glenn Morris
2013-11-13 22:14   ` Glenn Morris
2013-11-13 22:18 ` Glenn Morris
     [not found] ` <mailman.6013.1384380609.10748.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.6013.1384380609.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-11-13 23:33     ` Sebastien Vauban
2013-11-14  3:08       ` Glenn Morris
     [not found]       ` <mailman.6027.1384398545.10748.bug-gnu-emacs@gnu.org>
     [not found]         ` <868uws6lgt.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-11-14 18:57           ` Sebastien Vauban [this message]
2013-11-14 19:12             ` Eli Zaretskii
     [not found]               ` <83siuyiyq4.fsf-mXXj517/zsQ@public.gmane.org>
2013-11-15  8:16                 ` Sebastien Vauban
2013-11-15  8:42                   ` Eli Zaretskii
     [not found]                     ` <83iovuhx8w.fsf-mXXj517/zsQ@public.gmane.org>
2013-11-15  9:06                       ` Sebastien Vauban
2013-11-15 10:34                         ` Eli Zaretskii
     [not found]                         ` <mailman.6245.1384511726.10748.bug-gnu-emacs@gnu.org>
     [not found]                           ` <mailman.6245.1384511726.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-11-15 13:01                             ` Sebastien Vauban
     [not found]                           ` <86mwl53jl5.fsf@somewhere.org>
2013-11-15 14:15                             ` Stefan Monnier
     [not found]                               ` <jwvbo1l4utn.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2013-11-15 14:27                                 ` Sebastien Vauban
2013-11-15 14:35                             ` Eli Zaretskii
2013-11-14 22:01             ` Glenn Morris
     [not found]             ` <3238myfxsn.fsf@fencepost.gnu.org>
2013-11-15  6:04               ` Bastien
     [not found]               ` <87y54qdwvh.fsf@bzg.ath.cx>
     [not found]                 ` <87y54qdwvh.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2013-11-15  8:33                   ` Sebastien Vauban
2013-11-19 20:05           ` Sebastien Vauban
2013-11-14  2:13 ` Michael Heerdegen
2013-11-15  0:06 ` Josh
2013-11-15  2:30   ` Glenn Morris
     [not found]     ` <oofvqygzwk.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2013-11-15  6:04       ` Sebastien Vauban
2013-11-15 17:02         ` Glenn Morris
2013-11-17 19:45           ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8638myzu9t.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=michael_heerdegen-S0/GAf8tV78@public.gmane.org \
    --cc=rgm-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).