[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 18 Apr 2011 18:56:06 +0300
2011/4/18 Stephen J. Turnbull <address@hidden>
Alin Soare writes:Yeah, sorry about that.
> > look better:
> (define-key global-map [(meta up)] (lambda (&optional n) (interactive "P")
> (line-move-down (if (numberp n) (- n) -1))))
Of course it doesn't. All defaults suck for somebody. That's what
> But, yes. You are right.
> Transpose-lines does the job, but not as I wish.
.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.
line-move-down-up, Stephen J. Turnbull, 2011/04/18