unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* minibuffer-completion-table as a hash table?
@ 2005-07-12  6:39 Drew Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2005-07-12  6:39 UTC (permalink / raw)


Variable `minibuffer-completion-table' is an internal variable used in Emacs
completion operations. It can take several forms, such as an alist, an
obarray (vector), a list of strings, and a hash table (it can also be a
function).

Can someone tell me when (where) `minibuffer-completion-table' takes the
form of a hash table for Emacs completion? That is, besides passing
`all-completions' or `try-completion' a hash table of my own, where is a
hash table used in vanilla Emacs (for completion)? Are obarrays sometimes
implemented as hash tables, for example, or do they always take the form of
vectors?

In sum, if I grab `minibuffer-completion-table' at random during a
completion operation, under what circumstances is it likely to be a hash
table?  Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: minibuffer-completion-table as a hash table?
       [not found] <mailman.2880.1121151902.2857.help-gnu-emacs@gnu.org>
@ 2005-07-13  4:25 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2005-07-13  4:25 UTC (permalink / raw)


> In sum, if I grab `minibuffer-completion-table' at random during a
> completion operation, under what circumstances is it likely to be a hash
> table?  Thanks.

Maybe if you explained why you ask this question I could answer.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-13  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12  6:39 minibuffer-completion-table as a hash table? Drew Adams
     [not found] <mailman.2880.1121151902.2857.help-gnu-emacs@gnu.org>
2005-07-13  4:25 ` Stefan Monnier

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).