[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-alternate-file default filename annoyance
From: |
Kim F. Storm |
Subject: |
Re: find-alternate-file default filename annoyance |
Date: |
Wed, 24 Jan 2007 01:17:23 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Leo <address@hidden> writes:
> There maybe a good explanation behind the whole cursor placing
> things. As I found 99% of the time IDO is more convenient than the
> default behaviors, this one really confuses me. Is it because C-k has
> been bound to ido-delete-file-at-head, so if the cursor is placed at
> the beginning of the filename, users might accidentally delete files?
Ok, you have convinced me -- 1% inconvenience is too much :-)
I have modified ido to place the cursor at the start of the input when
a default item is present (which ffap provides).
I've also made C-a, C-e, C-b, and C-k work more intelligently when the
cursor is not at the end of the input -- e.g. C-k delete the rest of
the input, and C-e moves to the end of the input.
C-a normally toggles the "ignore" list processing ... and that is a
very important binding (C-a = show all). So C-a cannot be used
directly to move to the beginning of input, but I changed it so that
it moves to the beginning of the input if the cursor is _not_ at the
end of the input ... so use C-b C-a to move cursor to the start of
input.
--
Kim F. Storm <address@hidden> http://www.cua.dk