From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.50; MulTTY Breakage On Linux Console: Date: Fri, 28 Sep 2007 06:14:13 -0700 (PDT) Message-ID: <20070928131413.12C8D12A4071@localhost> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190985283 3899 80.91.229.12 (28 Sep 2007 13:14:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 13:14:43 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 15:14:40 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IbFfr-0007ry-Gg for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 15:14:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbFfo-0006x4-0Q for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 09:14:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbFfj-0006wd-73 for emacs-devel@gnu.org; Fri, 28 Sep 2007 09:14:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbFff-0006ur-FG for emacs-devel@gnu.org; Fri, 28 Sep 2007 09:14:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbFff-0006ul-8y for emacs-devel@gnu.org; Fri, 28 Sep 2007 09:14:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbFff-0001V6-0e for emacs-devel@gnu.org; Fri, 28 Sep 2007 09:14:19 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbFev-0003d9-Q7 for emacs-pretest-bug@gnu.org; Fri, 28 Sep 2007 09:13:33 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IbFfa-0001U4-Td for emacs-pretest-bug@gnu.org; Fri, 28 Sep 2007 09:14:18 -0400 Original-Received: from sccrmhc11.comcast.net ([204.127.200.81]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbFfa-0001Tu-HG for emacs-pretest-bug@gnu.org; Fri, 28 Sep 2007 09:14:14 -0400 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (sccrmhc11) with ESMTP id <2007092813141301100kdevge>; Fri, 28 Sep 2007 13:14:13 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 12C8D12A4071; Fri, 28 Sep 2007 06:14:13 -0700 (PDT) Original-From: "T. V. Raman" x-attribution: tvrReply-to: raman@users.sf.net X-Detected-Kernel: NetCache Data OnTap 5.x X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79991 gmane.emacs.pretest.bugs:20024 Archived-At: 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