all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: raman <raman@users.sf.net>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.50; MulTTY Breakage On Linux Console:
Date: Fri, 28 Sep 2007 06:14:13 -0700 (PDT)	[thread overview]
Message-ID: <20070928131413.12C8D12A4071@localhost> (raw)


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

             reply	other threads:[~2007-09-28 13:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 13:14 raman [this message]
2007-09-28 16:57 ` 23.0.50; MulTTY Breakage On Linux Console: Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070928131413.12C8D12A4071@localhost \
    --to=raman@users.sf.net \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.