all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Ivan Andrus <darthandrus@gmail.com>
Cc: Emacs Dev <emacs-devel@gnu.org>
Subject: Re: line-move-down-up
Date: Tue, 19 Apr 2011 11:34:19 +0200	[thread overview]
Message-ID: <BANLkTi=nCVrJ=wkX4xr47XhB8jRTk+B1wg@mail.gmail.com> (raw)
In-Reply-To: <86A92122-FB88-43D9-B187-423835B6F671@gmail.com>

2011/4/19 Ivan Andrus <darthandrus@gmail.com>:
> On Apr 18, 2011, at 5:56 PM, Alin Soare wrote:
>
> 2011/4/18 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
>>
>> Alin Soare writes:
>>
>>  > > look better:
>>  >
>>  > (define-key global-map [(meta up)] (lambda (&optional n) (interactive
>> "P")
>>  > (line-move-down (if (numberp n) (- n) -1))))
>>
>> Yeah, sorry about that.
>>
>>  > But, yes. You are right.
>>  >
>>  > Transpose-lines does the job, but not as I wish.
>>
>> Of course it doesn't.  All defaults suck for somebody.  That's what
>> .emacs is for.
>>
>> If you want to impose the burden of maintenance on the team, you need
>> to explain why your version is an improvement for a lot of people.
>
> I used the meta + up-down, using the model of spreadsheets of org-mode, that
> I use. It is the most convenient conbination for me.
>
> If I use C-x C-t, the cursor goes down, while the line goes up. I cannot
> move the line the second time.
>
> And this only transposes the line, not move the line.
>
> I need move, not transpose, and I cannot find this in emacs.
>
> I also use this functionality, but I get it from drag-stuff.el (not written
> by me) which has the advantage of being on http://tromey.com/elpa/ .  It
> also has functionality for dragging words and region, though I rarely use
> it.  The only problem it has (for me) is that it interferes with org-mode's
> M-up/down, but you can fix that by setting `drag-stuff-except-modes'.
> I have thought about adding the ability to drag defun's and such, but so far
> haven't taken the time.

I can't find drag-stuff when I do M-x package-list-packages.
Where can I find it?

-- 
Deniz Dogan



  reply	other threads:[~2011-04-19  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-18 13:26 line-move-down-up A Soare
2011-04-18 13:36 ` line-move-down-up Deniz Dogan
2011-04-18 13:40   ` line-move-down-up A Soare
2011-04-18 14:51     ` line-move-down-up A Soare
2011-04-18 15:31       ` line-move-down-up Deniz Dogan
2011-04-18 15:37         ` line-move-down-up A Soare
2011-04-18 14:30 ` line-move-down-up Stephen J. Turnbull
2011-04-18 14:53   ` line-move-down-up A Soare
     [not found]   ` <BANLkTimKts-mZSMmbeo=rOCeP8+Un2aZjA@mail.gmail.com>
     [not found]     ` <87d3kjpnef.fsf@uwakimon.sk.tsukuba.ac.jp>
2011-04-18 15:56       ` line-move-down-up Alin Soare
2011-04-18 19:24         ` line-move-down-up Davis Herring
2011-04-20 17:22           ` line-move-down-up Alin Soare
2011-04-19  8:20         ` line-move-down-up Ivan Andrus
2011-04-19  9:34           ` Deniz Dogan [this message]
2011-04-21  9:28             ` line-move-down-up Ivan Andrus

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='BANLkTi=nCVrJ=wkX4xr47XhB8jRTk+B1wg@mail.gmail.com' \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=darthandrus@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.