all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean-Christophe Petkovich <jcpetkovich@gmail.com>
Cc: 16931@debbugs.gnu.org
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	[thread overview]
Message-ID: <87eek5hiw7.fsf@gnus.org> (raw)
In-Reply-To: <8761nvf15r.fsf@gmail.com> (Jean-Christophe Petkovich's message of "Mon, 03 Mar 2014 16:00:16 -0500")

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	other threads:[~2020-12-04 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 21:00 bug#16931: 24.3; C-g fails to deactivate region while background process is executing Jean-Christophe Petkovich
2020-12-04 12:10 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eek5hiw7.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16931@debbugs.gnu.org \
    --cc=jcpetkovich@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.