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: X atoms rework Date: Wed, 10 Nov 2010 18:19:12 +0100 Message-ID: <4CDAD410.6030204@swipnet.se> References: <1289396996-26774-1-git-send-email-julien@danjou.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289411283 11567 80.91.229.12 (10 Nov 2010 17:48:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2010 17:48:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Julien Danjou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 10 18:47:59 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 1PGElw-0004q5-Vr for ged-emacs-devel@m.gmane.org; Wed, 10 Nov 2010 18:47:56 +0100 Original-Received: from localhost ([127.0.0.1]:52237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGElt-00015w-79 for ged-emacs-devel@m.gmane.org; Wed, 10 Nov 2010 12:47:45 -0500 Original-Received: from [140.186.70.92] (port=37261 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGEKJ-0003J4-VK for emacs-devel@gnu.org; Wed, 10 Nov 2010 12:19:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGEKI-0006IK-VY for emacs-devel@gnu.org; Wed, 10 Nov 2010 12:19:15 -0500 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:36670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGEKI-0006I5-QS for emacs-devel@gnu.org; Wed, 10 Nov 2010 12:19:14 -0500 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 9B6E4EB342 for ; Wed, 10 Nov 2010 18:19:13 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkxAEtj2kxV4S1kPGdsb2JhbACDOYRSmiQMAQEBATUtrUCRA4EigzVzBI1j X-IronPort-AV: E=Sophos;i="4.59,178,1288566000"; d="scan'208";a="149185914" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 10 Nov 2010 18:19:13 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 9274E7FA05A; Wed, 10 Nov 2010 18:19:12 +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: <1289396996-26774-1-git-send-email-julien@danjou.info> 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:132517 Archived-At: I think only the fourth part of the patch is worth it. The atoms that are not gotten at startup are not in any critical path, rather the functions that use them are called very seldom. Some atoms are only used once. Jan D. Julien Danjou skrev 2010-11-10 14.49: > I've been hacking in xterm.c this days, and saw some things I did not > like that much about the handling of X atoms. > > Therefore, I rewrote this part, and here's a set of patch that enhance > things a bit. It should make X initialization faster over the > network, at least, and stop requesting atoms that Emacs should already > have locally. >