From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: C-x keystroke changed at runtime Date: Tue, 20 Sep 2016 07:23:12 -0700 (PDT) Message-ID: <60e3291e-30fd-4d68-b023-8be8d4c35f8b@default> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474381777 7373 195.159.176.226 (20 Sep 2016 14:29:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2016 14:29:37 +0000 (UTC) To: Michele Bert , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 20 16:29:30 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmM2s-00082Q-Rx for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2016 16:29:14 +0200 Original-Received: from localhost ([::1]:35667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmM2r-0000wf-4b for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2016 10:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmLxD-00058S-5H for help-gnu-emacs@gnu.org; Tue, 20 Sep 2016 10:23:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmLx9-000536-5U for help-gnu-emacs@gnu.org; Tue, 20 Sep 2016 10:23:23 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmLx8-000526-SN for help-gnu-emacs@gnu.org; Tue, 20 Sep 2016 10:23:19 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u8KENG4m031079 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Sep 2016 14:23:16 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u8KENEsL022696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Sep 2016 14:23:16 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u8KENDvv015485; Tue, 20 Sep 2016 14:23:13 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111358 Archived-At: > 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. >=20 > 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. >=20 > 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.