From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.bugs Subject: bug#11954: 24.1.50; Ido in dired buffers Date: Tue, 17 Jul 2012 07:52:15 +0200 Message-ID: <871ukbvss0.fsf@math.ethz.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342504391 13857 80.91.229.3 (17 Jul 2012 05:53:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 05:53:11 +0000 (UTC) To: 11954@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 07:53:11 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sr0ic-0005ox-KP for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2012 07:53:10 +0200 Original-Received: from localhost ([::1]:60897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0ib-0006tN-JQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2012 01:53:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0iY-0006t4-0N for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr0iW-0007dC-7j for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:53:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0iW-0007cc-4C for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:53:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sr0oI-0001sE-3P for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marius Hofert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jul 2012 05:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11954 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.13425047057158 (code B ref -1); Tue, 17 Jul 2012 05:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jul 2012 05:58:25 +0000 Original-Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sr0ng-0001rM-0j for submit@debbugs.gnu.org; Tue, 17 Jul 2012 01:58:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56127) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sr0nd-0001rE-6s for submit@debbugs.gnu.org; Tue, 17 Jul 2012 01:58:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr0hp-0007Ho-Fx for submit@debbugs.gnu.org; Tue, 17 Jul 2012 01:52:22 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:42226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0hp-0007Hj-CM for submit@debbugs.gnu.org; Tue, 17 Jul 2012 01:52:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0hn-0006rw-Te for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:52:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr0hl-0007HX-W3 for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:52:19 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:33053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr0hl-0007HR-Mc for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 01:52:17 -0400 Original-Received: from CAS12.d.ethz.ch (172.31.38.212) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 17 Jul 2012 07:52:15 +0200 Original-Received: from sklar (129.132.146.66) by CAS12.d.ethz.ch (172.31.38.212) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 17 Jul 2012 07:52:15 +0200 X-Originating-IP: [129.132.146.66] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62022 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': ### I use dired mode a lot and have recently started to use ido mode. I have the following settings in .emacs to use ido mode in buffers and for finding files: (ido-mode 1); enable ido-mode (setq ido-enable-flex-matching t); flexibly match names via fuzzy matching (ido-everywhere t); use ido-mode everywhere, in buffers and for finding files (setq ido-use-filename-at-point 'guess); for find-file-at-point (setq ido-use-url-at-point t); look for URLs at point (setq ffap-require-prefix t); get find-file-at-point with C-u C-x C-f (used to be C-x C-f without ido) I was wondering if it is possible to use ido mode when copying ('C') or renaming ('R') files in dired mode. I asked on stackoverflow (see http://stackoverflow.com/questions/11505878/get-ido-in-dired-buffers) and as the user "assem" pointed out, I should submit this question as a bug report/feature request. By calling ido-everywhere correctly, 'C' is already working in dired mode. "assem" also gave a hint towards a solution for 'R': ,---- | The problem is the 'ido property in the symbol for 'dired-do-rename has been specifically set to 'ignore. As a result, inside of ido-read-file-name the (and ...) clause that falls into completing-read fails, and it jumps into the fallback, ultimately to read-file-name-default `---- and ,---- | Surely they had a very good reason for this, but I will say that doing (put 'dired-do-rename 'ido 'find-file) gives an ido-completing read and had no adverse consequences for me to rename a basic file and directory. I don't recommend this though - instead I would submit a bug report/feature request `---- It would be great if dired mode ("in ido mode") would work as expected and use ido when 'R'-ing files. Cheers, Marius ### 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'. For information about debugging Emacs, please read the file /usr/share/emacs/24.1.50/etc/DEBUG. In GNU Emacs 24.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-07-13 on lychee, modified by Debian (emacs-snapshot package, version 2:20120712-1~ppa1~precise1) Windowing system distributor `The X.Org Foundation', version 11.0.11103000 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.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/x86_64-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' '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 -znocombreloc' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: ESS[S] Minor modes in effect: gnus-desktop-notify-mode: t ess-roxy-mode: t TeX-PDF-mode: t flyspell-mode: t shell-dirtrack-mode: t eldoc-mode: t yas/global-mode: t yas/minor-mode: t desktop-save-mode: t ido-everywhere: t show-paren-mode: t delete-selection-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 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: C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-SPC C-e C-w C-/ C-a C-SPC C-w C-/ C-SPC C-e C-w C-x C-s M-> s * SPC * SPC x u b n u t n b u n u t n t u * * SPC e m a c s C-y E C-e C-e * * SPC o r g - m o d e C-x C-s X C-x C-s C-r b u g C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-e i n f o SPC r e p o r t i n g SPC C-e C-x C-s M-> C-x C-s M-x g E q g m b u g C-x k y q C-x k M-x r e p o r Recent messages: Reading active file via nndraft...done Checking new news...done Mark set [2 times] No match [2 times] Buffer *unsent mail* modified; kill anyway? (y or n) y Saving /home/mhofert/.newsrc.eld... Saving file /home/mhofert/.newsrc.eld... Wrote /home/mhofert/.newsrc.eld Saving /home/mhofert/.newsrc.eld...done Making completion list... Load-path shadows: