* emacsclient -t inside Emacs terminal
@ 2010-03-02 21:51 Ulrich Mueller
2010-03-03 19:59 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2010-03-02 21:51 UTC (permalink / raw)
To: emacs-devel
emacsclient.c contains a test for TERM being equal to "eterm" and
refuses to open a frame in this case. I wonder what is the purpose of
this? Calling "emacsclient -t" (to another Emacs) inside an Emacs
terminal seems to work quite well.
Besides, emacsclient doesn't test for "eterm-color" which is used as
terminal type in recent Emacs versions. So the test isn't even
effective.
Ulrich
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacsclient -t inside Emacs terminal
2010-03-02 21:51 emacsclient -t inside Emacs terminal Ulrich Mueller
@ 2010-03-03 19:59 ` Glenn Morris
2010-03-03 20:17 ` Ulrich Mueller
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2010-03-03 19:59 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: emacs-devel
Ulrich Mueller wrote:
> emacsclient.c contains a test for TERM being equal to "eterm" and
> refuses to open a frame in this case. I wonder what is the purpose of
> this?
From admin/notes/multi-tty
emacsclient -t from an Emacs term buffer does not work, complains
about face problems. This can even lock up Emacs (if the recursive
frame sets single_kboard). Update: the face problems are caused by
bugs in term.el, not in multi-tty. The lockup is caused by
single_kboard mode, and is not easily resolvable. The best thing to
do is to simply refuse to create a tty frame of type `eterm'.
(Fixed, changed emacsclient to check for TERM=eterm. The face
complaints seem to be caused by bugs in term.el; they are not
related to multi-tty.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacsclient -t inside Emacs terminal
2010-03-03 19:59 ` Glenn Morris
@ 2010-03-03 20:17 ` Ulrich Mueller
2010-03-04 2:54 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2010-03-03 20:17 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
>>>>> On Wed, 03 Mar 2010, Glenn Morris wrote:
>> emacsclient.c contains a test for TERM being equal to "eterm" and
>> refuses to open a frame in this case. I wonder what is the purpose
>> of this?
>> From admin/notes/multi-tty
> emacsclient -t from an Emacs term buffer does not work, complains
> about face problems. This can even lock up Emacs (if the recursive
> frame sets single_kboard). Update: the face problems are caused by
> bugs in term.el, not in multi-tty. The lockup is caused by
> single_kboard mode, and is not easily resolvable. The best thing to
> do is to simply refuse to create a tty frame of type `eterm'.
I don't observe any face problems or lockups, it works beautifully
here. Maybe that note is outdated?
And why "recursive frame"? Did they try to connect to the _same_ Emacs
where the terminal emulator was running?
Ulrich
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacsclient -t inside Emacs terminal
2010-03-03 20:17 ` Ulrich Mueller
@ 2010-03-04 2:54 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2010-03-04 2:54 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: emacs-devel
> And why "recursive frame"? Did they try to connect to the _same_ Emacs
> where the terminal emulator was running?
Yes, that's the crux of the matter.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-04 2:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 21:51 emacsclient -t inside Emacs terminal Ulrich Mueller
2010-03-03 19:59 ` Glenn Morris
2010-03-03 20:17 ` Ulrich Mueller
2010-03-04 2:54 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.