help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abbrev-mode wizardry needed


From: Mathias Dahl
Subject: Re: abbrev-mode wizardry needed
Date: Wed, 19 Apr 2006 18:08:56 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

"address@hidden" <address@hidden> writes:

> I can't seem to figure out how to get RET to go to the end of the next
> line rather than to insert a new line, though.
>
> I tried this:
>
> (defun end-of-next-line ()
>   (interactive)
>   (next-line)
>   (end-of-line))
>
> But that doesn't seem to work.

No? Did you bind a key to it? How? If I have this:

row1
row2

and have point after "1" and do M-x end-of-next-line RET, the point is
nicely placed after "2".

This binding worked for me:

(local-set-key [return] 'end-of-next-line)

/Mathias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]