unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ken Manheimer" <ken.manheimer@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: emacsclient almost working!
Date: Mon, 21 Apr 2008 14:17:24 -0400	[thread overview]
Message-ID: <2cd46e7f0804211117k33a4d515p1863f2b16c9c9419@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

hi, all.  i'm thrilled to see that - in emacs 23.0.60, debian
"emacs-snapshot" from a few days ago - i can use emacsclient to get a tty
frame connected to a X-based emacs session!  yay, yay, yay!  i had to poke
and prod a bit to get it to work, though, and am wondering whether this is a
known problem.

specifically, if i just do

  emacsclient --tty

i get an assertion error:

  *ERROR*: Assertion failed: (eq (match-end 0) (length string))

i avoid that error by inhibiting the shell environment (and adding back the
TERM setting):

  env -i TERM=xterm emacsclient --tty

(spelunking a tiny bit through the operation, it looks like my elaborate
shell environment, with numerous multi-line shell functions, may be
thwarting server.el server-process-filter.  it may be something else in the
environment, though.)

looks like emacsclient is a bit too sensitive to environment settings.

it sure is nice to use the multi-tty support, though!!
-- 
ken
http://myriadicity.net

[-- Attachment #2: Type: text/html, Size: 1128 bytes --]

             reply	other threads:[~2008-04-21 18:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 18:17 Ken Manheimer [this message]
2008-04-21 19:30 ` emacsclient almost working! Stefan Monnier
2008-04-21 22:20   ` Ken Manheimer
2008-04-22  2:52     ` Stefan Monnier
2008-04-22 17:52       ` Ken Manheimer
2008-04-23  1:37         ` Stefan Monnier
2008-04-23  8:50           ` Jason Rumney
2008-04-23 15:35             ` 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

  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=2cd46e7f0804211117k33a4d515p1863f2b16c9c9419@mail.gmail.com \
    --to=ken.manheimer@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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).