From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 04 14:42:42 2012 Received: (at submit) by debbugs.gnu.org; 4 Jul 2012 18:42:42 +0000 Received: from localhost ([127.0.0.1]:48372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmUX8-0002xB-NV for submit@debbugs.gnu.org; Wed, 04 Jul 2012 14:42:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52356) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmR21-0005Sf-BF for submit@debbugs.gnu.org; Wed, 04 Jul 2012 10:58:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmQxI-0007Kr-7n for submit@debbugs.gnu.org; Wed, 04 Jul 2012 10:53:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:52463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQxI-0007Kj-2i for submit@debbugs.gnu.org; Wed, 04 Jul 2012 10:53:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQxC-0008Iv-3j for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:53:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmQx5-0007H6-Kg for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:53:17 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:56823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQx5-0007GV-C1 for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:53:11 -0400 Received: by wibhq4 with SMTP id hq4so3957875wib.12 for ; Wed, 04 Jul 2012 07:53:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7MslpQlFYZmDGz7xiBYdfTFIIxFQnzRlbHv2i8xyDoA=; b=xww2ekoUEP9wpVUJkRCVdZo9P3OHbEehs/sULberGXv32dg0aK8tcoTJ5p2eBDg544 wcj1UkcP3lMvGc6f7fuGtXi2ewNVTBSNs8c8su4EzeDVAGLsoNe/tnwCWAhABnGhlgsY iE3kH1mUeARWjSDWF13R5fI/a6oOOjGRTDwtzxRGblUli8pIh+Gq1FzYxSw1e9YGXOR2 iRUgs0Kp8a1D1C14IKdT6GWfuQ9jcCv/jf+RlGuJ26F4Hi/Yz8tZ9+rruXpfmUl1uCZt NsX/ejWYppkng7Ikei/wSTXFhsKRGjC1ikQmtEtAcDKxOUGpS1YhlQIc/njj4Jf2u1UM JFxw== MIME-Version: 1.0 Received: by 10.180.100.136 with SMTP id ey8mr6596356wib.15.1341413588767; Wed, 04 Jul 2012 07:53:08 -0700 (PDT) Received: by 10.217.0.16 with HTTP; Wed, 4 Jul 2012 07:53:08 -0700 (PDT) Date: Wed, 4 Jul 2012 16:53:08 +0200 Message-ID: Subject: 24.1.1; ido-mode and interactive f From: Michael Brand To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 04 Jul 2012 14:42:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Hi all There is an unexpected behaviour of ido-mode that I could only drill down from org-babel-load-file but not analyse further. Emacs 23.3.1 shows test.el as the first ido suggestion as expected, 24.1.1 does not. Is this a bug in 24.1.1? The issue is easily reproduced with the shell command: emacs -q test.el --eval '(eval-buffer)' and this file test.el: #+BEGIN_SRC emacs-lisp (ido-mode 1) (ido-everywhere 1) (defun my-test (file) (interactive "fFile to load: ") (message "my-test file: %s" file)) (call-interactively 'my-test) #+END_SRC Michael From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 01:28:32 2013 Received: (at 11861) by debbugs.gnu.org; 9 Jul 2013 05:28:32 +0000 Received: from localhost ([127.0.0.1]:40971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwQTX-0005x5-Pe for submit@debbugs.gnu.org; Tue, 09 Jul 2013 01:28:32 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:64073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwQTV-0005wV-6y for 11861@debbugs.gnu.org; Tue, 09 Jul 2013 01:28:30 -0400 Received: by mail-pd0-f180.google.com with SMTP id 10so4818453pdi.11 for <11861@debbugs.gnu.org>; Mon, 08 Jul 2013 22:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=a0wG2otiRqiQlScDg0s1CBTTzh1HaMyqKwgTKLURzp8=; b=BPbvey5AgDNB8kOu2W8QutzsnqvZiigoWmv22fozq0666ZtFFXpq0GOsFYTaELVSom ocKCZVmcrSB1rQl7Bv/TPz0R7hic2yoUqDIVHNrdvvKfeVVm5gyoW4+2qbGckNiKg5ia mFftOr2Tv/w12No2LBdCsm+Pr/i+rzminJwxNu6fqPukeYQ0cvCIin8pLYH+gs1q4YnG KpqLIQZn/JQmaE3jlq01b5reNsbqoz0oIKKMMOr6xWvTulJ9hUAi+LPYfVvSkTaNz760 5UgoagQffOEGVShJGvrZnLiqXH66cWYz4QRE9QZEy3xCqz4cxW6FCb/EuIBU1GNbEttz kFGA== X-Received: by 10.66.228.7 with SMTP id se7mr26165048pac.62.1373347703308; Mon, 08 Jul 2013 22:28:23 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id kq2sm27917522pab.19.2013.07.08.22.28.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 08 Jul 2013 22:28:22 -0700 (PDT) From: Leo Liu To: Michael Brand Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Tue, 09 Jul 2013 13:28:14 +0800 In-Reply-To: (Michael Brand's message of "Wed, 4 Jul 2012 16:53:08 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: 0.0 (/) On 2012-07-04 22:53 +0800, Michael Brand wrote: > There is an unexpected behaviour of ido-mode that I could only drill > down from org-babel-load-file but not analyse further. Emacs 23.3.1 > shows test.el as the first ido suggestion as expected, 24.1.1 does > not. Is this a bug in 24.1.1? I can't see any abnormal behaviour with latest ido in emacs trunk. Would you be able to explain what the problem was? Thanks. Leo From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 10:08:12 2013 Received: (at 11861) by debbugs.gnu.org; 9 Jul 2013 14:08:12 +0000 Received: from localhost ([127.0.0.1]:42618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwYaR-0000JQ-LX for submit@debbugs.gnu.org; Tue, 09 Jul 2013 10:08:12 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:63746) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwYaO-0000Iw-FH for 11861@debbugs.gnu.org; Tue, 09 Jul 2013 10:08:09 -0400 Received: by mail-la0-f45.google.com with SMTP id fr10so4785300lab.32 for <11861@debbugs.gnu.org>; Tue, 09 Jul 2013 07:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gL7rYTPKggZyoZiFcVQvpc5e0g+dd6hIUIaGzQRWSLI=; b=LOGRfLTljojQ1CJ4jqtfdFLgG628S5BVDPhlur9arvNJWN2My6MK+tsw9MPNIwbww4 B2bWplXJPycg7SLdvz98orYmw8/H5UCLRv1341F/RUJPOouawdtNJg2xcGBWA9vm9sFn OdfT8DoGUCPWTU3FGpirAVR2CSulCa5tCmkMpUNjAbU1Iz544QtkxXFR6k/AZh3D0qUa N469JHJUsX9IQDsF0LnDIIc8lixgkv5pSgiq8TIet4zFfVRI8mKcsHiSJ54uIKIQFe8l ZcH46Yg5WOYffEQFMwi222gvRHz6CHNl6XTX9ZoXJz7bknVYeqg1330ZXGj4a65Um1Fx ZIMw== MIME-Version: 1.0 X-Received: by 10.152.88.78 with SMTP id be14mr12884319lab.19.1373378882299; Tue, 09 Jul 2013 07:08:02 -0700 (PDT) Received: by 10.114.182.164 with HTTP; Tue, 9 Jul 2013 07:08:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jul 2013 16:08:02 +0200 Message-ID: Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f From: Michael Brand To: Leo Liu Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) Hi Leo Thank you for looking into this. On Tue, Jul 9, 2013 at 7:28 AM, Leo Liu wrote: > On 2012-07-04 22:53 +0800, Michael Brand wrote: >> There is an unexpected behaviour of ido-mode that I could only drill >> down from org-babel-load-file but not analyse further. Emacs 23.3.1 >> shows test.el as the first ido suggestion as expected, 24.1.1 does >> not. Is this a bug in 24.1.1? > > I can't see any abnormal behaviour with latest ido in emacs trunk. Would > you be able to explain what the problem was? Thanks. Emacs 23.3 invoked as described in my first post ("emacs -q test.el --eval '(eval-buffer)'" with this ;;----------------------------------------------------------- (ido-mode 1) (ido-everywhere 1) (defun my-test (file) (interactive "fFile to load: ") (message "my-test file: %s" file)) (call-interactively 'my-test) ;;----------------------------------------------------------- in the file test.el and invoked from the directory where the file is located) shows test.el highlighted as the first ido-suggestion in the modeline prompt "File to load:". That is the file of the current buffer test.el, as expected. But Emacs 24.1, 24.2 and 24.3 show the alphabetically first file in the directory, highlighted as the first ido-suggestion in the prompt. Michael From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 11:25:59 2013 Received: (at 11861) by debbugs.gnu.org; 9 Jul 2013 15:25:59 +0000 Received: from localhost ([127.0.0.1]:42822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwZni-0003aA-Jl for submit@debbugs.gnu.org; Tue, 09 Jul 2013 11:25:58 -0400 Received: from mail-pb0-f50.google.com ([209.85.160.50]:43817) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwZng-0003ZV-05 for 11861@debbugs.gnu.org; Tue, 09 Jul 2013 11:25:56 -0400 Received: by mail-pb0-f50.google.com with SMTP id wz7so5654500pbc.9 for <11861@debbugs.gnu.org>; Tue, 09 Jul 2013 08:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=GR0nc4uDESESX1rgNFPfliz4xg9a1w+j06c8SPni5dM=; b=PRfAKYz+c8XgaK7iUM3ALJsn319TX8KQXf+IuAT+QtV/BQ1Dwq3prZXfs4a1QQHTWl XbE1d75NaRo0M1QMFi5FAjqe/MFz1Ylnv9RkGF+P8XdVR2+LuRInG+uzNFCiZ5068iqj 5skN+mKh4RhIbd69MjKqJVGFkVyL9riaqg/CIsPImd7qvzA5y2ev6w/FO8Lo2iP6WhPa WGdEB17dQvbNqjO8Y/rtPjO19YgkI5kaogb9YWC3nfhjKjLFuB6YbE4Itvq/f124vKW9 XXrUtUQLo0R0ojN4k8HM2bPrrfX6e4eqO6auTruDYRoHY3e3q2b4/qQahz2XC/fgxxrZ wN4g== X-Received: by 10.68.250.5 with SMTP id yy5mr27148567pbc.93.1373383549768; Tue, 09 Jul 2013 08:25:49 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id y9sm28773999pbb.46.2013.07.09.08.25.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 08:25:49 -0700 (PDT) From: Leo Liu To: Michael Brand Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Tue, 09 Jul 2013 23:25:41 +0800 In-Reply-To: (Michael Brand's message of "Tue, 9 Jul 2013 16:08:02 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) On 2013-07-09 22:08 +0800, Michael Brand wrote: > in the file test.el and invoked from the directory where the file is > located) shows test.el highlighted as the first ido-suggestion in the > modeline prompt "File to load:". That is the file of the current > buffer test.el, as expected. > > But Emacs 24.1, 24.2 and 24.3 show the alphabetically first file in > the directory, highlighted as the first ido-suggestion in the prompt. I loaded a version of ido.el from 28 Feb 2011 which is a few days before the release of 23.3 and still couldn't reproduce this bug. I have 23.4 installed and couldn't reproduce either. But from reading the code, the behaviour as you described in 23.3 would be wrong anyway. You didn't specify any default filename in the interactive form, there is no reason for ido to pick test.el as the default. HTH, Leo From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 16:29:01 2013 Received: (at 11861) by debbugs.gnu.org; 9 Jul 2013 20:29:02 +0000 Received: from localhost ([127.0.0.1]:43389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UweWz-0008NX-AZ for submit@debbugs.gnu.org; Tue, 09 Jul 2013 16:29:01 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:42943) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UweWx-0008NA-JI for 11861@debbugs.gnu.org; Tue, 09 Jul 2013 16:29:00 -0400 Received: by mail-lb0-f173.google.com with SMTP id v1so5070645lbd.4 for <11861@debbugs.gnu.org>; Tue, 09 Jul 2013 13:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O0ocvX3zAVBJZFVVWhFmFq0LfWE0eC5yWafAkV/R5Js=; b=iKvxnYKwMCT/Q/JyrrdnbgiIVdVeUW+VIxKPuZevY8MLJZdr4DKroIrD4y2UZnT9Au 347uQSoqaVoHxopxAJK2jSCl2u46KTtP/hoKFbmX7AZnesr0thBvetWe2e0rKdR7xKE8 LGMtoPBhtHslVT522FSrqyrD7tp2AeefKboy/JTYCORM+9n1kyDSe6oGx8Lg3xgA2of9 4RzZ5hE968xEofTb01NypSpR19OsAVDvML1Alwt/DNff7mrVqOIxyONldN5yY8sRvrpV NxRNCvvkwpOO3fnlKgpT5rnhjU7u2XZbtcsi536sqOMvZT0GNIKMo8eRtuolDSdCuliL rMSQ== MIME-Version: 1.0 X-Received: by 10.112.28.48 with SMTP id y16mr13805473lbg.37.1373401733429; Tue, 09 Jul 2013 13:28:53 -0700 (PDT) Received: by 10.114.182.164 with HTTP; Tue, 9 Jul 2013 13:28:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jul 2013 22:28:53 +0200 Message-ID: Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f From: Michael Brand To: Leo Liu Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) Hi Leo On Tue, Jul 9, 2013 at 5:25 PM, Leo Liu wrote: > On 2013-07-09 22:08 +0800, Michael Brand wrote: >> in the file test.el and invoked from the directory where the file is >> located) shows test.el highlighted as the first ido-suggestion in the >> modeline prompt "File to load:". That is the file of the current >> buffer test.el, as expected. >> >> But Emacs 24.1, 24.2 and 24.3 show the alphabetically first file in >> the directory, highlighted as the first ido-suggestion in the prompt. > > I loaded a version of ido.el from 28 Feb 2011 which is a few days before > the release of 23.3 and still couldn't reproduce this bug. I have 23.4 > installed and couldn't reproduce either. ? There is no such bug in 23.3 and 23.4, both suggest test.el as expected. I can reproduce the issue with 24.1, 24.2 and 24.3, these do not suggest test.el. Did you try one of the latter with my example command line with -q and my example file? I also assume you tried while having additional files in the same directory with names alphabetically before test.el. > But from reading the code, the behaviour as you described in 23.3 would > be wrong anyway. > You didn't specify any default filename in the interactive form, My previous interactive form in test.el seems not to be a good example, so let me suggest to replace it with test_2.el with an automated "M-x load-file": emacs -q test_2.el -f eval-buffer test_2.el: ;;----------------------------------------------------------- (ido-mode 1) (ido-everywhere 1) (call-interactively 'load-file) ;;----------------------------------------------------------- With 23.3 ido suggests the current buffer which I then can select, with 24.1, 24.2 and 24.3 ido suggest the alphabetically first file of the current directory, so I have to type the current buffer's file name again. > there is no reason for ido to pick test.el as the default. Ok, for "M-x load-file" one could argue to use "M-x eval-buffer" instead. But for "M-x org-babel-load-file" the ido suggestion was very useful for me as I see no alternative except writing my own wrapper for 24.1, 24.2 and 24.3 with the function current-buffer. Michael From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 22:48:54 2013 Received: (at 11861) by debbugs.gnu.org; 10 Jul 2013 02:48:54 +0000 Received: from localhost ([127.0.0.1]:43839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwkSc-0006J5-Cn for submit@debbugs.gnu.org; Tue, 09 Jul 2013 22:48:54 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:60974) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwkSZ-0006IZ-8i for 11861@debbugs.gnu.org; Tue, 09 Jul 2013 22:48:51 -0400 Received: by mail-pd0-f181.google.com with SMTP id 14so5826869pdj.40 for <11861@debbugs.gnu.org>; Tue, 09 Jul 2013 19:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=2JLQZBVjjkiMIt7Fkre2PkPn3cPUvCGpLPjW2gYNXYg=; b=WQVqZu0xpXTjsqse2EZG4YVSAKZzmphxTVDwePoOpVf4vKKnwgXTQPcAD+mZ6aqbU0 MSacMQ7R+DgVy5YtJ/CmDvZnhw8HSTqqOD4BhVsfB7XorR4vcJ0pIkW2D5x69iqeb9NH oE5Q0enX8pqgJkQxYUP0xTxXkLMhBRY8s+aMFUX3T1n36fU6gnprIt9JFflNHCYuvRQj uJrw/uoSq+tYWkVnuSC8gcxmumGZj5TEmdQ7YFupJvK6lmeoOIsBlUH5LT64547aFQyZ tke1FeILguQAeg8tDM2hGoP/HAJaXjdNnzk6mC3HrdfFdESQJxjz8OoJhtd6VbFndetE sbqg== X-Received: by 10.68.189.101 with SMTP id gh5mr29606520pbc.86.1373424524739; Tue, 09 Jul 2013 19:48:44 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id qv4sm31175019pbc.16.2013.07.09.19.48.39 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 19:48:43 -0700 (PDT) From: Leo Liu To: Michael Brand Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Wed, 10 Jul 2013 10:48:33 +0800 In-Reply-To: (Michael Brand's message of "Tue, 9 Jul 2013 22:28:53 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: 0.0 (/) On 2013-07-10 04:28 +0800, Michael Brand wrote: > emacs -q test_2.el -f eval-buffer > > test_2.el: > ;;----------------------------------------------------------- > (ido-mode 1) > (ido-everywhere 1) > (call-interactively 'load-file) > ;;----------------------------------------------------------- > > With 23.3 ido suggests the current buffer which I then can select, > with 24.1, 24.2 and 24.3 ido suggest the alphabetically first file of > the current directory, so I have to type the current buffer's file > name again. OK, I find a version of emacs 23.1 and was able to reproduce it i.e. test_2.el is the first item. But when I load the ido.el in 23.1 with emacs 24.x, test_2.el is no longer the first item. Could you check if this is the case for you too? I am clueless where things might go wrong. Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 09:21:00 2013 Received: (at 11861) by debbugs.gnu.org; 10 Jul 2013 13:21:00 +0000 Received: from localhost ([127.0.0.1]:44731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwuKK-0002Sy-4Q for submit@debbugs.gnu.org; Wed, 10 Jul 2013 09:21:00 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:37603) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwuKI-0002SS-2i for 11861@debbugs.gnu.org; Wed, 10 Jul 2013 09:20:58 -0400 Received: by mail-la0-f46.google.com with SMTP id eg20so5794656lab.19 for <11861@debbugs.gnu.org>; Wed, 10 Jul 2013 06:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2jnMYZlDitNq6w1pf+dN+1riCSFiHiU0iphW+sof+1E=; b=LUzXX8XvMVXyXxSbrLizu6SDuuwWGj40MtGtHhQcGBdV1Ic75o4bfbqSJDGuBMSIvd 38IxJel8pSNelbtWcm3HV79WSnfwDbMDWA16267sHui2wpunzsCwT67RbVAXCIAYrdZK EQ9fGDO9gnS3tAeQqXEwxT1pNwVLNKI2SoL4Ou/sDA8fQ3rPTlVPenBoxRCsFp/envvL QSQLsvXhyH7I3WUmQ6h5QN8I//fLyxxLJHmEL1xMbcMYv8qMnaiHCM45a1N1yU71lj47 wWdWX8w5hZpqoP7G34nJPRzX1xz8kDli3QpM3sXFnYFsmJ+cUmEClZS/Zlp9R+Kbd4/5 pjDw== MIME-Version: 1.0 X-Received: by 10.112.28.48 with SMTP id y16mr15303397lbg.37.1373462451828; Wed, 10 Jul 2013 06:20:51 -0700 (PDT) Received: by 10.114.182.164 with HTTP; Wed, 10 Jul 2013 06:20:51 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jul 2013 15:20:51 +0200 Message-ID: Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f From: Michael Brand To: Leo Liu Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) Hi Leo On Wed, Jul 10, 2013 at 4:48 AM, Leo Liu wrote: > OK, I find a version of emacs 23.1 and was able to reproduce it i.e. > test_2.el is the first item. > > But when I load the ido.el in 23.1 with emacs 24.x, test_2.el is no > longer the first item. > > Could you check if this is the case for you too? Yes, confirmed, with minimal distance 23.3=23.4 vs. 24.1: - Emacs 23.3: - ido.el original from 23.3: test_2.el is the first item, as expected - ido.el replaced from 24.1: test_2.el is the first item, as expected - Emacs 24.1: - ido.el original from 24.1: test_2.el is not the first item, not as expected - ido.el replaced from 23.3: test_2.el is not the first item, not as expected Michael From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 23:13:28 2013 Received: (at 11861) by debbugs.gnu.org; 11 Jul 2013 03:13:28 +0000 Received: from localhost ([127.0.0.1]:46482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ux7Jw-00057I-Hp for submit@debbugs.gnu.org; Wed, 10 Jul 2013 23:13:28 -0400 Received: from mail-pb0-f43.google.com ([209.85.160.43]:40056) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ux7Jt-00056z-Ty for 11861@debbugs.gnu.org; Wed, 10 Jul 2013 23:13:26 -0400 Received: by mail-pb0-f43.google.com with SMTP id md12so7364592pbc.16 for <11861@debbugs.gnu.org>; Wed, 10 Jul 2013 20:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=3LGcBqyx7lzpklzy4yVQXpAtQj4s42Liz5v3qpIFMpk=; b=j5AbokAEgzJ73LWL1qWTHzvwALVvm9GdzdxsNn8ow3BJ8KErWPIFph/7G/pDVMM2iA g0Iq7XnyzGTGrIHoTIo63RQKahFB6xcVIUDNrmAwfU5eVCsa19+yQyA1yP//5hdrSBC4 OWqouxf0mp+R6uNDnerq8OmXFVOGTrlHIm14VJAeJmtf10HDV3vCpb/AH4W7Oy5w7P/P lcnnrIgyNwf4ejgiRBAVy9ZcSFGGtUJ12IIBmkXfY4sxbUNVkltWqr1/SErLIU/gm37V of3zcXNWdhKsr5Y65VBlKwS9PONzYcMJdHOAqxGYCHS64EOB/q2VVovkj5CsVXga1u+O RkLw== X-Received: by 10.66.13.202 with SMTP id j10mr36217480pac.181.1373512399710; Wed, 10 Jul 2013 20:13:19 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id xe9sm36966997pbc.21.2013.07.10.20.13.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 10 Jul 2013 20:13:18 -0700 (PDT) From: Leo Liu To: Michael Brand Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Thu, 11 Jul 2013 11:13:11 +0800 In-Reply-To: (Michael Brand's message of "Wed, 10 Jul 2013 15:20:51 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) On 2013-07-10 21:20 +0800, Michael Brand wrote: > Yes, confirmed, with minimal distance 23.3=23.4 vs. 24.1: > - Emacs 23.3: > - ido.el original from 23.3: test_2.el is the first item, as expected > - ido.el replaced from 24.1: test_2.el is the first item, as expected > - Emacs 24.1: > - ido.el original from 24.1: test_2.el is not the first item, not as > expected > - ido.el replaced from 23.3: test_2.el is not the first item, not as > expected I have committed a change to emacs-trunk. Will you be able to test it and let me know if there are problems? Thanks. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 03:03:02 2013 Received: (at 11861) by debbugs.gnu.org; 11 Jul 2013 07:03:03 +0000 Received: from localhost ([127.0.0.1]:46750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxAu5-0004eA-5Z for submit@debbugs.gnu.org; Thu, 11 Jul 2013 03:03:02 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:53649) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxAu2-0004dl-7D for 11861@debbugs.gnu.org; Thu, 11 Jul 2013 03:02:58 -0400 Received: by mail-la0-f54.google.com with SMTP id ec20so6491316lab.13 for <11861@debbugs.gnu.org>; Thu, 11 Jul 2013 00:02:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XGD4LidYYWqVtfOm4HM0xKpIyUD0THKaq1LjK7uk2vo=; b=FajZExkDOVDewnOfuMkddljIv4+bMKBo4wGNoGj+SBeOYdpAXnWum+UkfZwylZYXOq CTfvOZE6pFVAHFXQFTmcsCUTDUc5y3g4VWK+io4v0Fkcg6/P4Z5aaxex2q5/SfiuK8yK CcypOUyTJmmDUBrSmrMudfrAGlAvckL7uh3oYi+oLHCBz+9IFfyA5nxxWMx12wKgoxld Tpu1KS1IAj7XA+mKlxhnuX4Wg0/p1cG8e+H/zvrHv0aChCg+uWibK54wYuhzstxi5UJZ oZ8F6qgINo0H260yOWEJBKdRojJFz23CeWhrbMd+u6du9IAYtaqitRCDGf/U494vm3QC Juzg== MIME-Version: 1.0 X-Received: by 10.112.29.17 with SMTP id f17mr16731218lbh.20.1373526171804; Thu, 11 Jul 2013 00:02:51 -0700 (PDT) Received: by 10.114.182.164 with HTTP; Thu, 11 Jul 2013 00:02:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jul 2013 09:02:51 +0200 Message-ID: Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f From: Michael Brand To: Leo Liu Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861 Cc: 11861@debbugs.gnu.org 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: -0.7 (/) Hi Leo On Thu, Jul 11, 2013 at 5:13 AM, Leo Liu wrote: > I have committed a change to emacs-trunk. Will you be able to test it > and let me know if there are problems? Thanks. Tested with Emacs 24.3 with your change for revision 113366 applied on the original lisp/ido.el: Bug resolved, thank you. Michael From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:43:04 2013 Received: (at 11861-done) by debbugs.gnu.org; 11 Jul 2013 15:43:04 +0000 Received: from localhost ([127.0.0.1]:48074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxJ1M-0001Tw-Bn for submit@debbugs.gnu.org; Thu, 11 Jul 2013 11:43:04 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:57336) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxJ1J-0001TI-V0 for 11861-done@debbugs.gnu.org; Thu, 11 Jul 2013 11:43:02 -0400 Received: by mail-pb0-f51.google.com with SMTP id um15so8031241pbc.24 for <11861-done@debbugs.gnu.org>; Thu, 11 Jul 2013 08:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:reply-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=msjQM0CIimPQYcXpBr8yaDR+pUBZNCzvUlRteUFowI4=; b=OGodRfTPCGY9sHP20nZHIeeWxtohNiR/rxmGWIS9C+W99E8O2WLTwkmm62wqFruvLv tKTc1pGKnFe20+V/AkXsWLzoaP4oztUbjXKAndFAQewEFXiBOAQIgyWRBggTIxRNLO6s Jzbbh6j8Boez++zh1TssYFnDLPTPCm1se79yYYt/jb4Wu3cFl4rUkzMvcWs2xDojnMcI T1t1/oN68W9pQzFG6WZwqrUfZ2b3T7LRQQ1H3vxIPW3vv/mqepX/1IDwK9AedbU3tPYB rkt7OKMjvySFuprmZKFTVzlIESSgd+aqZLix85Je4PiGvD6jv6IcsNJlO/HXgBF+2ty7 YJnw== X-Received: by 10.66.102.101 with SMTP id fn5mr39341427pab.115.1373557375878; Thu, 11 Jul 2013 08:42:55 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id zn4sm42820700pac.21.2013.07.11.08.42.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 08:42:55 -0700 (PDT) From: Leo Liu To: Michael Brand Subject: Re: bug#11861: 24.1.1; ido-mode and interactive f References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUKDAg1NjRWV1V9fnyg op/DxcLk5uP8/voi63ReAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAB3RJTUUH1goZAgAz00bgXgAA AeVJREFUKM9lk0Fz2jAQhQXJD3CCO70CmcC1YMtcWyTZ14Bl69xats4N9r6/3zWQBlodNKNPu/s0 b1cCQFuZGpfVVh3vAvBJolIXRkapSuoRUtIdFyo1Y5xSdlAj7OtvD1XnXxmWRi+eWgcxyCed1lVV B1CrKyujMoi+eLA5kU1SsjoHlW+nQjTtFxk4MXgrOxvIqzoTZR8XgPaLl419zgsMaSGFPiUOZCIh thsx5Xy9NsK8Kwf/JoQgMxcVJ301HKkcSWaT0O7FY056J4U9xcYfnmVXG4801lW6lqwu2nKFZoHC HuzvaTVndZ+LaRQgZdthXw1cpynEkLEwyFHXk/aIxNQ6QeooJuzPMB+wn+D7JJNsiCcVA13/A3h/ xE9J+WidpAwoYNmRFwyvSRhNVtsdaAewzZZP5uw82QL9+tyNfocyP0McAzICUr5Mk9RdIjWasUNx aIIt6NK4ZtXIMdfMQt3nuMAyWbLI4DqZ4xPq/ag8jPond4XU/cLuOgw6XCFX/YCUfcDAMMH58fD4 G9kDchwfqVefkBwup2uZM+Q4WhJt5jN3AxXCsaS2yXEDuWgS8VOzW0gFjhEPmLyFMKBFaLb1HRwc DiaKwx0EeTMRYnYPQRW3PP4HApvlMv0PttX5v/D6Aws3IOSEwzmLAAAAAElFTkSuQmCC Date: Thu, 11 Jul 2013 23:42:47 +0800 In-Reply-To: (Michael Brand's message of "Thu, 11 Jul 2013 09:02:51 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 11861-done Cc: 11861-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: 11861@debbugs.gnu.org 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: -0.7 (/) Fixed in trunk. On 2013-07-11 15:02 +0800, Michael Brand wrote: > Tested with Emacs 24.3 with your change for revision 113366 applied on > the original lisp/ido.el: Bug resolved, thank you. Thanks for the confirmation. Leo From unknown Sun Jun 15 08:38:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Aug 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator