From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: CUA mode, turn off Shift+Curvor Move to Select Date: Tue, 02 Sep 2008 11:43:25 +0200 Message-ID: <48BD0ABD.1010602@gmail.com> References: <2d6948d6-f1d5-4b89-bd2a-cd8886e8f7a2@t1g2000pra.googlegroups.com> <51a05da4-537d-4ad5-a023-2c138b4e0969@a8g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1220348665 27837 80.91.229.12 (2 Sep 2008 09:44:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 09:44:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 02 11:45:19 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KaSRp-0000oI-DX for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 11:45:17 +0200 Original-Received: from localhost ([127.0.0.1]:34325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaSQq-0004do-By for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 05:44:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaSQB-0004Xt-3t for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 05:43:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaSQ9-0004XT-Kb for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 05:43:33 -0400 Original-Received: from [199.232.76.173] (port=42610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaSQ9-0004XO-Cv for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 05:43:33 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:44654) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KaSQ9-00069j-1f for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 05:43:33 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64715 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KaSQ4-0006Ba-4k; Tue, 02 Sep 2008 11:43:31 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080901-0, 2008-09-01), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KaSQ4-0006Ba-4k. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KaSQ4-0006Ba-4k 4e6f479f18bccc2e79ffa4ef7f6e4041 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57180 Archived-At: Xah wrote: > On Sep 1, 2:03 pm, "Lennart Borgman (gmail)" > wrote: >> Xahwrote: >>> Xahwrote: «CUA mode, turn off Shift+Curvor Move to Select» >>> Thanks Lennart... >>> I've now solved my problem by attaching a deactivate-mark as a hook to >>> every command. >> I am glad it helped, but I can't understand why you want to do this ... ;-) > > is that a joke?? :) Sorry, only partly ;-) What I really wondered was why you do not change the property I mentioned instead: (put 'cua-scroll-up 'CUA 'move) > when cua-mode is on, any shift key with cursor movement will start to > select text. But my ergo map has some bindings with the shift key. > e.g. page up and down is meta shift I/K. So, when used with cua mode, > it starts to select text when paging up, which is annoying. But now, > with the above, it's fixed. > > Xah > ∑ http://xahlee.org/ > > ☄ >