[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: saveplace does not work with emacsclient
From: |
P G L Porta Mana |
Subject: |
Re: saveplace does not work with emacsclient |
Date: |
Mon, 7 Jan 2008 16:01:24 +0100 |
Thanks for your answer. I use a precompiled version of Emacs (got from
AucTeX website) on a Windows XP machine. There is both an emacsclient.exe
and an emacsclientw.exe binary there. The second eliminates the
appearance of a cmd shell. More can't I say since I don't understand more
than that.
I have temporarily fixed the bug now, by setting
(setq server-visit-hook (quote (save-place-find-file-hook)))
in my .emacs file. I must yet see whether this interferes with inverse
search, ie when emacsclient(w) is called with the +[line] option.
- Luca
On Mon, 07 Jan 2008 08:41:33 -0800
Karl Fogel <address@hidden> wrote:
> P G L Porta Mana <address@hidden> writes:
> > Although saveplace-mode is activated by default, in files opened
> > through emacsclientw the point appears at the beginning of buffer.
> >
> > This was tested with the following simple .emacs file:
> >
> > (server-start)
> > (setq-default save-place t)
> > (require 'saveplace)
>
> Is "emacsclientw" a typo for "emacsclient", or is there some wrapper
> script going on here that I don't know about?
>
> I will reproduce and debug/fix when I get a chance. Thanks for the
> report.
>
> -Karl