[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: initial frame
From: |
tcp |
Subject: |
Re: initial frame |
Date: |
Sat, 31 Aug 2002 16:38:31 GMT |
He Le,
This did not work. The frame with the "*scratch*" buffer still up.
And it did not more it to the end-of-the-buffer.
I actually want a command line option type to move the cursor
to the end of the buffer. Not for every opened file.
Thanks!
---
tcp
"Le Wang" <lewang(at@)yahoo.com> wrote in message
news:wX3c9.45544$6m61.33680@news04.bloor.is.net.cable.rogers.com...
> tcp wrote:
>
> > Hi,
> >
> > I always open file in a separate frame. The first file I opened always
> > popup two frames.
> > One with my file in it and the other is just the *scratch* buffer
frame.
> >
> > Is there a way to avoid the *scratch buffer frame from popping up?
> > My next question is what is the option at the "gnuclient" to open a
file
> > and move
> > the cursor to the end of the buffer?
>
> This is pretty useless behaviour, don't you think? There are packages out
> there (session comes to mind) that will save your positions in files you
> visit and restore the point on the next open.
>
> In any case, add this to your .emacs to solve both your problems:
>
> (setq gnuserv-frame t)
> (add-hook 'gnuserv-visit-hook '(lambda ()
> (setq gnuserv-frame nil)
> (end-of-buffer)))
>
>
> HTH.
>
> --
> Le
>