From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Tannahill Newsgroups: gmane.emacs.bugs Subject: bug#11221: Shift-select-mode has no effect -- interaction with cua-mode Date: Thu, 12 Apr 2012 12:30:45 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba539f2449e6de04bd7eb741 X-Trace: dough.gmane.org 1334251917 12513 80.91.229.3 (12 Apr 2012 17:31:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 17:31:57 +0000 (UTC) To: Glenn Morris , 11221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 19:31:56 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SINsA-0007cw-Tv for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 19:31:55 +0200 Original-Received: from localhost ([::1]:40393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SINsA-0005Sm-Ar for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 13:31:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SINs7-0005Sd-7J for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 13:31:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SINs5-0004Qb-EA for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 13:31:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SINs5-0004QX-8s for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 13:31:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SINtG-00040v-9p for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 13:33:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Brian Tannahill Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Apr 2012 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11221 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 11221-submit@debbugs.gnu.org id=B11221.133425192215338 (code B ref 11221); Thu, 12 Apr 2012 17:33:02 +0000 Original-Received: (at 11221) by debbugs.gnu.org; 12 Apr 2012 17:32:02 +0000 Original-Received: from localhost ([127.0.0.1]:54576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SINsI-0003zH-91 for submit@debbugs.gnu.org; Thu, 12 Apr 2012 13:32:02 -0400 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]:63080) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SINsF-0003z4-Vz for 11221@debbugs.gnu.org; Thu, 12 Apr 2012 13:32:00 -0400 Original-Received: by eeke51 with SMTP id e51so615123eek.3 for <11221@debbugs.gnu.org>; Thu, 12 Apr 2012 10:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3a6Hr3kx/i/ZuLQa1kNlsEmXHhStdK/5OIpjz65giVA=; b=VS2tECGX8MXM+6+YS3SE3MufZRgxocR4wLIGmZSI4pORsmnAtp9MVwgUQplbjv1ce+ VRfCMglh+V1Dcmj6DTqiu0ubmwsBnv4HTDwHmCrbcSi/G49xGuqIiLnrviSCeAey1Kpu OK1pEB3/mCp1Q1ASesQri+m6O5f+LO6IRAmGbkf7L0LrNvluCp0Lq+DLTreH0T8JoRJZ 07J+WC/Om7axm4H9ylKVQf9ES27vborjUZmTLEHxdz8lf+jpH3uTEBFTPKDoEKvE+r1k qQ2AqmaeYWHSxBRkprG3hO7Rp83/AXkdx7L9q88jDIl3JqBeNbilGV7b4cOH0YFlno01 Nh/g== Original-Received: by 10.14.29.65 with SMTP id h41mr498486eea.71.1334251845445; Thu, 12 Apr 2012 10:30:45 -0700 (PDT) Original-Received: by 10.213.23.66 with HTTP; Thu, 12 Apr 2012 10:30:45 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58898 Archived-At: --90e6ba539f2449e6de04bd7eb741 Content-Type: text/plain; charset=ISO-8859-1 After working through my .emacs file I found that this problem goes away when I turn off cua-mode. Not sure whether this is actually a bug or if it's the intended behavior. ---------- Forwarded message ---------- From: Brian Tannahill Date: Wed, Apr 11, 2012 at 3:18 PM Subject: Re: bug#11221: Shift-select-mode has no effect To: Glenn Morris Cc: 11221@debbugs.gnu.org When I run emacs -Q and then do my custom keybindings, the problem does NOT occur. So apparently something in my init file is messing things up. I'll work on isolating it. Thanks. On Wed, Apr 11, 2012 at 1:03 PM, Glenn Morris wrote: > Brian Tannahill wrote: > > > (global-set-key (kbd "M-J") 'backward-word) > [...] > > Running describe-key (C-h k) shows that the bindings were > > successful. And these bindings move point as they should, but for some > > reason it sets the mark at my original position, and gives me a > > highlighted region as I move the point. > > I'm unable to reproduce this; even with shift-select-mode on. Note that > this-command-keys-shift-translated says: > > Shift-translation occurs when there is no binding for the key sequence > as entered [...] > > Does this happen if you start from emacs -Q? > --90e6ba539f2449e6de04bd7eb741 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After working through my .emacs file I found that this problem goes away wh= en I turn off cua-mode.=A0

Not sure whether this is actually a bug = or if it's the intended behavior.


---------- Forwarded message ----------
From: Brian Tannahill <bjt1230@gmail.com>
Date: Wed, Apr 11, 2012 at 3:18= PM
Subject: Re: bug#11221: Shift-select-mode has no effect
To: Glenn Morris= <rgm@gnu.org>
Cc: 11221@debbugs.gnu.org


When I ru= n emacs -Q and then do my custom keybindings, the problem does NOT occur.= =A0

So apparently something in my init file is messing things up.=A0 I'= ll work on isolating it.

Thanks.



On Wed, Apr 11, 2012 at 1:03 PM, Glenn Morris <rgm@gnu.org> wrote:=
Brian Tannahill wrote:

> (global-set-key (kbd "M-J") =A0 'backward-word)
[...]
> Running describe-key (C-h k) shows that the bindings were
> successful. And these bindings move point as they should, but for some=
> reason it sets the mark at my original position, and gives me a
> highlighted region as I move the point.

I'm unable to reproduce this; even with shift-select-mode on. Note that=
this-command-keys-shift-translated says:

=A0 Shift-translation occurs when there is no binding for the key sequence=
=A0 as entered [...]

Does this happen if you start from emacs -Q?


--90e6ba539f2449e6de04bd7eb741--