From unknown Wed Aug 20 01:20:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15638: 24.3; dired-other-frame with ido-everywhere lists files, not just directories 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: To: 15638@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138203008910982 (code B ref -1); Thu, 17 Oct 2013 17:15:06 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2013 17:14:49 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) Message-ID: <52600695.7080602@gmail.com> Date: Thu, 17 Oct 2013 11:47:33 -0400 From: "Joe Vornehm Jr." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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) From unknown Wed Aug 20 01:20:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Joe Vornehm Jr." Subject: bug#15638: closed (Re: bug#15638: 24.3; dired-other-frame with ido-everywhere lists files, not just directories) Message-ID: References: <52600695.7080602@gmail.com> X-Gnu-PR-Message: they-closed 15638 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 15638@debbugs.gnu.org Date: Sat, 19 Oct 2013 00:41:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1382143263-27347-1" This is a multi-part message in MIME format... ------------=_1382143263-27347-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15638: 24.3; dired-other-frame with ido-everywhere lists files, not just d= irectories which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15638@debbugs.gnu.org. --=20 15638: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15638 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1382143263-27347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15638-done) by debbugs.gnu.org; 19 Oct 2013 00:40:38 +0000 Received: from localhost ([127.0.0.1]:57390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXKaq-00076Q-4U for submit@debbugs.gnu.org; Fri, 18 Oct 2013 20:40:36 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37485 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXKaj-00076E-HQ for 15638-done@debbugs.gnu.org; Fri, 18 Oct 2013 20:40:30 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VXKai-0007ES-Ok; Fri, 18 Oct 2013 20:40:28 -0400 From: Glenn Morris To: 15638-done@debbugs.gnu.org Subject: Re: bug#15638: 24.3; dired-other-frame with ido-everywhere lists files, not just directories References: <52600695.7080602@gmail.com> X-Spook: Glock COSCO bce strategic INS TWA Perl-RSA airframe X-Ran: z9'M+pcQ8G(yCeLnLQE4rLZ(Zbl,3h9'_8WUQ#}~W<@T:2u8p[{s2Y~i;{M/n;X;#r(L]I X-Hue: magenta X-Attribution: GM Date: Fri, 18 Oct 2013 20:40:28 -0400 In-Reply-To: <52600695.7080602@gmail.com> (Joe Vornehm, Jr.'s message of "Thu, 17 Oct 2013 11:47:33 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15638-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Version: 24.4 Thanks; applied. ------------=_1382143263-27347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Oct 2013 17:14:49 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) Message-ID: <52600695.7080602@gmail.com> Date: Thu, 17 Oct 2013 11:47:33 -0400 From: "Joe Vornehm Jr." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.3; dired-other-frame with ido-everywhere lists files, not just directories Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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) ------------=_1382143263-27347-1--