* C-x keystroke changed at runtime
@ 2016-09-20 8:42 Michele Bert
2016-09-20 14:22 ` Yuri Khan
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Michele Bert @ 2016-09-20 8:42 UTC (permalink / raw)
To: help-gnu-emacs
I use Emacs (23.3.1 on Ubuntu 12.04) in my daily work, and I can
assert I know it _quite_ well. Allthough today something very strange
has happened.
After more than 1 week that it has been running (continuosly: I use to
leave it always open, even during the night, opening and closing
buffers, creating new frames, even with aid of emacsclient), suddenly
(few minutes ago) the C-x keystroke has changed behavior: whenever
there is an active region, it kills the selected text (just like C-w),
while if there isn't any region, it acts as a prefix for the usual
keystrokes (I can visit a file with C-x, C-f, or save it with C-x,
C-s, or change buffer with C-x, b, for example). But with an active
region it kills it instantly.
I am going to restart the program, but before doing it, I would be
very curious to understand what is happening, so if anyone has a
suggestion about some tests or checks I can do, I would appreciate.
Thanks,
--
Mick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: C-x keystroke changed at runtime
2016-09-20 8:42 C-x keystroke changed at runtime Michele Bert
@ 2016-09-20 14:22 ` Yuri Khan
2016-09-20 14:57 ` Michele Bert
2016-09-20 14:23 ` Drew Adams
2016-09-20 14:47 ` Eli Zaretskii
2 siblings, 1 reply; 6+ messages in thread
From: Yuri Khan @ 2016-09-20 14:22 UTC (permalink / raw)
To: Michele Bert; +Cc: help-gnu-emacs@gnu.org
On Tue, Sep 20, 2016 at 3:42 PM, Michele Bert <micbert75@gmail.com> wrote:
> the C-x keystroke has changed behavior: whenever
> there is an active region, it kills the selected text (just like C-w),
> while if there isn't any region, it acts as a prefix for the usual
> keystrokes
Looks like cua-mode.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: C-x keystroke changed at runtime
2016-09-20 8:42 C-x keystroke changed at runtime Michele Bert
2016-09-20 14:22 ` Yuri Khan
@ 2016-09-20 14:23 ` Drew Adams
2016-09-20 14:47 ` Eli Zaretskii
2 siblings, 0 replies; 6+ messages in thread
From: Drew Adams @ 2016-09-20 14:23 UTC (permalink / raw)
To: Michele Bert, help-gnu-emacs
> I use Emacs (23.3.1 on Ubuntu 12.04) in my daily work, and I can
> assert I know it _quite_ well. Allthough today something very strange
> has happened.
>
> After more than 1 week that it has been running (continuosly: I use to
> leave it always open, even during the night, opening and closing
> buffers, creating new frames, even with aid of emacsclient), suddenly
> (few minutes ago) the C-x keystroke has changed behavior: whenever
> there is an active region, it kills the selected text (just like C-w),
> while if there isn't any region, it acts as a prefix for the usual
> keystrokes (I can visit a file with C-x, C-f, or save it with C-x,
> C-s, or change buffer with C-x, b, for example). But with an active
> region it kills it instantly.
>
> I am going to restart the program, but before doing it, I would be
> very curious to understand what is happening, so if anyone has a
> suggestion about some tests or checks I can do, I would appreciate.
What does `C-h v cua-mode' tell you?
Sounds like `cua-mode' is turned on. Perhaps you have installed
a package or other Emacs-Lisp code that automatically turns on
`cua-mode', or perhaps you turned it on, yourself.
Normally, just _loading_ a library should not turn anything
on (and should not change global key bindings). Alas, this
is not always the case.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: C-x keystroke changed at runtime
2016-09-20 8:42 C-x keystroke changed at runtime Michele Bert
2016-09-20 14:22 ` Yuri Khan
2016-09-20 14:23 ` Drew Adams
@ 2016-09-20 14:47 ` Eli Zaretskii
2016-09-20 14:59 ` Michele Bert
2 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-20 14:47 UTC (permalink / raw)
To: help-gnu-emacs
> From: Michele Bert <micbert75@gmail.com>
> Date: Tue, 20 Sep 2016 10:42:42 +0200
>
> After more than 1 week that it has been running (continuosly: I use to
> leave it always open, even during the night, opening and closing
> buffers, creating new frames, even with aid of emacsclient), suddenly
> (few minutes ago) the C-x keystroke has changed behavior: whenever
> there is an active region, it kills the selected text (just like C-w),
> while if there isn't any region, it acts as a prefix for the usual
> keystrokes (I can visit a file with C-x, C-f, or save it with C-x,
> C-s, or change buffer with C-x, b, for example). But with an active
> region it kills it instantly.
>
> I am going to restart the program, but before doing it, I would be
> very curious to understand what is happening, so if anyone has a
> suggestion about some tests or checks I can do, I would appreciate.
Crystal ball says you've turned on CUA mode. What do you see in the
mode line, where minor modes are shown? What does "C-h m" tell you
about the active modes?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: C-x keystroke changed at runtime
2016-09-20 14:22 ` Yuri Khan
@ 2016-09-20 14:57 ` Michele Bert
0 siblings, 0 replies; 6+ messages in thread
From: Michele Bert @ 2016-09-20 14:57 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
2016-09-20 16:22 GMT+02:00 Yuri Khan <yuri.v.khan@gmail.com>:
> Looks like cua-mode.
It was! :-)
I probably turned it incidentally on, playing with the menu.
Thanks.
--
Mick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: C-x keystroke changed at runtime
2016-09-20 14:47 ` Eli Zaretskii
@ 2016-09-20 14:59 ` Michele Bert
0 siblings, 0 replies; 6+ messages in thread
From: Michele Bert @ 2016-09-20 14:59 UTC (permalink / raw)
To: help-gnu-emacs
2016-09-20 16:47 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
> Crystal ball says you've turned on CUA mode. What do you see in the
> mode line, where minor modes are shown? What does "C-h m" tell you
> about the active modes?
That's it!
Allthough the mode-line does not show anything about cua
--
Mick
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-09-20 14:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 8:42 C-x keystroke changed at runtime Michele Bert
2016-09-20 14:22 ` Yuri Khan
2016-09-20 14:57 ` Michele Bert
2016-09-20 14:23 ` Drew Adams
2016-09-20 14:47 ` Eli Zaretskii
2016-09-20 14:59 ` Michele Bert
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.