unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacsclient almost working!
@ 2008-04-21 18:17 Ken Manheimer
  2008-04-21 19:30 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Ken Manheimer @ 2008-04-21 18:17 UTC (permalink / raw)
  To: emacs-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-23 15:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 18:17 emacsclient almost working! Ken Manheimer
2008-04-21 19:30 ` 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

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).