--- Begin Message ---
Subject: |
24.3.50; mml-atttach-file (C-c C-a) and ido |
Date: |
Sun, 04 Nov 2012 12:58:54 +0530 |
When I am attaching files to mails via C-c C-a, I am fooled in to
thinking that the intereface for reading file is not that of ido but the
default one (Emacs + icomplete). The problem is slightly exacerbated on
my end because of my patch to icomplete.el which shifts the field
separator from "," to " | ".
I frequently type backspace at the prompt only to be disappointed that
the prompt doesn't back out to parent directory but only deletes a char.
1. I can defalias it
(defalias 'read-file-name 'ido-read-file-name)
2. One can mark it separately thus (as ido already does for some
functions)
(put 'read-file-name 'ido 'ido-read-file-name)
I am not sure which of the options is best. (2) might be better of the
two options but it needs extra handling elswhere.
Can someone install the needful, so that I don't keep tripping over
differences in the implementation.
In GNU Emacs 24.3.50.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2012-11-03 on debian-6.05
Bzr revision: 110779 address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12797: 24.3.50; mml-atttach-file (C-c C-a) and ido |
Date: |
Tue, 09 Jul 2013 12:06:29 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) |
On 2012-11-06 13:20 +0800, Jambunathan K wrote:
> Thanks for the suggestion. I now have this in my customizations.
>
> (custom-set-variables
> '(ido-everywhere t)
> '(ido-mode (quote both) nil (ido)))
>
> Retrospectively, I see that choice of `everywhere' is unfortunate. It
> is ambiguous. So a `both' in `ido-mode' is not the same as
> `everywhere'. The "somewhere" - which is reading file names, as opposed
> to visiting it etc - is what everywhere accounts for but both leaves
> out.
>
> A user is very unlikely to note subtle differences.
>
> I have hard time understanding what (ido-everywhere) does.
>
> My recommedation is to have `ido-everywhere' set to t by default or be
> set automatically (via a custom set function) whenever `ido-mode' is
> changed.
>
> ps: I still don't understand everywhere means. So I will leave the
> proposed change to others.
There are some cleanups to do in ido. But let's leave them for later.
Leo
--- End Message ---