all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Leo Liu <sdl.web@gmail.com>
Cc: 11861@debbugs.gnu.org
Subject: bug#11861: 24.1.1; ido-mode and interactive f
Date: Tue, 9 Jul 2013 16:08:02 +0200	[thread overview]
Message-ID: <CALn3zoiWndRJtRttC8wvC7UH12nJxPi9=WJd1VG2OiGQ5yiTNg@mail.gmail.com> (raw)
In-Reply-To: <m161wki9ox.fsf@gmail.com>

Hi Leo

Thank you for looking into this.

On Tue, Jul 9, 2013 at 7:28 AM, Leo Liu <sdl.web@gmail.com> 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





  reply	other threads:[~2013-07-09 14:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 14:53 bug#11861: 24.1.1; ido-mode and interactive f Michael Brand
2013-07-09  5:28 ` Leo Liu
2013-07-09 14:08   ` Michael Brand [this message]
2013-07-09 15:25     ` Leo Liu
2013-07-09 20:28       ` Michael Brand
2013-07-10  2:48         ` Leo Liu
2013-07-10 13:20           ` Michael Brand
2013-07-11  3:13             ` Leo Liu
2013-07-11  7:02               ` Michael Brand
2013-07-11 15:42                 ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALn3zoiWndRJtRttC8wvC7UH12nJxPi9=WJd1VG2OiGQ5yiTNg@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=11861@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.