From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Move selection up, down Date: Tue, 19 Aug 2008 23:47:56 +0200 Message-ID: <48AB3F8C.4020703@gmail.com> References: <1422fa24-05d5-436b-82e2-b436af0a00a3@m3g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219182521 2498 80.91.229.12 (19 Aug 2008 21:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2008 21:48:41 +0000 (UTC) Cc: Emacs Devel To: "jiri.pejchal@gmail.com" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 19 23:49:34 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KVZ51-0007sJ-56 for ged-emacs-devel@m.gmane.org; Tue, 19 Aug 2008 23:49:31 +0200 Original-Received: from localhost ([127.0.0.1]:47507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVZ3y-0002bf-W3 for ged-emacs-devel@m.gmane.org; Tue, 19 Aug 2008 17:48:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVZ3d-0002Px-5r for emacs-devel@gnu.org; Tue, 19 Aug 2008 17:48:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVZ3b-0002P7-FW for emacs-devel@gnu.org; Tue, 19 Aug 2008 17:48:04 -0400 Original-Received: from [199.232.76.173] (port=53635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVZ3b-0002P3-C3 for emacs-devel@gnu.org; Tue, 19 Aug 2008 17:48:03 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:56988) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVZ3b-0007yc-27 for emacs-devel@gnu.org; Tue, 19 Aug 2008 17:48:03 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:63793 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KVZ3X-000088-8M; Tue, 19 Aug 2008 23:47:59 +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: <1422fa24-05d5-436b-82e2-b436af0a00a3@m3g2000hsc.googlegroups.com> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080819-0, 2008-08-19), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KVZ3X-000088-8M. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KVZ3X-000088-8M 7a84f3106ba7fee27aeb64e77ce51a75 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102689 Archived-At: jiri.pejchal@gmail.com wrote: > Hi, > > in Netbeans when you press M-S-up/M-S-down you move the selected text > up/down. When nothing is selected it moves the current line. > > With C-S-up/C-S-down you copy the selection up/down. When nothings is > selected it copies the current line up/down. > > Is such functionality available in emacs? > > Jiri Pejchal Based on Jiri's question I suggest that the transpose-* commands should be changed so that they transpose an active highlighted region according to the amount given by the transpose-* name. Any thoughts about that?