emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacsclient almost working!


From: Ken Manheimer
Subject: emacsclient almost working!
Date: Mon, 21 Apr 2008 14:17:24 -0400

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
reply via email to

[Prev in Thread] Current Thread [Next in Thread]