From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toby Cubitt Newsgroups: gmane.emacs.bugs Subject: bug#12647: 24.2.50; emacs --daemon broken in tty Date: Sun, 14 Oct 2012 17:44:58 +0200 Message-ID: <20121014154458.GA14676@c3po> Reply-To: Toby Cubitt NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350229565 7442 80.91.229.3 (14 Oct 2012 15:46:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2012 15:46:05 +0000 (UTC) To: 12647@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 14 17:46:12 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TNQOJ-0005Ud-Hr for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Oct 2012 17:46:11 +0200 Original-Received: from localhost ([::1]:54373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNQOC-0003Wh-Q6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Oct 2012 11:46:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNQO9-0003Vk-FW for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:46:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNQO8-0001rS-G4 for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:46:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNQO8-0001rO-CT for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:46:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TNQP8-0000RY-27 for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Toby Cubitt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Oct 2012 15:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13502295651634 (code B ref -1); Sun, 14 Oct 2012 15:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Oct 2012 15:46:05 +0000 Original-Received: from localhost ([127.0.0.1]:43995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNQOB-0000QG-Vo for submit@debbugs.gnu.org; Sun, 14 Oct 2012 11:46:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35947) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNQO8-0000Pl-IJ for submit@debbugs.gnu.org; Sun, 14 Oct 2012 11:46:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNQN2-0000mB-DE for submit@debbugs.gnu.org; Sun, 14 Oct 2012 11:44:53 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNQN2-0000lw-9u for submit@debbugs.gnu.org; Sun, 14 Oct 2012 11:44:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNQN1-0003OS-1j for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:44:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNQMz-0000je-QP for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:44:50 -0400 Original-Received: from sanddollar.geekisp.com ([216.168.135.167]:19262) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TNQMz-0000jP-MT for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 11:44:49 -0400 Original-Received: (qmail 23916 invoked by uid 1003); 14 Oct 2012 15:44:48 -0000 Original-Received: from localhost (localhost.geekisp.com [127.0.0.1]) by localhost.geekisp.com (tmda-ofmipd) with ESMTP; Sun, 14 Oct 2012 11:44:45 -0400 Content-Disposition: inline X-PGP-Key: http://www.dr-qubit.org/gpg-toby.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) X-Primary-Address: toby@dr-qubit.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65597 Archived-At: "emacsclient -c" throws an error if "emacs --daemon" is started outside of X windows, . This is on a recent bzr checkout (from today). Steps to reproduce: 1. switch to a linux virtual tty 2. emacs -Q --daemon 3. switch to X windows 4. emacsclient -c aborts with the following error: Waiting for Emacs... *ERROR*: Wrong type argument: stringp, nil (This bug breaks the Gentoo emacs daemon init scripts.) Note that "emacsclient -nw" does still open tty frames successfully on a daemon started from a tty. And running "emacs --daemon" from within X windows allows emacsclient to create both types of frame successfully. In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4) of 2012-10-14 on c3po Bzr revision: handa@gnu.org-20121014080652-4o4ptkifsi2xqtk4 Windowing system distributor `The X.Org Foundation', version 11.0.11202000 Configured using: `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--program-suffix=-emacs-24-vcs' '--program-transform-name=s/emacs-[0-9].*/emacs-24-vcs/' '--infodir=/usr/share/info/emacs-24-vcs' '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib' '--with-gameuser=games' '--without-compress-info' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--without-gnutls' '--without-xml2' '--without-selinux' '--without-wide-int' '--without-sound' '--with-x' '--without-ns' '--without-gconf' '--without-gsettings' '--with-toolkit-scroll-bars' '--without-gif' '--without-jpeg' '--with-png' '--with-rsvg' '--without-tiff' '--with-xpm' '--without-imagemagick' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk3' 'GENTOO_PACKAGE=app-editors/emacs-vcs-24.2.9999' 'EBZR_BRANCH=trunk' 'EBZR_REVNO=110543' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=prescott -O2 -pipe -O2' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LANG: en_GB.utf-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t -- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: tsc25@cantab.net web: www.dr-qubit.org