From: Peter Milliken <peter.milliken@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#3662: Possible problem with ido-completing-read
Date: Wed, 24 Jun 2009 07:37:42 +1000 [thread overview]
Message-ID: <791153ba0906231437j7de0768ag1523ff93bfeabb12@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4490 bytes --]
--text follows this line--
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing
list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
This bug is also present in Emacs 22.3. I am attempting to use
ido-completing-read in a defun and the function "hangs" at the prompt
i.e. it does no completion at all, it will not allow me to cancel the
command, or accept a string typed in followed by RET.
I have produced a small test function to attempt to minimise possible
problems on my part:
(defun test ()
(interactive)
(let ((a)(d))
(setq d '("abc" "xyz" "abe" "def"))
(setq a (ido-completing-read "prompt: " d))))
My *understanding* of reading the defun documentation is that I should
be able to type "a<TAB>" (at the prompt) and have a completion list of
"abc" and "abe" offered. But this does not happen, all I get is "a
TAB". If I hit C-g nothing happens, the prompt line remains at the
command line. I compiled the above with debug on and received the
following trace when I hit C-g:
Debugger entered--Lisp error: (quit)
apply(debug error (quit))
edebug(error (quit))
signal(quit nil)
edebug-signal(quit nil)
signal(quit nil)
keyboard-quit()
call-interactively(keyboard-quit nil nil)
completing-read("prompt: " (("dummy" . 1)) nil nil nil nil)
byte-code(" \b \" lj\n \x12\v&\x06 " [item prompt ido-text-init history
completing-read ido-make-prompt (("dummy" . 1)) nil] 7)
ido-read-internal(list "prompt: " nil nil nil nil)
ido-completing-read("prompt: " ("abc" "xyz" "abe" "def"))
(edebug-after (edebug-before 4) 6 (ido-completing-read "prompt: "
(edebug-after 0 5 d)))
(setq a (edebug-after (edebug-before 4) 6 (ido-completing-read "prompt: "
...)))
(edebug-after (edebug-before 3) 7 (setq a (edebug-after ... 6 ...)))
(let ((a) (d)) (edebug-after (edebug-before 1) 2 (setq d ...))
(edebug-after (edebug-before 3) 7 (setq a ...)))
(edebug-after (edebug-before 0) 8 (let (... ...) (edebug-after ... 2 ...)
(edebug-after ... 7 ...)))
(lambda nil (edebug-after (edebug-before 0) 8 (let ... ... ...)))()
edebug-enter(test nil (lambda nil (edebug-after (edebug-before 0) 8 (let
... ... ...))))
edebug-enter(test nil (lambda nil (edebug-after (edebug-before 0) 8 (let
... ... ...))))
test()
call-interactively(test t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/emacs/etc/DEBUG for instructions.
In GNU Emacs 23.0.95.1 (i386-mingw-nt5.1.2600)
of 2009-06-20 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: ENA
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
show-paren-mode: t
desktop-save-mode: t
recentf-mode: t
tooltip-mode: t
tool-bar-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
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
C-u <escape> C-x <escape> x t e s t <return> g a <tab>
C-g <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>
Recent messages:
Local value of py-indent-offset set to 2
Using the CPython shell
Fill column set to 80 (was 70) [9 times]
Wrote c:/usr/local/.emacs.desktop.lock
Desktop: 51 buffers restored.
Loading c:/usr/local/.session...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Edebug: test
Go...
Entering debugger...
[-- Attachment #2: Type: text/html, Size: 6273 bytes --]
next reply other threads:[~2009-06-23 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 21:37 Peter Milliken [this message]
2009-06-24 7:08 ` bug#3662: Possible problem with ido-completing-read Stephen Berman
2009-06-24 19:45 ` Peter Milliken
2009-06-24 22:57 ` Lennart Borgman
2010-12-04 11:42 ` Leo
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=791153ba0906231437j7de0768ag1523ff93bfeabb12@mail.gmail.com \
--to=peter.milliken@gmail.com \
--cc=3662@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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.