From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.bugs Subject: bug#28101: 26.0.50; RET misbehaving in ido-find-file Date: Tue, 15 Aug 2017 11:48:31 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1502823026 7344 195.159.176.226 (15 Aug 2017 18:50:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Aug 2017 18:50:26 +0000 (UTC) To: 28101@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 15 20:50:20 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhgus-0001FY-7w for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Aug 2017 20:50:14 +0200 Original-Received: from localhost ([::1]:56639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhguy-00011g-GG for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Aug 2017 14:50:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhguh-0000o7-1y for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhgug-0008Rx-0f for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:50:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhguf-0008Rl-T2 for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhguf-0000TS-L3 for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Mastro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2017 18:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28101 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.15028229441788 (code B ref -1); Tue, 15 Aug 2017 18:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Aug 2017 18:49:04 +0000 Original-Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhgtk-0000Sl-4i for submit@debbugs.gnu.org; Tue, 15 Aug 2017 14:49:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhgth-0000SN-Sc for submit@debbugs.gnu.org; Tue, 15 Aug 2017 14:49:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhgtb-00086k-Pz for submit@debbugs.gnu.org; Tue, 15 Aug 2017 14:48:56 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhgtb-00086e-M8 for submit@debbugs.gnu.org; Tue, 15 Aug 2017 14:48:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhgta-0000S4-9A for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:48:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhgtZ-00085w-7M for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:48:54 -0400 Original-Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:38498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhgtZ-00085k-2l for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2017 14:48:53 -0400 Original-Received: by mail-qt0-x22e.google.com with SMTP id t37so9104764qtg.5 for ; Tue, 15 Aug 2017 11:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qK2pbAsnw4tGBOyej5ZVmH5z7qViys+m8gKjlMq33g4=; b=ubuCLYYU+12FYfG4q6p2zpLr0O5nFL74wX69EsiusNz4UMV98eErfCVT0kxSkMhmD2 +fX68NSjRJycnESN1Mgl7GZpDcUGj1peqjpPUaYJTyByfxIxKGPsyiK+bzHMcN9GseRi g40ysHahtNYy1AyIT7Gl+SghE3j8h5Yul0DybDAf7+QziLZTIcBqEVsZ1poW13Uc4t5k gCu/27YhkFLWSPcdgje19RA0d5CA1i75ABq82IdQGp1PKWm21gy95QYgjv9VzR9SZCZ0 nsstIY0gp6xDgP/Jzbag1+zKUo+Rsd53y87i17FPZWJirN23f1WeXHmKjpmb63y2R5zy 1+bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qK2pbAsnw4tGBOyej5ZVmH5z7qViys+m8gKjlMq33g4=; b=O8CmS4lCewHR+ib/kgQVOZl5wkJom5vC1p+eNDdEuUkBfcFBwIlLuAvLBmxJ8yPd1M scj8w6Ohg5Zf6yoowKTq4FUGZMWFwN32/0T1s2ggshQUlNp//aNmRRKtGVD2FROz5aTh 4MCtXrBzgz21IrQnIkK56yxkqu0492Uqc9WwJnsfzFOajWYCvPZlRF7FMF8cqMzMDN6J Bb6Ts8PmjIWQYTBpnHVH9mJ0wv3laz195nXTVq/2M7J9aQlC8AESfVwCYa+Ma0etc9T3 Ql4aPQYz7swE5S2oomZLa+2XKjWNihu+P9pwWzzvxTWfVdeo/Ej+Xs//pvb+TgWvIhlZ ZRTQ== X-Gm-Message-State: AHYfb5hhavCiB4C5Zr/oX1GJu0K7rl4jhGoCVRcXHEAWymzyn472EYUT ego/liBf4VLw3Na9XErPv8I50FdHmyxtAWE= X-Received: by 10.200.58.199 with SMTP id x65mr37871675qte.205.1502822932122; Tue, 15 Aug 2017 11:48:52 -0700 (PDT) Original-Received: by 10.200.15.156 with HTTP; Tue, 15 Aug 2017 11:48:31 -0700 (PDT) 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.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:135786 Archived-At: RET (`ido-exit-minibuffer') seems to be misbehaving in `ido-find-file' in master. To reproduce: 1. mkdir test; cd test 2. mkdir -p {aaa,aab}/foo 3. emacs -Q 4. Type "M-x ido-mode RET" 5. Type "C-x C-f" (or "M-x ido-find-file RET") 6. Type "a" 7. Type "RET" (i.e. `ido-exit-minibuffer') The result in Emacs 25 is that `ido-find-file' descends into the directory selected after typing "a" (whether "aaa" or "aab"). You're still in `ido-find-file' (with "foo" the only remaining option). This is the expected behavior. The result in Emacs 26 is that the directory selected after typing "a" is opened in Dired. I'm pretty sure this is a fairly recent change. I originally suspected 4246ad2 (enabling lexical binding in ido.el), particularly since ido.el treats some variables as dynamic but never declares them as such (e.g. `ido-cur-item', which is referenced in `ido-exit-minibuffer'). However, I deleted the lexical-binding cookie, re-ran "make", and did not observe any change in this behavior. I haven't had a chance to run a bisect. Thanks John In GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32) of 2017-08-15 built on LAMBDA Repository revision: 5c3d0ce3e09bf070bb3c89caa9d88f25d4a39283 Windowing system distributor 'Microsoft Corp.', version 10.0.15063 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/c/emacs/emacs-master --with-zlib --with-gnutls --with-xml2 --without-imagemagick --without-pop --without-compress-install PKG_CONFIG_PATH=/mingw64/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 97233 8485) (symbols 56 20083 1) (miscs 48 42 85) (strings 32 29965 1128) (string-bytes 1 770055) (vectors 16 14577) (vector-slots 8 485608 8006) (floats 8 50 66) (intervals 56 237 25) (buffers 992 11))