From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Selecting text with shift modifier Date: Sat, 23 Feb 2008 17:46:56 +0100 Message-ID: <8763wf39j3.fsf@thievol.homelinux.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203784566 26172 80.91.229.12 (23 Feb 2008 16:36:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 16:36:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: saneman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 17:36:31 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 1JSxMT-00011e-93 for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Feb 2008 17:36:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSxLx-0007dG-Gg for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Feb 2008 11:35:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSxLi-0007d3-8C for help-gnu-emacs@gnu.org; Sat, 23 Feb 2008 11:35:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSxLg-0007cd-Sh for help-gnu-emacs@gnu.org; Sat, 23 Feb 2008 11:35:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSxLg-0007ca-Ma for help-gnu-emacs@gnu.org; Sat, 23 Feb 2008 11:35:40 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.159]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSxLg-00049y-8o for help-gnu-emacs@gnu.org; Sat, 23 Feb 2008 11:35:40 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so3584665fga.30 for ; Sat, 23 Feb 2008 08:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=XE3bicoWqw9ND7gaVR6Du76GvQFKpN4pcYODYBMV6B8=; b=KW1E2Cb1Hdo7v/pSY940CxrCAXwGlqEjX6mBAXAr/6+8SzMzF+E0HNGsEaIJrNLJGkKKXJWA4tHI5nBrq6ngCEGqEN2M4IRc9uoFAPZgEJl++9k/bwnQwQ6XN1uzfFHFV7JnjcCperAaz9NZZrP2P9qQklCeXPVtkVLMt1xkCV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=PAwrigJNbAK4Id2EPb+rAmRP1apfflhzMGNE99IPnqWYHdWN2UhkUX61ksfA5469q77QRLMyUu/JOMb8VDNv24BqjdjGJ1Z9lKcciKgEMyEZ31jdU8prtdNDLuVYAfrKBDB06fjKN5oNOj+Z+agOEKuEB0CPgjGT4SMwgKo9Rks= Original-Received: by 10.86.66.19 with SMTP id o19mr580617fga.10.1203784537924; Sat, 23 Feb 2008 08:35:37 -0800 (PST) Original-Received: from thievol.homelinux.org ( [77.197.77.154]) by mx.google.com with ESMTPS id 3sm3490029fge.7.2008.02.23.08.35.36 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Feb 2008 08:35:37 -0800 (PST) In-Reply-To: (saneman's message of "Sat, 23 Feb 2008 14:40:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:51798 Archived-At: saneman writes: > Is there someway to select text in emacs like in windows where you use > Shift and one of the arrows or End, Home, Pg up, Pg down? > > I have reconfigured to: > > (global-set-key [(shift up)] 'set-mark-command) > > But how do I make it work with all the above modifiers (down, left, > right, pg up, pg down etc)? > > I would also like the operation to be canceled when shift is not pressed. > May be have a look at CUA mode -- A + Thierry Pub key: http://pgp.mit.edu