From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: Move line Date: Sun, 01 Jun 2008 07:57:03 +0200 Message-ID: <87wsl9r93k.fsf@bzg.ath.cx> References: <41e8769d-18d4-4a36-82ba-adb0b26a0b9e@s50g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212299860 31510 80.91.229.12 (1 Jun 2008 05:57:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2008 05:57:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 07:58:21 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 1K2gaD-0006fT-A4 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jun 2008 07:58:21 +0200 Original-Received: from localhost ([127.0.0.1]:56900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2gZR-0000f5-Cn for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jun 2008 01:57:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2gZ7-0000bg-5n for help-gnu-emacs@gnu.org; Sun, 01 Jun 2008 01:57:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2gZ4-0000Xh-Uo for help-gnu-emacs@gnu.org; Sun, 01 Jun 2008 01:57:12 -0400 Original-Received: from [199.232.76.173] (port=59744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2gZ4-0000XS-Qw for help-gnu-emacs@gnu.org; Sun, 01 Jun 2008 01:57:10 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.155]:38732) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2gZ3-0003ze-P5 for help-gnu-emacs@gnu.org; Sun, 01 Jun 2008 01:57:10 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so626009fgb.30 for ; Sat, 31 May 2008 22:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=ZMDIoOUvABu8QaXveFWO6Z9YvoE4JJr8dRf047ZtNJQ=; b=tqdw6uarDfysTvD2EIjM3L+cKjt1i21BaH9ZfMyHskRl1R1sBT/XHp49eadfaK8n6TfEiNKq44cA6crETeIAZMmnGU7vFYsnxH4wjXgRKz215wNBZ8BjQ0YYz4o40FBJD0OsRSi1iDE/TzexrXD71isttgUD+9RYVxfGuF6mqBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=RYNL07cUaRewuosFRrLmnMSrsFAmPeVEOhNhehakmcIy8repsdSupqGKaLyp3KJmwx9AL2AiegPYObkADc5j6qVa1DdSQ3TKUjskp6kIOzfsBLle+JhjxegN/Uigx3X9wjtImxBcTB5nn+pmmoKp236mMz5lBpW3rIQIYIMTW6g= Original-Received: by 10.86.23.17 with SMTP id 17mr1526519fgw.32.1212299827638; Sat, 31 May 2008 22:57:07 -0700 (PDT) Original-Received: from bzg.ath.cx ( [88.140.24.142]) by mx.google.com with ESMTPS id d6sm2967384fga.2.2008.05.31.22.57.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 May 2008 22:57:06 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 5FDCC1575B9; Sun, 1 Jun 2008 07:57:03 +0200 (CEST) In-Reply-To: (William Xu's message of "Sun, 01 Jun 2008 14:39:28 +0900") User-Agent: Gnus/5.110009 (No Gnus v0.9) 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:54399 Archived-At: William Xu writes: > rock69 writes: > >> I'm rather new to emacs, but I'm addicted already. I used to use >> Eclipse a lot before, and there is one thing I'm missing though I'm >> pretty sure that it must be available somewhere in Emacs. I was >> wondering if it's possible to move (shift) a line of text up or down >> like you would do in Eclipse pressing Alt-up (or down). > > I don't see where it could be useful... org-mode implants something near what the OP has in mind. Not only for moving list items, but also for any *line* in the buffer. Please edit a buffer in org-mode and check what M-up/down does there. -- Bastien