Package: emacs;
Reported by: trentbuck <at> gmail.com (Trent W. Buck)
Date: Sun, 28 Feb 2016 23:57:01 UTC
Severity: normal
Merged with 45257
Found in versions 24.4, 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: trentbuck <at> gmail.com (Trent W. Buck) To: 22844 <at> debbugs.gnu.org Subject: bug#22844: 24.4; ido confused by leading ~ in dir names Date: Mon, 29 Feb 2016 10:56:10 +1100
Because I use wget -x, I have directories like this: ~/Desktop/www.cl.cam.ac.uk/~rja14/Papers/SEv2-c01.pdf If I open dired in ~/Desktop, I can browse to that just fine. If I use C-x C-f (ido-find-file) from ~/Desktop/www.cl.cam.ac.uk/, I can press ^M and got into ~rja14 just fine: Find file: ~/Desktop/www.cl.cam.ac.uk/{~rja14/ | ~sjm217/} ^M Find file: ~/Desktop/www.cl.cam.ac.uk/~rja14/{Papers/ | book/ | book.html} But if I try to navigate via C-x C-f from somewhere else (like ~/Desktop), ido goes haywire: Find file: ~/Desktop/{www.cl.cam.ac.uk/ | ... ^M Find file: ~/Desktop/www.cl.cam.ac.uk/{~rja14/ | ~sjm217/} ^M Find file: ~/Desktop/~rja14/ [No match] If this is easy to fix, please fix it. If it involves a bunch of tradeoffs, don't worry about it- it doesn't affect me often & dired is a "good enough" workaround. (This issue has been present for years, I only just got annoyed enough to report it.) The ido settings in my .emacs are: (setq ido-default-buffer-method 'selected-window ido-default-file-method 'selected-window ido-enable-prefix t ido-enable-flex-matching t ido-save-directory-list-file "~/.emacs.d/ido.last" ido-use-filename-at-point 'guess ido-use-url-at-point t) (ido-mode +1) (ido-everywhere +1) (eval-after-load "ido" '(eval-after-load "dired" '(put 'ido-subdir 'face-alias 'dired-directory))) In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu) of 2014-10-26 on trouble, modified by Debian System Description: Debian GNU/Linux 8.0 (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=no --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix Major mode: rcirc Minor modes in effect: shell-dirtrack-mode: t rcirc-track-minor-mode: t global-hl-todo-mode: t ido-everywhere: t savehist-mode: t icomplete-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t use-hard-newlines: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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: , i DEL SPC i f SPC O DEL I SPC g o t SPC b a c k SPC u p SPC a SPC d i r , SPC t h e n SPC t DEL I SPC g e t SPC t h i s : RET C-c C-c C-x C-f C-g F i n d SPC f i l e : SPC ~ / D e s k t o p / { w w w . c l . c a m . a c . u k / SPC | SPC . . . RET C-x C-f RET C-g F i n d SPC f i l e : SPC ~ / D e s k t o p / w w w . c l . c a m . a c . u k / { ~ r j a 1 4 / SPC | SPC ~ s j m 2 1 7 / } RET C-x C-f w w RET RET C-g F i n d SPC f i l e : SPC ~ / D e s k t o p / ~ r j a 1 4 / SPC [ N o SPC m a t c h ] ESC O B ESC O A C-x h ESC 1 ESC | p a s t e b i n i t RET C-c C-c RET a i TAB [REDACTED] C-x 1 ESC x r e p o r t b u C-g ESC x r e p o r t b u g RET C-g ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: C-x C-g is undefined Quit Mark set Quit ESC C-M-g is undefined Quit [5 times] Type C-c C-c to return text to #emacs <at> irc.freenode.net, or C-c C-k to cancel Quit [3 times] End of buffer Mark set [2 times] Quit [2 times] Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader tabify conf-mode tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver format-spec shell pcomplete dired-aux vc-git sh-script smie executable misearch multi-isearch windmove mule-util w3m-form w3m-symbol w3m-filter w3m-bookmark w3m-session ffap thingatpt url-parse url-vars w3m browse-url doc-view dired image-mode easymenu timezone w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit w3m-ccl ccl w3m-favicon image w3m-image w3m-proc w3m-util xterm pp gnutls network-stream auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util password-cache starttls tls rcirc server advice sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils jka-compr edmacro kmacro cl-loaddefs cl-lib disp-table hl-todo ido savehist icomplete time-date paren delsel saveplace debian-el debian-el-loaddefs w3m-load pylint compile comint regexp-opt ansi-color ring tool-bar 50magit emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify multi-tty emacs) Memory information: ((conses 16 210123 11386) (symbols 48 26803 0) (miscs 40 249 327) (strings 32 58074 7088) (string-bytes 1 1535299) (vectors 16 18608) (vector-slots 8 510015 2989) (floats 8 239 545) (intervals 56 7982 0) (buffers 960 37) (heap 1024 52556 1053))
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.