* weird Emacs bug
@ 2011-09-07 9:42 Le Wang
0 siblings, 0 replies; only message in thread
From: Le Wang @ 2011-09-07 9:42 UTC (permalink / raw)
To: GNU Emacs List
Hi all,
I've come across a weird bug with this line:
(push '(:temp-file-pos . 0) e-sink-data-alist)
'(:temp-file-pos . 4) was already in the list. Now if I <C-h v>
e-sink-data-alist, it shows (:temp-file-pos . 4) at the head of the
list instead of (:temp-file-pos . 0).
If I change the line to:
(push `(:temp-file-pos . ,(+ 0 0)) e-sink-data-alist)
it works fine.
If I run the code step-by-step in edebug, it works fine.
The relevant context is here if anyone wants to take a look:
https://github.com/lewang/e-sink/commit/36cfbcaada1a0ccab3e47ab8d67237dfde6d6e26#e-sink.el
--
Le
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-07 9:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 9:42 weird Emacs bug Le Wang
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.