emacs-devel
[Top][All Lists]
Advanced

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

23.0.50; MulTTY Breakage On Linux Console:


From: raman
Subject: 23.0.50; MulTTY Breakage On Linux Console:
Date: Fri, 28 Sep 2007 06:14:13 -0700 (PDT)

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:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




reply via email to

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