From: Han Boetes <han@mijncomputer.nl>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: emacsclient misbehaves
Date: Mon, 11 Feb 2008 09:01:36 +0100 [thread overview]
Message-ID: <20080211080159.GY15002@boetes.org> (raw)
In-Reply-To: <jwv3as0dy7u.fsf-monnier+emacs@gnu.org>
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
prev parent reply other threads:[~2008-02-11 8:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 21:39 emacsclient misbehaves Han Boetes
2008-02-03 23:33 ` Richard Stallman
2008-02-11 2:31 ` Stefan Monnier
2008-02-11 8:01 ` Han Boetes [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080211080159.GY15002@boetes.org \
--to=han@mijncomputer.nl \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).