[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ido.el patch: don't automatically overwrite file on TAB
From: |
Kim F. Storm |
Subject: |
Re: ido.el patch: don't automatically overwrite file on TAB |
Date: |
11 Apr 2004 00:21:44 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Karl Chen <address@hidden> writes:
> I find annoying the following behavior: when using ido-write-file,
> pressing TAB on a substring that uniquely matches an existing file
> will complete the filename and overwrite it without confirmation.
>
> (Usually when I do [ido-]write-file I mean to make a copy as a new
> file. Overwriting existing files based on a substring or
> fuzzy+regexp matching is dangerous.)
>
> The patch below will change the default behavior so that if you
> mean to overwrite an existing file you need to press TAB RET.
>
>
> If this change to the default behavior of ido-write-file is not
> acceptable please still accept the rest of the patch (ido-complete
> and ido-exit-on-unique-tab-completion), because otherwise it is
> very difficult to modify the behavior even through advice.
I will add your changes to ido. Thanks you.
PS: You have not signed papers for contributing to emacs, but this
change (and a previous change that I used) is still small enough to
not require papers. However, further changes from you will require
that you sign papers.
--
Kim F. Storm <address@hidden> http://www.cua.dk