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

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

Re: $EDITOR to open at file end?


From: Philipp Stephani
Subject: Re: $EDITOR to open at file end?
Date: Thu, 05 Mar 2015 07:59:34 +0000

Bob Proulx <bob@proulx.com> schrieb am Do., 5. März 2015 um 08:29 Uhr:

> With "the other editor" I can set editor to be "vi + file" and when
> opening the file it will automatically jump to the end of the file.
> With less there is "less +G file" and it will jump to the end of the
> file.  (And also "less +/PATTERN" is useful too.)
>
>     +[num]      For the first file the cursor will be positioned on line
>                 "num".   If "num" is missing, the cursor will be positioned
>                 on the last line.
>
> For emacs however there is only:
>
>        +number Go to the line specified  by number (do not insert a
>                space between the "+" sign and the number).  This
>                applies only to the next file specified.
>

It shouldn't be too hard to add the vi behavior to startup.el. That won't
solve your current problem, but it would at least obviate the need for
workarounds in the future.


reply via email to

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