all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.50; MulTTY Breakage On Linux Console:
@ 2007-09-28 13:14 raman
  2007-09-28 16:57 ` Dan Nicolaescu
  0 siblings, 1 reply; 2+ messages in thread
From: raman @ 2007-09-28 13:14 UTC (permalink / raw)
  To: emacs-pretest-bug


There is still one edge case where emacsclient breaks --- and it
also happens to be the common situation for someone running
outside X -- see details below.

Run Emacs on a Linux console --- either inside or outside screen.
Make sure there are no other emacsclient sessions running on
other ttys.
Do the following:

M-x shell
emacsclient foo 
(the above is how programs like svn etc that use the EDITOR
environment variable invoke it)

You get an edit buffer as expected.
When done editing hit C-x #
Emacs signals the following error:

server-delete-client: Attempt to delete the sole active display
terminal

At this point, the edit buffer is disassociated from emacslcient
-- hitting C-x# a second time says "no server buffers".
The emacsclient that is running in the shell never returns.

The only work around I  have found is to first start emacsclient
from a second tty -- before invoking any program that uses
emacsclient through the EDITOR variable.

The desired behavior should be what used to happen before the
multi-tty patch was applied, i.e. 
emacsclient  should be usable when one  is working on a single tty.


In GNU Emacs 23.0.50.23 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-09-22 on labrador
configured using `configure  '--prefix=/usr/local' '--with-gtk' '--with-gpm' '--with-rsvg' '--with-png' '--with-jpeg' '--with-gif''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: nil

Major mode: Shell

Minor modes in effect:
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  jabber-activity-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  dynamic-completion-mode: t
  dired-omit-mode: t
  shell-dirtrack-mode: t
  savehist-mode: t
  display-time-mode: t
  desktop-save-mode: t
  auto-insert-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t

Recent input:
g ESC p RET TAB TAB TAB C-n TAB C-n C-n C-n C-n C-n 
C-n C-n TAB C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n q C-x @ h s ESC > C-n ESC > C-e m C-e ? g " 
i m a p . c o m c a s t . n e t " RET TAB C-n TAB q 
ESC [ [ D C-e ? i ESC p RET TAB TAB C-n C-n C-n C-n 
C-n C-n C-n C-p C-n C-n C-n C-n C-n q C-x @ h s ESC 
> C-n C-p C-n C-n C-n C-e l ESC > ESC > C-e m C-x @ 
h m ' C-e m q ESC > C-n ESC > C-c C-c c d RET C-e x 
m ESC m n n n n q ESC > C-x @ h s c d RET C-e m C-x 
@ h m d n ESC C-s q C-e s C-x @ h s c d RET ! t a i 
RET C-p C-c C-c c d RET C-e x m ESC m SPC ESC C-s ESC 
C-s q ESC m n p SPC P N k k k k k k k q C-x @ h s c 
d RET e m a c s c l i e n t SPC f o o RET C-x # C-e 
a C-e a C-x C-s C-e m C-x # ESC > C-p C-x @ h s ESC 
> C-c C-c c d RET ESC x e m a c s SPC r e p TAB ESC 
DEL ESC DEL r e p o TAB r TAB e m DEL DEL DEL TAB b 
TAB RET

Recent messages:
~ ~/googlecode/ocropus 
When done with a buffer, type C-x #
server-delete-client: Attempt to delete the sole active display terminal
(No changes need to be saved)
No server editing buffers exist
signal: Beginning of buffer
Interrupted  the subjob
~ ~/googlecode/ocropus 
Making completion list...
Loading emacsbug...done

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

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

* Re: 23.0.50; MulTTY Breakage On Linux Console:
  2007-09-28 13:14 23.0.50; MulTTY Breakage On Linux Console: raman
@ 2007-09-28 16:57 ` Dan Nicolaescu
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Nicolaescu @ 2007-09-28 16:57 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

raman <raman@users.sf.net> writes:

  > There is still one edge case where emacsclient breaks --- and it
  > also happens to be the common situation for someone running
  > outside X -- see details below.
  > 
  > Run Emacs on a Linux console --- either inside or outside screen.
  > Make sure there are no other emacsclient sessions running on
  > other ttys.
  > Do the following:
  > 
  > M-x shell
  > emacsclient foo 
  > (the above is how programs like svn etc that use the EDITOR
  > environment variable invoke it)
  > 
  > You get an edit buffer as expected.
  > When done editing hit C-x #
  > Emacs signals the following error:
  > 
  > server-delete-client: Attempt to delete the sole active display
  > terminal

Thanks. I checked in a patch that should fix this.

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

end of thread, other threads:[~2007-09-28 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 13:14 23.0.50; MulTTY Breakage On Linux Console: raman
2007-09-28 16:57 ` Dan Nicolaescu

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.