* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
@ 2010-08-13 22:36 Julien Danjou
2013-07-12 7:42 ` Leo Liu
0 siblings, 1 reply; 6+ messages in thread
From: Julien Danjou @ 2010-08-13 22:36 UTC (permalink / raw)
To: 6852; +Cc: rfrancoise, Kim F. Storm
I wanted to use ido-enter-matching-directory set to 'first, but it
has a serious drawback.
I have these directories in my home:
Org org .vimperator
When I press C-x C-f, and then type "Or". It shows a correct
behaviour in the prompt, as seen in the trace:
prefix match: ("Org/" "org/") new : ("Org/" "org/"
".fbhighlevelshistory" ".fbhighscores" ".festival_history"
".forward" ".fricorder" ".gitignore" ".gmrun_history"
".gnuplot_history" ".julia_history" ".kinorc" ".mirrormagic/"
".mysql_history" ".openoffice.org/" ".openoffice.org2/"
".org-timestamps/" ".qemu_history" ".ratpoison_history"
".reportbugrc" ".root-portal/" ".signature-lo-support"
".signature-ornix" ".sqlite_history" ".torcs/" ".vimperator/"
".vimperatorrc" ".xsession-errors" ".xsession-errors.old" "Work/"
".BitTornado/" ".Horgand" ".ICEauthority" ".Xauthority"
".abby_history" ".arf_history" ".awesome-client_history"
".awesome_history" ".bash_history" ".chromium-score"
".conkeror.mozdev.org/") inf: {Org/ | org/ | .fbhighlevelshistory
| .fbhighscores | .festival_history | .forward | .fricorder |
.gitignore | .gmrun_history | .gnuplot_history | .julia_history |
.kinorc | ...}
Then I type / to enter into the first directory, namely "Org/".
But what seems to happen is that ido try to redo the matches with
the string "Or/", making ".vimperator/" the best candidate, and
then entering it, as shown in the trace:
final slash: Or/ try single dir: nil prefix match: ("Org/" "org/")
suffix match: ("Or" "Or/\\'" (".vimperator/")) new :
(".vimperator/" "Org/" "org/" ".mirrormagic/" ".openoffice.org/"
".openoffice.org2/" ".org-timestamps/" ".root-portal/" ".torcs/"
"Work/" ".BitTornado/" ".conkeror.mozdev.org/") single match:
.vimperator/ cd: /home/jd/.vimperator/
This seems wrong to me.
In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-08-08 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20100808-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: en_US.UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-netsplit-mode: t
erc-track-score-mode: t
erc-track-mode: t
erc-track-minor-mode: t
eldoc-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-jd:page-me-mode: t
erc-match-mode: t
erc-smiley-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-keep-place-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
flyspell-mode: t
highlight-parentheses-mode: t
rainbow-mode: t
which-function-mode: t
server-mode: t
ido-everywhere: t
show-paren-mode: t
global-hl-line-mode: t
delete-selection-mode: t
savehist-mode: t
global-hi-lock-mode: t
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<down> <down> <next> <next> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <S-right> <up> <up> <up> <up> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <next> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
C-r t e x t - n i n <backspace> <backspace> <backspace>
i n i t C-r C-r C-r C-s C-s C-r C-r C-s C-s <left>
<up> <up> C-s t r a c e C-s <S-left> <next> <next>
<prior> <prior> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <S-right>
C-r r e s <up> C-r p r e f i x SPC m a c h C-g <down>
<down> C-s t r y SPC s i n g l e C-s C-s <up> <up>
C-s p r e f i x <up> C-s f i n a l SPC s l a s h C-r
<up> C-s d e f u n SPC f <backspace> i d o - f i n
a l C-r C-r C-s C-s C-s C-r C-r C-r <up> C-s i d o
- f i n a l - s l a s C-s C-s C-s C-s C-s <right> <prior>
<next> <next> <next> C-s ' ' <backspace> f i r t <backspace>
s t <down> <down> <up> <up> <up> <up> <up> <up> <up>
<up> <S-left> C-x C-f O <backspace> <backspace> O r
<return> C-g <S-right> C-s ' f i r s t C-r C-r <right>
M-x r e p o r <tab> b <tab> <tab> <backspace> <backspace>
<backspace> <tab> b u <tab> <return>
Recent messages:
Mark set [2 times]
t
Quit
nil
scroll-down-command: Beginning of buffer
Mark saved where search started [11 times]
Quit
Mark saved where search started
Making completion list...
Scanning for dabbrevs...100%
Load-path shadows:
/usr/share/org-mode/lisp/htmlize hides /usr/share/emacs-snapshot/site-lisp/emacs-goodies-el/htmlize
/usr/share/emacs-snapshot/site-lisp/mailcrypt/expect hides /usr/share/emacs/site-lisp/mailcrypt/expect
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mailcrypt hides /usr/share/emacs/site-lisp/mailcrypt/mailcrypt
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-remail hides /usr/share/emacs/site-lisp/mailcrypt/mc-remail
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-toplev hides /usr/share/emacs/site-lisp/mailcrypt/mc-toplev
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-gpg hides /usr/share/emacs/site-lisp/mailcrypt/mc-gpg
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-pgp hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-setversion hides /usr/share/emacs/site-lisp/mailcrypt/mc-setversion
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-pgp6 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp6
/usr/share/emacs-snapshot/site-lisp/mailcrypt/mc-pgp5 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp5
/usr/share/emacs/24.0.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/24.0.50/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs-snapshot/site-lisp/speedbar/speedbar hides /usr/share/emacs/24.0.50/lisp/speedbar
/usr/share/emacs/24.0.50/site-lisp/flim/sha1 hides /usr/share/emacs/24.0.50/lisp/sha1
/usr/share/emacs-snapshot/site-lisp/speedbar/sb-image hides /usr/share/emacs/24.0.50/lisp/sb-image
/usr/share/emacs/24.0.50/site-lisp/flim/hex-util hides /usr/share/emacs/24.0.50/lisp/hex-util
/usr/share/emacs/24.0.50/site-lisp/flim/md4 hides /usr/share/emacs/24.0.50/lisp/md4
/usr/share/emacs-snapshot/site-lisp/speedbar/dframe hides /usr/share/emacs/24.0.50/lisp/dframe
/usr/share/emacs-snapshot/site-lisp/cedet-common/ezimage hides /usr/share/emacs/24.0.50/lisp/ezimage
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.0.50/lisp/textmodes/rst
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-keys hides /usr/share/emacs/24.0.50/lisp/org/ob-keys
/usr/share/emacs-snapshot/site-lisp/org-mode/org-inlinetask hides /usr/share/emacs/24.0.50/lisp/org/org-inlinetask
/usr/share/emacs-snapshot/site-lisp/org-mode/org-agenda hides /usr/share/emacs/24.0.50/lisp/org/org-agenda
/usr/share/emacs-snapshot/site-lisp/org-mode/org-exp hides /usr/share/emacs/24.0.50/lisp/org/org-exp
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mew hides /usr/share/emacs/24.0.50/lisp/org/org-mew
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-comint hides /usr/share/emacs/24.0.50/lisp/org/ob-comint
/usr/share/emacs-snapshot/site-lisp/org-mode/org-bibtex hides /usr/share/emacs/24.0.50/lisp/org/org-bibtex
/usr/share/emacs-snapshot/site-lisp/org-mode/org-entities hides /usr/share/emacs/24.0.50/lisp/org/org-entities
/usr/share/emacs-snapshot/site-lisp/org-mode/ob hides /usr/share/emacs/24.0.50/lisp/org/ob
/usr/share/emacs-snapshot/site-lisp/org-mode/org-timer hides /usr/share/emacs/24.0.50/lisp/org/org-timer
/usr/share/emacs-snapshot/site-lisp/org-mode/org-crypt hides /usr/share/emacs/24.0.50/lisp/org/org-crypt
/usr/share/emacs-snapshot/site-lisp/org-mode/org-ascii hides /usr/share/emacs/24.0.50/lisp/org/org-ascii
/usr/share/emacs-snapshot/site-lisp/org-mode/org-colview hides /usr/share/emacs/24.0.50/lisp/org/org-colview
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-ocaml hides /usr/share/emacs/24.0.50/lisp/org/ob-ocaml
/usr/share/emacs-snapshot/site-lisp/org-mode/org-icalendar hides /usr/share/emacs/24.0.50/lisp/org/org-icalendar
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-eval hides /usr/share/emacs/24.0.50/lisp/org/ob-eval
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-table hides /usr/share/emacs/24.0.50/lisp/org/ob-table
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-R hides /usr/share/emacs/24.0.50/lisp/org/ob-R
/usr/share/emacs-snapshot/site-lisp/org-mode/org-compat hides /usr/share/emacs/24.0.50/lisp/org/org-compat
/usr/share/emacs-snapshot/site-lisp/org-mode/org-remember hides /usr/share/emacs/24.0.50/lisp/org/org-remember
/usr/share/emacs-snapshot/site-lisp/org-mode/org-protocol hides /usr/share/emacs/24.0.50/lisp/org/org-protocol
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mac-message hides /usr/share/emacs/24.0.50/lisp/org/org-mac-message
/usr/share/emacs-snapshot/site-lisp/org-mode/org-html hides /usr/share/emacs/24.0.50/lisp/org/org-html
/usr/share/emacs-snapshot/site-lisp/org-mode/org-id hides /usr/share/emacs/24.0.50/lisp/org/org-id
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mouse hides /usr/share/emacs/24.0.50/lisp/org/org-mouse
/usr/share/emacs-snapshot/site-lisp/org-mode/org-habit hides /usr/share/emacs/24.0.50/lisp/org/org-habit
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-asymptote hides /usr/share/emacs/24.0.50/lisp/org/ob-asymptote
/usr/share/emacs-snapshot/site-lisp/org-mode/org-footnote hides /usr/share/emacs/24.0.50/lisp/org/org-footnote
/usr/share/emacs-snapshot/site-lisp/org-mode/org-indent hides /usr/share/emacs/24.0.50/lisp/org/org-indent
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-sh hides /usr/share/emacs/24.0.50/lisp/org/ob-sh
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-css hides /usr/share/emacs/24.0.50/lisp/org/ob-css
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-haskell hides /usr/share/emacs/24.0.50/lisp/org/ob-haskell
/usr/share/emacs-snapshot/site-lisp/org-mode/org-clock hides /usr/share/emacs/24.0.50/lisp/org/org-clock
/usr/share/emacs-snapshot/site-lisp/org-mode/org-beamer hides /usr/share/emacs/24.0.50/lisp/org/org-beamer
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-sqlite hides /usr/share/emacs/24.0.50/lisp/org/ob-sqlite
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-sass hides /usr/share/emacs/24.0.50/lisp/org/ob-sass
/usr/share/emacs-snapshot/site-lisp/org-mode/org-exp-blocks hides /usr/share/emacs/24.0.50/lisp/org/org-exp-blocks
/usr/share/emacs-snapshot/site-lisp/org-mode/org-taskjuggler hides /usr/share/emacs/24.0.50/lisp/org/org-taskjuggler
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-gnuplot hides /usr/share/emacs/24.0.50/lisp/org/ob-gnuplot
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-dot hides /usr/share/emacs/24.0.50/lisp/org/ob-dot
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-ref hides /usr/share/emacs/24.0.50/lisp/org/ob-ref
/usr/share/emacs-snapshot/site-lisp/org-mode/org-ctags hides /usr/share/emacs/24.0.50/lisp/org/org-ctags
/usr/share/emacs-snapshot/site-lisp/org-mode/org-jsinfo hides /usr/share/emacs/24.0.50/lisp/org/org-jsinfo
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-clojure hides /usr/share/emacs/24.0.50/lisp/org/ob-clojure
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-sql hides /usr/share/emacs/24.0.50/lisp/org/ob-sql
/usr/share/emacs-snapshot/site-lisp/org-mode/org-attach hides /usr/share/emacs/24.0.50/lisp/org/org-attach
/usr/share/emacs-snapshot/site-lisp/org-mode/org-src hides /usr/share/emacs/24.0.50/lisp/org/org-src
/usr/share/emacs-snapshot/site-lisp/org-mode/org-archive hides /usr/share/emacs/24.0.50/lisp/org/org-archive
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-perl hides /usr/share/emacs/24.0.50/lisp/org/ob-perl
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-latex hides /usr/share/emacs/24.0.50/lisp/org/ob-latex
/usr/share/emacs-snapshot/site-lisp/org-mode/org-capture hides /usr/share/emacs/24.0.50/lisp/org/org-capture
/usr/share/emacs-snapshot/site-lisp/org-mode/org-plot hides /usr/share/emacs/24.0.50/lisp/org/org-plot
/usr/share/emacs-snapshot/site-lisp/org-mode/org-publish hides /usr/share/emacs/24.0.50/lisp/org/org-publish
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-emacs-lisp hides /usr/share/emacs/24.0.50/lisp/org/ob-emacs-lisp
/usr/share/emacs-snapshot/site-lisp/org-mode/org-faces hides /usr/share/emacs/24.0.50/lisp/org/org-faces
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-ditaa hides /usr/share/emacs/24.0.50/lisp/org/ob-ditaa
/usr/share/emacs-snapshot/site-lisp/org-mode/org-gnus hides /usr/share/emacs/24.0.50/lisp/org/org-gnus
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-octave hides /usr/share/emacs/24.0.50/lisp/org/ob-octave
/usr/share/emacs-snapshot/site-lisp/org-mode/org-list hides /usr/share/emacs/24.0.50/lisp/org/org-list
/usr/share/emacs-snapshot/site-lisp/org-mode/org-table hides /usr/share/emacs/24.0.50/lisp/org/org-table
/usr/share/emacs-snapshot/site-lisp/org-mode/org-datetree hides /usr/share/emacs/24.0.50/lisp/org/org-datetree
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-tangle hides /usr/share/emacs/24.0.50/lisp/org/ob-tangle
/usr/share/emacs-snapshot/site-lisp/org-mode/org-xoxo hides /usr/share/emacs/24.0.50/lisp/org/org-xoxo
/usr/share/emacs-snapshot/site-lisp/org-mode/org hides /usr/share/emacs/24.0.50/lisp/org/org
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-exp hides /usr/share/emacs/24.0.50/lisp/org/ob-exp
/usr/share/emacs-snapshot/site-lisp/org-mode/org-latex hides /usr/share/emacs/24.0.50/lisp/org/org-latex
/usr/share/emacs-snapshot/site-lisp/org-mode/org-vm hides /usr/share/emacs/24.0.50/lisp/org/org-vm
/usr/share/emacs-snapshot/site-lisp/org-mode/org-rmail hides /usr/share/emacs/24.0.50/lisp/org/org-rmail
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mobile hides /usr/share/emacs/24.0.50/lisp/org/org-mobile
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-matlab hides /usr/share/emacs/24.0.50/lisp/org/ob-matlab
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-ruby hides /usr/share/emacs/24.0.50/lisp/org/ob-ruby
/usr/share/emacs-snapshot/site-lisp/org-mode/org-docview hides /usr/share/emacs/24.0.50/lisp/org/org-docview
/usr/share/emacs-snapshot/site-lisp/org-mode/org-info hides /usr/share/emacs/24.0.50/lisp/org/org-info
/usr/share/emacs-snapshot/site-lisp/org-mode/org-install hides /usr/share/emacs/24.0.50/lisp/org/org-install
/usr/share/emacs-snapshot/site-lisp/org-mode/org-freemind hides /usr/share/emacs/24.0.50/lisp/org/org-freemind
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-python hides /usr/share/emacs/24.0.50/lisp/org/ob-python
/usr/share/emacs-snapshot/site-lisp/org-mode/org-irc hides /usr/share/emacs/24.0.50/lisp/org/org-irc
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-mscgen hides /usr/share/emacs/24.0.50/lisp/org/ob-mscgen
/usr/share/emacs-snapshot/site-lisp/org-mode/org-w3m hides /usr/share/emacs/24.0.50/lisp/org/org-w3m
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-C hides /usr/share/emacs/24.0.50/lisp/org/ob-C
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-screen hides /usr/share/emacs/24.0.50/lisp/org/ob-screen
/usr/share/emacs-snapshot/site-lisp/org-mode/ob-lob hides /usr/share/emacs/24.0.50/lisp/org/ob-lob
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mks hides /usr/share/emacs/24.0.50/lisp/org/org-mks
/usr/share/emacs-snapshot/site-lisp/org-mode/org-bbdb hides /usr/share/emacs/24.0.50/lisp/org/org-bbdb
/usr/share/emacs-snapshot/site-lisp/org-mode/org-feed hides /usr/share/emacs/24.0.50/lisp/org/org-feed
/usr/share/emacs-snapshot/site-lisp/org-mode/org-docbook hides /usr/share/emacs/24.0.50/lisp/org/org-docbook
/usr/share/emacs-snapshot/site-lisp/org-mode/org-mhe hides /usr/share/emacs/24.0.50/lisp/org/org-mhe
/usr/share/emacs-snapshot/site-lisp/org-mode/org-macs hides /usr/share/emacs/24.0.50/lisp/org/org-macs
/usr/share/emacs-snapshot/site-lisp/org-mode/org-wl hides /usr/share/emacs/24.0.50/lisp/org/org-wl
/usr/share/emacs/24.0.50/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.0.50/lisp/net/sasl-digest
/usr/share/emacs/24.0.50/site-lisp/flim/hmac-def hides /usr/share/emacs/24.0.50/lisp/net/hmac-def
/usr/share/emacs/24.0.50/site-lisp/flim/sasl hides /usr/share/emacs/24.0.50/lisp/net/sasl
/usr/share/emacs/24.0.50/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.0.50/lisp/net/sasl-ntlm
/usr/share/emacs/24.0.50/site-lisp/flim/ntlm hides /usr/share/emacs/24.0.50/lisp/net/ntlm
/usr/share/emacs/24.0.50/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.0.50/lisp/net/hmac-md5
/usr/share/emacs/24.0.50/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.0.50/lisp/net/sasl-cram
/usr/share/emacs-snapshot/site-lisp/gnus-bonus-el/nnir hides /usr/share/emacs/24.0.50/lisp/gnus/nnir
/usr/share/emacs-snapshot/site-lisp/emms/tq hides /usr/share/emacs/24.0.50/lisp/emacs-lisp/tq
/usr/share/emacs-snapshot/site-lisp/cedet-common/inversion hides /usr/share/emacs/24.0.50/lisp/cedet/inversion
/usr/share/emacs-snapshot/site-lisp/cedet-common/mode-local hides /usr/share/emacs/24.0.50/lisp/cedet/mode-local
/usr/share/emacs-snapshot/site-lisp/cedet-common/cedet-files hides /usr/share/emacs/24.0.50/lisp/cedet/cedet-files
/usr/share/emacs-snapshot/site-lisp/cedet-common/cedet hides /usr/share/emacs/24.0.50/lisp/cedet/cedet
Features:
(shadow footnote emacsbug etags find-func iswitchb holidays hol-loaddefs
cal-iso jka-compr dabbrev debug tmm newcomment two-column iso-transl
multi-isearch ffap multi-term term ehelp electric tramp-imap assoc
tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp
shell tramp-compat trampver help-mode view tls erc-menu erc-join
erc-ring erc-networks erc-pcomplete pcomplete erc-netsplit
erc-track-score erc-track gnus-dup gnus-cite egocentric w3m-form
w3m-symbol w3m w3m-hist w3m-e23 w3m-ccl ccl w3m-fsf w3m-favicon
w3m-image w3m-proc w3m-util qp gnus-agent gnus-srvr nnvirtual gnus-async
gnus-bcklg gnus-score score-mode parse-time mailcrypt gnus-ml disp-table
gnus-cache nnfolder utf-7 utf7 netrc nnimap imap nndraft nnmh bbdb-gnus
bbdb-snarf mail-extr nnnil gnus-demon nntp spam spam-stat bbdb-com
gnus-uu yenc gnus-msg pgg pgg-parse pgg-def vc-git org-indent org-wl
org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs
org-html org-info org-gnus org-docview org-bibtex org-bbdb eldoc package
mule-util alist pym static apel-ver product elscreen saveplace jd-org
org-publish org-exp ob-exp org-exp-blocks org-location-google-maps
google-maps google-maps-static google-maps-geocode google-maps-base json
appt diary-lib diary-loaddefs org-habit org-agenda org-collector
org-table org byte-opt warnings bytecomp byte-compile ob-emacs-lisp
ob-keys ob-comint comint ring ob-tangle ob-ref ob-lob ob-table ob
org-footnote org-src org-list org-faces org-compat org-entities org-macs
noutline outline cal-menu calendar cal-loaddefs jd-bbdb bbdb jd-fortune
fortune jd-naquadah jd-muse muse-blog muse-journal muse-book muse-latex
muse-html muse-xml-common cus-edit cus-start cus-load muse-publish
muse-project muse-protocols info muse-regexps derived muse
muse-nested-tags muse-mode jd-erc erc-button erc-fill erc-stamp
jd-buttonize jd-erc-page-me jd-levenshtein levenshtein erc-match
notifications dbus xml erc-goodies erc erc-backend erc-compat thingatpt
pp jd-smiley smiley gnus-art mm-uu mml2015 epg-config mm-view smime
password-cache dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader
jd-ee jd-emms emms-volume emms-volume-amixer format-spec emms-tag-editor
emms-i18n emms-mark emms-history emms-bookmarks emms-last-played
emms-stream-info emms-metaplaylist-mode emms-lastfm emms-url
emms-browser sort emms-playlist-sort emms-score emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics time-date emms-streams
emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info
later-do emms-playlist-mode emms-player-mplayer emms-player-simple
emms-source-playlist emms-source-file dired emms-setup emms emms-compat
jd-message flyguess flyspell ispell jd-text message sendmail rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader jd-coding
highlight-parentheses cc-styles cc-align cc-engine cc-vars cc-defs
rainbow-mode regexp-opt which-func imenu jd-network jd-google edmacro
kmacro browse-url jd-calendar jd-term uniquify browse-kill-ring server
ido ansi-color paren windmove hl-line delsel savehist hi-lock time
color-theme-tangotango color-theme easymenu wid-edit cl cl-19 debian-el
debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-vars vm-version
vm-init org-install muse-autoloads mailcrypt-init emms-auto
emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode
dpkg-dev-el dpkg-dev-el-loaddefs tempo url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-util url-parse
auth-source gnus-util timezone url-vars mm-util mail-prsvr mailcap
xml-parse doxymacs cedet-autogen advice advice-preload autoload help-fns
bbdb-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
<#secure method=pgpmime mode=sign>
--
Julien Danjou
// =1430 <julien@danjou.info> http://julien.danjou.info
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
2010-08-13 22:36 bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first Julien Danjou
@ 2013-07-12 7:42 ` Leo Liu
2013-07-12 8:00 ` Julien Danjou
0 siblings, 1 reply; 6+ messages in thread
From: Leo Liu @ 2013-07-12 7:42 UTC (permalink / raw)
To: Julien Danjou; +Cc: 6852, Kim F. Storm
On 2010-08-14 06:36 +0800, Julien Danjou wrote:
> Then I type / to enter into the first directory, namely "Org/".
>
> But what seems to happen is that ido try to redo the matches with the
> string "Or/", making ".vimperator/" the best candidate, and then
> entering it, as shown in the trace:
>
> final slash: Or/ try single dir: nil prefix match: ("Org/" "org/")
> suffix match: ("Or" "Or/\\'" (".vimperator/")) new :
> (".vimperator/" "Org/" "org/" ".mirrormagic/" ".openoffice.org/"
> ".openoffice.org2/" ".org-timestamps/" ".root-portal/" ".torcs/"
> "Work/" ".BitTornado/" ".conkeror.mozdev.org/") single match:
> .vimperator/ cd: /home/jd/.vimperator/
>
> This seems wrong to me.
ido order matches this way
full-matches > suffix matches > prefix matches > remaining matches
So what you saw seems normal to me. WDYT?
Leo
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
2013-07-12 7:42 ` Leo Liu
@ 2013-07-12 8:00 ` Julien Danjou
2013-07-13 1:07 ` Leo Liu
0 siblings, 1 reply; 6+ messages in thread
From: Julien Danjou @ 2013-07-12 8:00 UTC (permalink / raw)
To: Leo Liu; +Cc: 6852, Kim F. Storm
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
On Fri, Jul 12 2013, Leo Liu wrote:
> ido order matches this way
>
> full-matches > suffix matches > prefix matches > remaining matches
>
> So what you saw seems normal to me. WDYT?
The problem isn't that it picks vimperator, the problem is that the
prompt shows Org/ as the first candidate in the list and that when
pressing / I expect it to respect what it showed me. :(
--
Julien Danjou
# Free Software hacker # freelance consultant
# http://julien.danjou.info
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
2013-07-12 8:00 ` Julien Danjou
@ 2013-07-13 1:07 ` Leo Liu
2013-07-15 8:11 ` Leo Liu
2013-07-15 8:30 ` Julien Danjou
0 siblings, 2 replies; 6+ messages in thread
From: Leo Liu @ 2013-07-13 1:07 UTC (permalink / raw)
To: Julien Danjou; +Cc: 6852, Kim F. Storm
On 2013-07-12 16:00 +0800, Julien Danjou wrote:
> The problem isn't that it picks vimperator, the problem is that the
> prompt shows Org/ as the first candidate in the list and that when
> pressing / I expect it to respect what it showed me. :(
I committed a fix. Will you be able to test it from emacs-trunk?
Thanks,
Leo
From ba377187a3a81358a349e806d24cc7cdf44f4b6b Mon Sep 17 00:00:00 2001
Date: Sat, 13 Jul 2013 08:57:47 +0800
Subject: [PATCH] * ido.el (ido-exhibit): Handle ido-enter-matching-directory
before ido-set-matches call.
---
lisp/ido.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/ido.el b/lisp/ido.el
index 9c4e5654..ce43e866 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -4482,11 +4482,6 @@ (defun ido-exhibit ()
(setq ido-exit 'refresh)
(exit-minibuffer))
- ;; Update the list of matches
- (setq ido-text contents)
- (ido-set-matches)
- (ido-trace "new " ido-matches)
-
(when (and ido-enter-matching-directory
ido-matches
(or (eq ido-enter-matching-directory 'first)
@@ -4500,6 +4495,11 @@ (defun ido-exhibit ()
(setq ido-exit 'refresh)
(exit-minibuffer))
+ ;; Update the list of matches
+ (setq ido-text contents)
+ (ido-set-matches)
+ (ido-trace "new " ido-matches)
+
(when (and (boundp 'ido-enable-virtual-buffers)
(not (eq ido-enable-virtual-buffers 'always))
(eq ido-cur-item 'buffer)
--
1.8.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
2013-07-13 1:07 ` Leo Liu
@ 2013-07-15 8:11 ` Leo Liu
2013-07-15 8:30 ` Julien Danjou
1 sibling, 0 replies; 6+ messages in thread
From: Leo Liu @ 2013-07-15 8:11 UTC (permalink / raw)
To: 6852-done
Fixed in trunk.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
2013-07-13 1:07 ` Leo Liu
2013-07-15 8:11 ` Leo Liu
@ 2013-07-15 8:30 ` Julien Danjou
1 sibling, 0 replies; 6+ messages in thread
From: Julien Danjou @ 2013-07-15 8:30 UTC (permalink / raw)
To: Leo Liu; +Cc: 6852, Kim F. Storm
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
On Sat, Jul 13 2013, Leo Liu wrote:
> I committed a fix. Will you be able to test it from emacs-trunk?
That seems to work as expected now, thanks a lot Leo!
--
Julien Danjou
/* Free Software hacker * freelance consultant
http://julien.danjou.info */
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-07-15 8:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 22:36 bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first Julien Danjou
2013-07-12 7:42 ` Leo Liu
2013-07-12 8:00 ` Julien Danjou
2013-07-13 1:07 ` Leo Liu
2013-07-15 8:11 ` Leo Liu
2013-07-15 8:30 ` Julien Danjou
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.