bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16931: 24.3; C-g fails to deactivate region while background process


From: Lars Ingebrigtsen
Subject: bug#16931: 24.3; C-g fails to deactivate region while background process is executing
Date: Fri, 04 Dec 2020 13:10:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean-Christophe Petkovich <jcpetkovich@gmail.com> writes:

> The same effect (or what I believe to be the same effect) can be
> observed 100% of the time with the following recipe:
>
> 1. emacs -Q
>
> 2. SPC M-> (to mark the whole scratch buffer)
>
> 3. M-: (shell-command "sleep 10")
>
> 4. C-g
>
> 5. We regain control, but the region stays marked.
>
> If this is the expected behaviour, then ignore this (although I would
> like to know what other people are doing to deactivate the region). From
> reading the source of `keyboard-quit`, it sounds like this is *not* the
> expected behaviour, but I certainly could be missing something.

This is expected behaviour -- the `C-g' breaks the `shell-command'
invocation.  I think it'd be pretty awkward for it to also disable any
selected areas as a side effect.  So I don't think this is a bug, and
I'm closing this bug report.

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





reply via email to

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