unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>, <help-gnu-emacs@gnu.org>
Subject: RE: How to insert space in minibuffer while in completing-read ?
Date: Sat, 8 Mar 2008 14:06:48 -0800	[thread overview]
Message-ID: <002501c88168$b4993320$0600a8c0@us.oracle.com> (raw)
In-Reply-To: <jwv7igc3o6v.fsf-monnier+gnu.emacs.help@gnu.org>

> > 2. If you don't want to use Icicles, but you do want to 
> >    allow space chars in minibuffer input, do this:
> 
> >  (define-key minibuffer-local-completion-map
> >              " " 'self-insert-command))
> >  (define-key minibuffer-local-must-match-map
> >              " " 'self-insert-command))
> 
> I think you mean to set those keys to nil rather than to
> `self-insert-command'.  It may have the same result in 99% of 
> the cases in the end, of course.

Right. It's enough to remove the local binding, to restore the global
binding. Either is OK here, but what you suggest is preferable.





      reply	other threads:[~2008-03-08 22:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 20:41 How to insert space in minibuffer while in completing-read ? Brian Adkins
2008-03-07 21:26 ` Pascal Bourguignon
2008-03-07 21:53   ` Brian Adkins
2008-03-07 22:09   ` Drew Adams
     [not found]   ` <mailman.8526.1204927839.18990.help-gnu-emacs@gnu.org>
2008-03-07 23:34     ` Brian Adkins
2008-03-08 21:24     ` Stefan Monnier
2008-03-08 22:06       ` Drew Adams [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='002501c88168$b4993320$0600a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).