From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Brand Newsgroups: gmane.emacs.bugs Subject: bug#11861: 24.1.1; ido-mode and interactive f Date: Tue, 9 Jul 2013 16:08:02 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1373378954 15856 80.91.229.3 (9 Jul 2013 14:09:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 14:09:14 +0000 (UTC) Cc: 11861@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 16:09:14 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 1UwYbQ-0005AZ-FV for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2013 16:09:12 +0200 Original-Received: from localhost ([::1]:58512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwYbP-0003mc-Pi for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2013 10:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwYbL-0003mI-0X for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2013 10:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwYbG-0006mA-EC for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2013 10:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwYbG-0006lz-9H for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2013 10:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UwYbF-0000M5-SP for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2013 10:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Brand Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2013 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11861 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11861-submit@debbugs.gnu.org id=B11861.13733788921210 (code B ref 11861); Tue, 09 Jul 2013 14:09:01 +0000 Original-Received: (at 11861) by debbugs.gnu.org; 9 Jul 2013 14:08:12 +0000 Original-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 Original-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 Original-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== X-Received: by 10.152.88.78 with SMTP id be14mr12884319lab.19.1373378882299; Tue, 09 Jul 2013 07:08:02 -0700 (PDT) Original-Received: by 10.114.182.164 with HTTP; Tue, 9 Jul 2013 07:08:02 -0700 (PDT) In-Reply-To: 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:76134 Archived-At: 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