emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-alternate-file default filename annoyance


From: Leo
Subject: Re: find-alternate-file default filename annoyance
Date: Wed, 24 Jan 2007 04:06:37 +0000
User-agent: No Gnus v0.6, Emacs/22.0.92.1 (2007-01-22), Fedora 6 gnu/linux

On 2007-01-24, Kim F. Storm said:

> 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.

Thank you, Kim.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]