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 Date: Wed, 11 Apr 2012 11:02:38 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00235445bbf64e338304bd695ed6 X-Trace: dough.gmane.org 1334160289 5979 80.91.229.3 (11 Apr 2012 16:04:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2012 16:04:49 +0000 (UTC) To: 11221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 18:04:48 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 1SI02D-0007Pn-Fb for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2012 18:04:41 +0200 Original-Received: from localhost ([::1]:39763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI02C-0000Lb-OL for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2012 12:04:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI01a-0007rB-73 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SI01S-0004Df-R9 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:04:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI01S-0004DR-MP for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:03:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SI02X-0001RV-Tj for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brian Tannahill Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2012 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11221 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13341602765491 (code B ref -1); Wed, 11 Apr 2012 16:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Apr 2012 16:04:36 +0000 Original-Received: from localhost ([127.0.0.1]:52279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SI027-0001QV-PJ for submit@debbugs.gnu.org; Wed, 11 Apr 2012 12:04:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55384) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SI01h-0001PT-71 for submit@debbugs.gnu.org; Wed, 11 Apr 2012 12:04:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SI00V-00043F-4M for submit@debbugs.gnu.org; Wed, 11 Apr 2012 12:03:01 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:33727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI00U-00042x-Tv for submit@debbugs.gnu.org; Wed, 11 Apr 2012 12:02:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI00P-0007pB-59 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SI00H-00040f-EN for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:02:48 -0400 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:64865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SI00G-00040L-TH for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 12:02:41 -0400 Original-Received: by eeke53 with SMTP id e53so290044eek.0 for ; Wed, 11 Apr 2012 09:02:38 -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=Cw0QVsTgrygNWPPkmo8UWF15PBlTaZri0SIlmQj9UWs=; b=IWn9NcEhX24rjM7/5RGeK57yS0eVZINjTD1pPz5dpFGpFfo7HDePkePx0Wr2lgu0lQ zDhm0CBuKLW+K8kUInOWHDTexGJ+qB0OzVjeGEetNN3ZoYmemXr4KfRNlzCbGZzL1D33 B8sQZD0PF0381RgH2qX9utOKvgMURTbhZDh1EPc6+VLp+57IO4AKqn4F9lBtl+B8fcZc K+TAJlk4A6FqLuRKAARaga6VFn/JxcT12IJXdcnvyq1iUcngEi555uXxKgTzzt1RczlX OARzwyB+a1Gp9zfLeAhqyT5YqWurIdPHYkh9h0exUXMjESbh3gCvBwbOnQ1PyOLfski6 pq6A== Original-Received: by 10.14.52.80 with SMTP id d56mr1985560eec.105.1334160158241; Wed, 11 Apr 2012 09:02:38 -0700 (PDT) Original-Received: by 10.213.23.66 with HTTP; Wed, 11 Apr 2012 09:02:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 11 Apr 2012 12:04:34 -0400 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-Mailman-Approved-At: Wed, 11 Apr 2012 12:04:39 -0400 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:58816 Archived-At: --00235445bbf64e338304bd695ed6 Content-Type: text/plain; charset=ISO-8859-1 From: bjt1230@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.0.94; shift-select-mode has no effect --text follows this line-- I'm experimenting with new bindings for basic movement in Emacs. Borrowing from http://xahlee.org/emacs/emacs_useful_user_keybinding.html and ErgoEmacs, this remapping works as expected: (global-set-key (kbd "M-i") 'previous-line) (global-set-key (kbd "M-k") 'next-line) (global-set-key (kbd "M-j") 'backward-char) (global-set-key (kbd "M-l") 'forward-char) But defining a Shift-Alt combination gives an unwanted side-effect. (global-set-key (kbd "M-I") 'cua-scroll-down) (global-set-key (kbd "M-K") 'cua-scroll-up) (global-set-key (kbd "M-J") 'backward-word) (global-set-key (kbd "M-L") 'forward-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 tried setting shift-select-mode to nil. This had no effect. Also described at http://stackoverflow.com/questions/10106797. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/share/emacs/24.0.94/etc/DEBUG. In GNU Emacs 24.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-04-04 on b-l Windowing system distributor `The X.Org Foundation', version 11.0.11200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: ido-everywhere: t delete-selection-mode: t display-time-mode: t cua-mode: t bt-keys-minor-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: C-8 M-k M-k M-k M-k M-k M-k M-k M-k M-k M-i * * SPC M-1 SPC 1 4 : 0 0 > SPC SPC H a r i i r c u t C-x C-s M-3 M-x r e p o r t - e m a c s - b u g Recent messages: Omitting... Omitted 34 lines. Omitting... (Nothing to omit) Omitting... Omitted 1 line. OVERVIEW For information about GNU Emacs and the GNU system, type C-h C-a. Saving file /home/brian/Org/projects.org... Wrote /home/brian/Org/projects.org Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cal-china lunar solar cal-dst cal-hebrew diary-lib diary-loaddefs mule-util cal-move parse-time calfw-org calfw holidays hol-loaddefs cl org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html format-spec org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload help-mode view derived dired+ dired-x ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux dired regexp-opt easymenu ido delsel time server cua-base easy-mmode edmacro kmacro time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --00235445bbf64e338304bd695ed6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable From: bjt1230@gmail.com
To: bug-gnu-emacs@gnu.org
Subject:= 24.0.94; shift-select-mode has no effect
--text follows this line--
= I'm experimenting with new bindings for basic movement in Emacs. Borrow= ing from http://xahlee.org/emacs/emacs_useful_user_keybinding.html and ErgoE= macs, this remapping works as expected:

(global-set-key (kbd "M-i")=A0=A0 'previous-line)
(glo= bal-set-key (kbd "M-k")=A0=A0 'next-line)
(global-set-key = (kbd "M-j")=A0=A0 'backward-char)
(global-set-key (kbd &qu= ot;M-l")=A0=A0 'forward-char)

But defining a Shift-Alt combination gives an unwanted side-effect.
=
(global-set-key (kbd "M-I")=A0=A0 'cua-scroll-down)
(g= lobal-set-key (kbd "M-K")=A0=A0 'cua-scroll-up)
(global-se= t-key (kbd "M-J")=A0=A0 'backward-word)
(global-set-key (kbd "M-L")=A0=A0 'forward-word)

Runni= ng describe-key (C-h k) shows that the bindings were
successful. And the= se bindings move point as they should, but for some
reason it sets the m= ark at my original position, and gives me a
highlighted region as I move the point.

I tried setting shift-select= -mode to nil.=A0 This had no effect.

Also described at http://stackoverflow.com/questio= ns/10106797.

If Emacs crashed, and you have the Emacs process in the gdb debugger,please include the output from the following gdb commands:
=A0=A0=A0 `= bt full' and `xbacktrace'.
For information about debugging Emacs= , please read the file
/usr/local/share/emacs/24.0.94/etc/DEBUG.


In GNU Emacs 24.0.94.1= (i686-pc-linux-gnu, GTK+ Version 2.24.10)
=A0of 2012-04-04 on b-l
Wi= ndowing system distributor `The X.Org Foundation', version 11.0.1120000= 0
Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_COLLAT= E: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
= =A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 valu= e of $LC_TIME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: nil
=A0 loc= ale-coding-system: utf-8-unix
=A0 default enable-multibyte-characters: t=

Major mode: Org

Minor modes in effect:
=A0 ido-everywhere= : t
=A0 delete-selection-mode: t
=A0 display-time-mode: t
=A0 cua-mode: t=
=A0 bt-keys-minor-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mod= e: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0= font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryp= tion-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mode: t=A0 line-number-mode: t
=A0 global-visual-line-mode: t
=A0 visual-l= ine-mode: t
=A0 transient-mark-mode: t

Recent input:
C-8 M-k M-k M-k M-k M-k = M-k M-k M-k M-k <return> M-i
* * SPC M-1 <return> <backs= pace> SPC 1 4 : 0 0 > SPC
SPC H a r i <backspace> <backs= pace> i r c u t C-x C-s
M-3 <down> <up> <M-next> <M-end> <help-echo> = <help-echo>
<help-echo> M-x r e p o r t - e m a c s - b u g= <r
eturn>

Recent messages:
Omitting...
Omitted 34 li= nes.
Omitting...
(Nothing to omit)
Omitting...
Omitted 1 line.
OVERV= IEW
For information about GNU Emacs and the GNU system, type C-h C-a.Saving file /home/brian/Org/projects.org...
Wrote /home/brian/Org/projects.org

Load-path shadows:
None found.

Features:
(shadow sort gnus= -util mail-extr emacsbug message rfc822 mml mml-sec
mm-decode mm-bodies = mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rf= c2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils cal-china lunar solar cal-dst cal-hebrew diary-lib
diary-load= defs mule-util cal-move parse-time calfw-org calfw holidays
hol-loaddefs= cl org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc
org-jsinfo o= rg-infojs org-html format-spec org-exp ob-exp org-exp-blocks
org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org
= ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src
ob-c= omint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color
ring = org-list org-faces org-compat org-entities org-macs noutline
outline cal-menu calendar cal-loaddefs byte-opt warnings bytecomp
byte-c= ompile cconv macroexp advice help-fns advice-preload help-mode
view deri= ved dired+ dired-x ediff-merg ediff-diff ediff-wind ediff-mult
ediff-hel= p ediff-init ediff-util dired-aux dired regexp-opt easymenu ido
delsel time server cua-base easy-mmode edmacro kmacro time-date tooltip
= ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
font= set image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
fra= me cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet l= ao korean japanese hebrew greek romanian slovak czech european
ethiopic = indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-prope= rties overlay sha1 md5 base64 format env code-pages mule
custom widget h= ashtable-print-readable backquote make-network-process
dbusbind dynamic-= setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

--00235445bbf64e338304bd695ed6--