all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: rock69 <rocco.rossi@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Move line
Date: Sat, 31 May 2008 23:51:36 +0200	[thread overview]
Message-ID: <96FE8696-3B22-4D06-8BB5-420F3048E87B@Web.DE> (raw)
In-Reply-To: <41e8769d-18d4-4a36-82ba-adb0b26a0b9e@s50g2000hsb.googlegroups.com>


Am 31.05.2008 um 17:57 schrieb rock69:

> I was wondering if it's possible to move (shift) a line of text up  
> or down


(defun scroll-down-in-place (n)
   (interactive "p")
   (previous-line n)
   (scroll-down n))

(defun scroll-up-in-place (n)
   (interactive "p")
   (next-line n)
   (scroll-up n))


--
Greetings

   Pete

When people run around and around in circles we say they are crazy.  
When planets do it we say they are orbiting.






  parent reply	other threads:[~2008-05-31 21:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 15:57 Move line rock69
2008-05-31 16:53 ` rock69
2008-05-31 21:15   ` Eli Zaretskii
2008-05-31 21:22     ` Lennart Borgman (gmail)
2008-06-01  3:14       ` Eli Zaretskii
     [not found]   ` <mailman.12500.1212268508.18990.help-gnu-emacs@gnu.org>
2008-05-31 23:03     ` Joost Kremers
2008-06-01  5:48       ` Thien-Thi Nguyen
2008-05-31 21:51 ` Peter Dyballa [this message]
2008-06-01  5:39 ` William Xu
2008-06-01  5:57   ` Bastien
2008-06-02 12:34 ` Ken Goldman
  -- strict thread matches above, loose matches on Subject: below --
2008-06-01  7:39 martin rudalics
2008-06-01  7:54 ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96FE8696-3B22-4D06-8BB5-420F3048E87B@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rocco.rossi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.