From: Daniel Colascione <dan.colascione@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#3274: ido-completing-read doesn't work unless ido-mode is executed
Date: Wed, 13 May 2009 11:10:56 -0400 [thread overview]
Message-ID: <E1M4G6i-0001Aq-FS@localhost.localdomain> (raw)
ido-completing-read acts very strangely when ido-mode hasn't been run.
It creates a minibuffer with default bindings for RET which doesn't
report to C-g. This stub buffer is very difficult to exit.
Ideally, ido-completing-read would read in ido style regardless of
whether ido-mode is run. At the very least, it should act like
completing-read.
To reproduce, run emacs -Q, then evaluate
(ido-completing-read "test" '("1" "2" "3"))
In GNU Emacs 22.3.1 (i386-redhat-linux-gnu, GTK+ Version 2.14.7)
of 2009-02-09 on x86-5.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10503000
configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: PHP
Minor modes in effect:
shell-dirtrack-mode: t
which-function-mode: t
cua-mode: t
global-hi-lock-mode: t
hi-lock-mode: t
show-paren-mode: t
savehist-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
c o n t a c t _ e m a i l , SPC <left> M-b M-b M-d
<delete> <down-mouse-5> <mouse-5> <double-down-mouse-5>
<double-mouse-5> <down-mouse-5> <mouse-5> <double-down-mouse-5>
<double-mouse-5> <down-mouse-5> <mouse-5> <down-mouse-5>
<mouse-5> <down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5>
<double-down-mouse-5> <double-mouse-5> C-x C-s C-x
v v S y u c <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
S u c k SPC e m a i l s SPC i n t o SPC p r o d u c
t i o n SPC s y s t e m SPC ( w h y SPC w a s n ' t
SPC t h i s SPC d o n e SPC b e f o r e ? ) C-c C-c
C-x C-f p r <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> p r i <tab> <tab>
<backspace> <backspace> <backspace> <tab> <tab> <tab>
w o <tab> <backspace> <backspace> o r d <tab> <tab>
<tab> . <tab> <backspace> <backspace> <backspace> <backspace>
s / <tab> <tab> r <backspace> p r <tab> <tab> <tab>
o r <tab> . <tab> <return> C-s e m a i l C-s C-s <left>
C-x k M-x g r e C-g C-x C-f <up> <up> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> / o r d <tab> <return>
C-x k C-x C-f <up> s <return> M-x g r e p <return>
p <backspace> e m a i l SPC * . p h p <return> <down-mouse-5>
<mouse-5> <help-echo> <down-mouse-4> <mouse-4> <help-echo>
<down-mouse-2> <help-echo> <mouse-2> <help-echo> <help-echo>
C-x 1 C-s e m a i l C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-s C-s C-s C-s C-s C-s C-s <left> M-x r e p o
r t - e m <tab> <return>
Recent messages:
Making completion list... [4 times]
Mark saved where search started
Quit
(New file)
Loading dired...done
Loading grep...done
Mark set
Mark saved where search started
Loading emacsbug...done
call-interactively: Text is read-only [2 times]
next reply other threads:[~2009-05-13 15:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 15:10 Daniel Colascione [this message]
2010-11-28 13:37 ` bug#3274: ido-completing-read doesn't work unless ido-mode is executed Leo
2010-11-28 13:53 ` Leo
2010-11-28 20:50 ` Stefan Monnier
2010-12-02 23:05 ` Stefan Monnier
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=E1M4G6i-0001Aq-FS@localhost.localdomain \
--to=dan.colascione@gmail.com \
--cc=3274@emacsbugs.donarmstrong.com \
--cc=bug-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.
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).