unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: a machine of awareness <machine.of.awareness@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how 'add-to-ordered-list' use
Date: Tue, 18 Oct 2011 21:57:29 +0800	[thread overview]
Message-ID: <87hb36767q.fsf@gmail.com> (raw)
In-Reply-To: 87ipnn66ta.fsf@gmail.com

a machine of awareness <machine.of.awareness@gmail.com> writes:

> I read elisp manual.I use 'add-to-ordered-list',
> and don't understand.Please look example:
> (setq foo '(1 6 9 10 3 4))
> (1 6 9 10 3 4)
> (add-to-ordered-list 'foo 10)
> (6 9 1 10 3 4)
>
> Why order is changed?
> From (1 6 9 10 3 4) to (6 9 1 10 3 4)?
I know, I am wrong.
Because before run > (add-to-ordered-list 'foo 10) <,
(get 'foo 'list-order) ==> 
#s(hash-table size 65 test eq ... data (9 0)),
it lead to problem!

-- 
a machine of awareness
 Debian、Emacs+Gnus




      parent reply	other threads:[~2011-10-18 13:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 14:17 how 'add-to-ordered-list' use a machine of awareness
2011-10-17 14:18 ` Tim Landscheidt
2011-10-17 14:21 ` S Boucher
2011-10-18 12:49   ` a machine of awareness
2011-10-18 12:53   ` a machine of awareness
2011-10-18 13:08 ` a machine of awareness
2011-10-18 13:30 ` a machine of awareness
2011-10-18 13:57 ` a machine of awareness [this message]

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=87hb36767q.fsf@gmail.com \
    --to=machine.of.awareness@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).