unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juan LEON Lahoz Garcia <juanleon1@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Making hide-ifdef-use-define-alist more user friendly
Date: Mon, 21 Feb 2005 12:13:01 +0100	[thread overview]
Message-ID: <73766b1205022103132eb263ad@mail.gmail.com> (raw)
In-Reply-To: <m3650m437r.fsf@kfs-l.imdomain.dk>

On Mon, 21 Feb 2005 11:28:08 +0100, Kim F. Storm <storm@cua.dk> wrote:
> Juan-Leon Lahoz Garcia <juanleon1@gmail.com> writes:
> 
> Looking at try-completion and all-completions, there is a strange
> inconsistency between alists, vectors, and hash tables:
> 
> In alists and hash tables, the key must be a string, while in vectors,
> the key must be a symbol...

Thanks for looking into this.

I had found another strange behaviour in completing-read that I do not
know if is a bug or my ignorance.

Following code:

(completing-read "Use define list: " (vconcat (mapcar 'car
hide-ifdef-define-alist)))

Allows me to complete more things that those found in:

(vconcat (mapcar 'car hide-ifdef-define-alist))

This happens for me in emacs 21.2, and completing-read offers the 8 symbols I
have in the alist plus about 60 more like format-annotate-value,
fortune-add-fortune, hs-flag-region, invert-face,
islamic-diary-entry-symbol, iso-2022-jp-unix, iso-8859-7-dos. Maybe in
22.x this is not happening...

Regards
--
juanleon

  reply	other threads:[~2005-02-21 11:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21  9:03 Making hide-ifdef-use-define-alist more user friendly Juan-Leon Lahoz Garcia
2005-02-21 10:28 ` Kim F. Storm
2005-02-21 11:13   ` Juan LEON Lahoz Garcia [this message]
2005-02-22 18:12     ` Richard Stallman
2005-02-22 18:11   ` Richard Stallman
2005-02-22 20:54     ` Kim F. Storm

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=73766b1205022103132eb263ad@mail.gmail.com \
    --to=juanleon1@gmail.com \
    --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 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).