emacs-devel
[Top][All Lists]
Advanced

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

Re: make project--find-in-file generic, add interactive filename to proj


From: Stefan Monnier
Subject: Re: make project--find-in-file generic, add interactive filename to project-find-file
Date: Thu, 28 Jan 2016 21:55:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>>> This would also allow users to replace this function with one which
>>>> handles DEFAULT differently (e.g. inserting it as initial-input but
>>>> pre-selected so that delete-selection-mode deletes it in many cases).
>>> I'm not sure that delete-selection-mode is the answer:
>> It's not an answer, it's an alternative UI (which is the standard in
>> pretty much every other GUI application).
> How would the user avoid deleting the default value, though?

Why cares.  The point is that the new functions's interface would allow
someone to implement a different UI, which some users like.

> We seem to deal with situations like that by putting the cursor before the
> input, so the user can press C-k.  I probably prefer the M-n 
> mechanics, though.

I think you missed in the text you quoted above the fact that I said
"allow users to replace this function".  I do not intend this alternative
behavior to be the default.


        Stefan



reply via email to

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