bug#43376: A more aware "compilation process is running; kill it? (yes or no) "

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#43376: A more aware "compilation process is running; kill it? (yes or no) "

積丹尼 Dan Jacobson
When one is looking at the prompt
"A compilation process is running; kill it? (yes or no) "
but then the compilation finishes,
wouldn't it be great if the prompt realized that fact and changed itself?
emacs-version "26.3"



Reply | Threaded
Open this post in threaded view
|

bug#43376: A more aware "compilation process is running; kill it? (yes or no) "

Lars Ingebrigtsen
積丹尼 Dan Jacobson <[hidden email]> writes:

> When one is looking at the prompt
> "A compilation process is running; kill it? (yes or no) "
> but then the compilation finishes,
> wouldn't it be great if the prompt realized that fact and changed itself?

Perhaps...  but if it changes just when you're about to type "yes", then
you'll end up typing "yes" into some random buffer, which isn't nice.

I this the UI should avoid, as far as possible, pulling the rug out from
under the user.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



Reply | Threaded
Open this post in threaded view
|

bug#43376: A more aware "compilation process is running; kill it? (yes or no) "

Lars Ingebrigtsen
積丹尼 Dan Jacobson <[hidden email]> writes:

> So maybe when we realize there is nothing left to ask the user about,
> first throwaway any answer he already started typing,
> and change the question to just
> "proceed? (y or n)".

Same thing, really -- the user is starting to type "yes" and then it
changes to something else.  So I don't think this is a workeable idea.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no