all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: lispref/variables.texi
Date: Fri, 24 Jun 2005 10:14:39 +0200	[thread overview]
Message-ID: <m3zmtgnpcg.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <200506240108.j5O182U06623@raven.dms.auburn.edu> (Luc Teirlinck's message of "Thu, 23 Jun 2005 20:08:02 -0500 (CDT)")

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> I propose the following changes to the description  of
> `add-to-ordered' list in variables.texi.  I can install if desired.

These are good changes (with a few corrections).  Please install.

> ! in non-decreasing numerical order.  @var{order} may also be omitted or
> ! @code{nil}.  Then the numeric order of @var{element} stays unchanged
> ! if it already has one; otherwise, @var{element} has no numeric order.

I suggest breaking that up for clarity:


in non-decreasing numerical order.  

@var{order} may also be omitted or @code{nil}.  Then the numeric order
of @var{element} stays unchanged if it already has one; otherwise,
@var{element} has no numeric order.


> ! The ordering information is stored in a hash table on @var{symbol}'s
> ! @code{list-order} property.  You can change the numeric list order of
> ! an element by a new call to @code{add-to-ordered-list}, but the only
> ! way to remove the numeric order of an element once it has one is to
> ! manipulate the internal hash table directly.


To "remove" the order, you can specify a non-nil, non-numeric value
for ORDER -- in that case, the element's order in the hash table is
set to nil (which effitively means "no" ordering).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-06-24  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24  1:08 lispref/variables.texi Luc Teirlinck
2005-06-24  8:14 ` Kim F. Storm [this message]
2005-06-25  0:56   ` lispref/variables.texi Luc Teirlinck
2005-06-24 16:37 ` lispref/variables.texi Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=m3zmtgnpcg.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@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.
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.