all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: P G L  Porta Mana <piero.mana@physics.umu.se>
To: Karl Fogel <kfogel@red-bean.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: saveplace does not work with emacsclient
Date: Mon, 7 Jan 2008 16:01:24 +0100	[thread overview]
Message-ID: <20080107160124.6f4e9af1.piero.mana@physics.umu.se> (raw)
In-Reply-To: <87r6gtd1vm.fsf@red-bean.com>

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 <kfogel@red-bean.com> wrote:

> P G L  Porta Mana <porta.mana@gmail.com> 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

  parent reply	other threads:[~2008-01-07 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06  3:48 saveplace does not work with emacsclient P G L Porta Mana
2008-01-07 16:41 ` Karl Fogel
2008-01-07 14:55   ` Juanma Barranquero
2008-01-07 15:01   ` P G L Porta Mana [this message]
2008-01-07 19:02     ` P G L Porta Mana
2008-01-15 21:50       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080107160124.6f4e9af1.piero.mana@physics.umu.se \
    --to=piero.mana@physics.umu.se \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=kfogel@red-bean.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.