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: Dmitry Gutov
Subject: Re: make project--find-in-file generic, add interactive filename to project-find-file
Date: Fri, 29 Jan 2016 05:05:27 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0

On 01/29/2016 12:11 AM, Stefan Monnier wrote:

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? In other GUI applications, I'd click on the input, or press an arrow key. We avoid doing the former in Emacs. And probably neither would help anyway, because the region follows point in Emacs, instead of disappearing as soon as the user moves the cursor without holding Shift, like it happens in other applications.

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.



reply via email to

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