From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Frame title problem Date: Sun, 07 Nov 2010 12:28:48 +0100 Message-ID: <4CD68D70.6010206@swipnet.se> References: <87zktn6cs2.fsf@escher.home> <87lj575pyp.fsf@escher.home> <87eiayeiur.fsf@escher.home> <4CD58AD2.3020202@swipnet.se> <878w16dyp2.fsf@escher.home> <4CD5B740.2080205@swipnet.se> <87y696cdj1.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289129346 5970 80.91.229.12 (7 Nov 2010 11:29:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2010 11:29:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 07 12:29:01 2010 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.69) (envelope-from ) id 1PF3Qj-00006M-Hk for ged-emacs-devel@m.gmane.org; Sun, 07 Nov 2010 12:29:01 +0100 Original-Received: from localhost ([127.0.0.1]:35614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PF3Qi-0007VQ-T1 for ged-emacs-devel@m.gmane.org; Sun, 07 Nov 2010 06:29:00 -0500 Original-Received: from [140.186.70.92] (port=40792 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PF3Qd-0007VE-41 for emacs-devel@gnu.org; Sun, 07 Nov 2010 06:28:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PF3Qb-0004LY-TV for emacs-devel@gnu.org; Sun, 07 Nov 2010 06:28:55 -0500 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:51425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PF3Qb-0004Ka-Fk for emacs-devel@gnu.org; Sun, 07 Nov 2010 06:28:53 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 596A8E8BEC for ; Sun, 7 Nov 2010 12:28:49 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4yAEsc1kxV4S1kPGdsb2JhbACDMJ5YDAEBAQE1LahykBiBIoFPAQqBWXMEjV+IRA X-IronPort-AV: E=Sophos;i="4.58,309,1286143200"; d="scan'208";a="1688986190" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 07 Nov 2010 12:28:48 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id AE77F7FA05A; Sun, 7 Nov 2010 12:28:48 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.11) Gecko/20101004 Thunderbird/3.1.5 In-Reply-To: <87y696cdj1.fsf@escher.home> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132426 Archived-At: So the shortname is known to the X Server but the fqdn is not? This is s= o=20 naive. The identity of a machine is not so simple as kwin people would w= ish,=20 but I guess they are too lazy to fix their bad code. So I changed Emacs = so it=20 lets the X libs set WM_CLIENT_MACHINE. Please try it and see if it works= . If not, I guess Xorg and KDE have to battle it out. Jan D. Stephen Berman skrev 2010-11-06 23.06: > On Sat, 06 Nov 2010 21:14:56 +0100 Jan Dj=C3=A4rv = wrote: > >> They probably just use hostname, but Emacs goes through the motions >> (i.e. gethostbyname) to get the fqdn and that ends up in system-name. > > I reported this to the KDE bugtracker > (https://bugs.kde.org/show_bug.cgi?id=3D256258) and got this response: > >> --- Comment #1 from Martin Gr=C3=A4=C3=9Flin= 2010-11-06 22:53:24 --- >> This looks like an emacs bug to me. Please see the standard for it: >> http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.9 >> >>> The client should set the WM_CLIENT_MACHINE property (of one of the >>> TEXT types) to a string that forms the name of the machine running >>> the client as seen from the machine running the server. >> >> I assume for the server it will just be escher and not the fqdn. It is >> rather unusual to identify the local machine with a fqdn. >> >> Anyway it's not a bug in kwin, but a regression in emacs. If they >> change something like that, they should revert and not tell window >> managers to adjust their code. > > Steve Berman