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: Tue, 16 Oct 2012 23:42:36 +0200 Message-ID: <20121016214236.GA14111@c3po> References: <20121014154458.GA14676@c3po> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350423901 7648 80.91.229.3 (16 Oct 2012 21:45:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 21:45:01 +0000 (UTC) Cc: 12647@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 23:45:08 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 1TOEwc-0001Yo-Uy for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 23:44:59 +0200 Original-Received: from localhost ([::1]:47477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOEwV-00058N-UP for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 17:44:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOEwS-00056j-VI for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 17:44:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOEwR-0003fY-Ow for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 17:44:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOEwR-0003fU-L6 for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 17:44:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TOExd-00048W-St for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 17:46:01 -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: Tue, 16 Oct 2012 21:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12647-submit@debbugs.gnu.org id=B12647.135042391515845 (code B ref 12647); Tue, 16 Oct 2012 21:46:01 +0000 Original-Received: (at 12647) by debbugs.gnu.org; 16 Oct 2012 21:45:15 +0000 Original-Received: from localhost ([127.0.0.1]:47327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TOEws-00047V-J9 for submit@debbugs.gnu.org; Tue, 16 Oct 2012 17:45:14 -0400 Original-Received: from sanddollar.geekisp.com ([216.168.135.167]:3285) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TOEwr-00047J-1J for 12647@debbugs.gnu.org; Tue, 16 Oct 2012 17:45:13 -0400 Original-Received: (qmail 29916 invoked by uid 1003); 16 Oct 2012 21:43:52 -0000 Original-Received: from localhost (localhost.geekisp.com [127.0.0.1]) by localhost.geekisp.com (tmda-ofmipd) with ESMTP; Tue, 16 Oct 2012 17:43:48 -0400 Content-Disposition: inline In-Reply-To: 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-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:65670 Archived-At: On Tue, Oct 16, 2012 at 05:34:42PM -0400, Stefan Monnier wrote: > >>> In the past, frame.el set x-display-name, but it does not do > >>> that any more. > >> Where did it do it? > > In make-frame-on-display, right before calling > > x-initialize-window-system. (Look at emacs-24.) > >>> The following example frame.el change makes it work again, but someone > >>> should check this area. > >> To a large extent x-display-name should disappear > > But not during a feature freeze. > > Agreed. > > >> So this part of the code is pretty ugly. Your patch is probably OK in > >> the sense that it doesn't seem to make things significantly worse. > > It was only an example change showing what the problem seems to be. > > I'm not saying it is the right fix. > > We agreed above that we can't afford the right fix for the > feature freeze. I assume you agree that some interim fix is necessary then? As I mentioned, this bug breaks stuff out there in the real world, such as the Gentoo emacs init scripts. (These can be used to start emacs daemons for users at bootup, so they always run emacs --daemon outside of X, indeed usually before X has even been started). Toby -- 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