[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient misbehaves
From: |
Han Boetes |
Subject: |
Re: emacsclient misbehaves |
Date: |
Mon, 11 Feb 2008 09:01:36 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
Stefan Monnier wrote:
> Han wrote:
> > I used this command to start editing a file on the correct line:
>
> > emacsclient --eval "(progn (find-file
> > \"$PWD/Pkgfile\")(beginning-of-buffer)(search-forward
> > \"version=\")(move-end-of-line nil))"
>
> > This worked fine. Now if I do it emacsclient does open the
> > file and goes to the right line, it just doesn't get the tty
> > like it should. It prints the line one would expect in the
> > minibuffer on stdout.
>
> Until a few months ago, emacsclient never got the tty. Were
> you using the multi-tty branch?
Ah, I used the mtty-branch before it was added to the main tree.
> That emacsclient had a different argument convention,
> incompatible with the Emacs-22 emacsclient, so it was changed as
> part of the inclusion into Emacs. If you want to grab the tty,
> you have to request it explicitly with "-t" (or "-c").
Indeed, and rather unexpectedly. Thanks for the heads-up.
# Han