From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Goldman Newsgroups: gmane.emacs.help Subject: Re: Move line Date: Mon, 02 Jun 2008 08:34:51 -0400 Organization: Global Network Services - Remote Access Mail & News Services Message-ID: <4843e8ea$1@kcnews01> References: <41e8769d-18d4-4a36-82ba-adb0b26a0b9e@s50g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212410441 26676 80.91.229.12 (2 Jun 2008 12:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2008 12:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 14:41:23 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 1K39Lh-0008Fd-RD for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2008 14:41:17 +0200 Original-Received: from localhost ([127.0.0.1]:40300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K39Kv-0000Qf-NE for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2008 08:40:29 -0400 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) Original-Newsgroups: gnu.emacs.help In-Reply-To: <41e8769d-18d4-4a36-82ba-adb0b26a0b9e@s50g2000hsb.googlegroups.com> Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: kcnews01 1212410090 129.34.20.19 (2 Jun 2008 13:34:50 +0100) Original-Lines: 11 Original-X-Complaints-To: abuse@prserv.net Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!wn11feed!worldnet.att.net!12.154.55.82!kcnewsm02.prserv.net!prserv.net!kcnews01!not-for-mail Original-Xref: news.stanford.edu gnu.emacs.help:159064 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:54424 Archived-At: The elisp experts have given you a function to do what you want. As a novice, what I do is define a keyboard macro to do what I want, save the macro, and assign the saved macro to a key. rock69 wrote: > 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).