unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* $EDITOR to open at file end?
@ 2015-03-05  7:29 Bob Proulx
  2015-03-05  7:42 ` Alexis
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bob Proulx @ 2015-03-05  7:29 UTC (permalink / raw)
  To: help-gnu-emacs

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.

I don't see a way to do this with emacs.  I am hoping I am simply
missing the obvious.  The best I can come up with is to use a very
large number larger than the number of lines.

  emacs +999999 file

That works but feels like a hack.  Is there another way to instruct
emacs explicitly to open the file and go to the bottom of the file?

Thanks,
Bob



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-03-09  5:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05  7:29 $EDITOR to open at file end? Bob Proulx
2015-03-05  7:42 ` Alexis
2015-03-05  7:59 ` Philipp Stephani
     [not found] ` <mailman.1367.1425541338.31049.help-gnu-emacs@gnu.org>
2015-03-06  0:09   ` Emanuel Berg
2015-03-07  0:48     ` Bob Proulx
2015-03-07  0:57       ` Bob Proulx
2015-03-07  2:17         ` Alexis
2015-03-07 14:33       ` Robert Thorpe
2015-03-09  0:18         ` Bob Proulx
2015-03-09  2:52           ` Robert Thorpe
2015-03-09  5:14             ` Bob Proulx
2015-03-09  5:39               ` Alexis
     [not found]     ` <mailman.1547.1425689344.31049.help-gnu-emacs@gnu.org>
2015-03-07 16:17       ` Emanuel Berg
2015-03-08 23:24         ` Bob Proulx
     [not found]         ` <mailman.1714.1425857102.31049.help-gnu-emacs@gnu.org>
2015-03-09  0:11           ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).