From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Joe Vornehm Jr." Newsgroups: gmane.emacs.bugs Subject: bug#15638: 24.3; dired-other-frame with ido-everywhere lists files, not just directories Date: Thu, 17 Oct 2013 11:47:33 -0400 Message-ID: <52600695.7080602@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382030146 20555 80.91.229.3 (17 Oct 2013 17:15:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 17:15:46 +0000 (UTC) To: 15638@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 17 19:15:49 2013 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 1VWrAq-0005Jd-M2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2013 19:15:48 +0200 Original-Received: from localhost ([::1]:53567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWrAq-0000ba-71 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2013 13:15:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWrAP-0008W4-8k for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 13:15:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWrAC-000818-KO for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 13:15:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWrAC-000812-HF for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 13:15:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VWrAB-0002sM-R6 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 13:15:08 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Joe Vornehm Jr." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Oct 2013 17:15:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138203008910982 (code B ref -1); Thu, 17 Oct 2013 17:15:06 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Oct 2013 17:14:49 +0000 Original-Received: from localhost ([127.0.0.1]:55749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWr9s-0002r3-EB for submit@debbugs.gnu.org; Thu, 17 Oct 2013 13:14:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39001) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWpo0-0000lp-IY for submit@debbugs.gnu.org; Thu, 17 Oct 2013 11:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWpnn-0000MX-3l for submit@debbugs.gnu.org; Thu, 17 Oct 2013 11:48:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWpnn-0000MT-0c for submit@debbugs.gnu.org; Thu, 17 Oct 2013 11:47:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWpne-0006jh-I3 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 11:47:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWpnV-0000J0-W9 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 11:47:46 -0400 Original-Received: from mail-qa0-x22a.google.com ([2607:f8b0:400d:c00::22a]:65433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWpnV-0000Iu-RH for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2013 11:47:37 -0400 Original-Received: by mail-qa0-f42.google.com with SMTP id w8so5684076qac.1 for ; Thu, 17 Oct 2013 08:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=d9+M9yMz6vblXgvUnQryzZFBEEaN1LZG01AJiitAbpc=; b=yXzTjNHYPXu6i+H0lUU2dfCBPJVhShQAEtLf2PcLdeRiDqXDy6Dm0T0quxy6vCejVH mNOWZ1JiVuhn2MBhAobRow7ISYgCVNEhl63SB0ghSNCqNfedz5VI3i1JxqWIPX88bniO CtOQZm7mV08gRKTqaoyCFpU1EVZ6GpATqmyqH9Pa4GZaPtmCuxVfLoZ7bfmKams4ZJ0P EjNV//K8Q2kXSI2HmRdReEl93TGRamcDbZ87+gCqF+fcuuJiHhp8yuyuxKa9BtUlr9kh BmKu7DbCdoedh2mj/kJbFF38ftSRs5ptxlbm6iUPVwuqNeuFV2WRfOTH5Xgqev2CH65C Bqsg== X-Received: by 10.49.39.161 with SMTP id q1mr5006304qek.66.1382024856729; Thu, 17 Oct 2013 08:47:36 -0700 (PDT) Original-Received: from [10.5.129.50] (u-of-rochester-128-151-150-25.wireless.rochester.edu. [128.151.150.25]) by mx.google.com with ESMTPSA id fx6sm159237538qeb.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Oct 2013 08:47:35 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 17 Oct 2013 13:14:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:79341 Archived-At: emacs -Q M-x ido-mode M-x ido-everywhere C-x 5 d At this point, the ido-enhanced dired prompt is allowing selection of both files and directories. It should only list directories, which is the behavior exhibited when invoking `dired' (C-x d) instead of `dired-other-frame' (C-x 5 d). I have included a patch (at the bottom of this message) to the stock ido.el with Emacs 24.3.1 that fixes the problem. It adds this single line, immediately below a similar line for dired-other-window: (put 'dired-other-frame 'ido 'dir) In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: ENU locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: ido-everywhere: t tooltip-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Recent input: M-x i d o - m o d e M-x i d o - e v e r y w h e r e C-x 5 d C-g M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Ido mode enabled Ido-Everywhere mode enabled Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired cus-start cus-load ido time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 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 w32 multi-tty emacs) Patch: *** ido.el 2013-03-17 15:52:38.366342100 -0400 --- ido.el.new 2013-10-17 11:31:38.501582100 -0400 *************** *** 4667,4672 **** --- 4667,4673 ---- (put 'dired-do-rename 'ido 'ignore) (put 'ibuffer-find-file 'ido 'find-file) (put 'dired-other-window 'ido 'dir) + (put 'dired-other-frame 'ido 'dir) ;;;###autoload (defun ido-read-buffer (prompt &optional default require-match)