all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: help-gnu-emacs@gnu.org
Subject: How to troubleshoot possible intermittent issues with cua-mode in recent Emacs?
Date: Mon, 27 Jun 2016 19:24:16 -0300	[thread overview]
Message-ID: <87bn2m2ru7.fsf@moondust.awandering> (raw)

In recent days (probably for less than a week, but perhaps for two or
three weeks) I've been experiencing a possible intermittent problem with
CUA Mode.

I'm looking for suggestions about for what to look for next time the
problem occurs.

I am running Emacs 25.0.95 from the prerelease tarball. I might have
seen this problem (if it really exists) with 25.0.94 too but I don't
think so. I certainly didn't see it before 25.0.94.

The symptoms are that I select some text (using the shifted arrow
keys), copy it with C-c, switch to another application (typically an
input form in web browser) and paste. At this point I realise that my
copy operation failed, as I get a stale clipboard value pasted.
Suspecting user error, I switch back to Emacs and try my copy again and
see in the minibuffer something like "C-c C-c is undefined".

That is, the initial C-c seems to have been treated as a prefix key not
as a copy command.

Once I get into this state, C-c no longer works for copy. Looking at the
Options menu, "Use CUA Keys" is still checked. Unchecking it, then
checking it again does not seem to help to get C-c behaving again.

However, doing a copy with M-w seems to clear the problem (until it
comes back a few days later).

I apologise that some of this information is a bit tentative. I tend to
use copy and paste fully on autopilot.

I've been using CUA Mode in Emacs for years, so I don't think this is
user error. (But of course it might be.)

Note: I have cua-prefix-override-inhibit-delay set to 0.3 and I'm half
wondering if something is going wrong with this timer.

Troubleshooting suggestions welcome. Thanks.

Regards,
N.




             reply	other threads:[~2016-06-27 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 22:24 N. Jackson [this message]
2016-06-27 22:35 ` How to troubleshoot possible intermittent issues with cua-mode in recent Emacs? John Mastro
2016-06-27 22:48   ` John Mastro

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=87bn2m2ru7.fsf@moondust.awandering \
    --to=nljlistbox2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.