Skip site navigation (1)Skip section navigation (2)
Date:      24 Sep 2002 18:09:47 -0700
From:      swear@attbi.com (Gary W. Swearingen)
To:        thursday <thursday@SDF.LONESTAR.ORG>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: emacs command line switch
Message-ID:  <5qlm5qan8k.m5q@localhost.localdomain>
In-Reply-To: <20020924203242.GA10714@SDF.LONESTAR.ORG>
References:  <20020924203242.GA10714@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
thursday <thursday@SDF.LONESTAR.ORG> writes:

> I am wondering if there is a switch available when starting emacs to have 
> it put you at the end of the buffer when you open the file, e.g.,

Well, there sorta is (in Xemacs, at least), but you'd be better off
doing it the way Giorgos suggested.

> emacs -eof biglongfile.txt

xemacs -q -eval '(eval-expr (find-file "biglongfile.txt")(end-of-buffer))'

Like I said...  But you "shouldn't" care much about the emacs command
since you're "supposed to" just start emacs once per login and leave it
running.  If you just have one terminal, you exit temporarily with a
control-z or two and resume with "fg".  Or just run your shells inside
emacs (use: M-x shell).  Then (re)define a key to open your files as
desired.

If you want a quick-starting emacsy editor, try "jed" which does a good
job of simulating a lot of emacs or e3 (the e3em link) which manages to
do the basics and more in only 12868 bytes!


Find more help at one of these:
gnu.emacs
comp.emacs
comp.emacs.xemacs

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5qlm5qan8k.m5q>