help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird Emacs bug


From: Le Wang
Subject: weird Emacs bug
Date: Wed, 7 Sep 2011 17:42:02 +0800

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]