From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: X11 Compound Text vs ISO 2022 Date: Wed, 07 Jul 2010 00:55:35 -0400 Message-ID: References: <4C33BE6A.2090707@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278478591 26036 80.91.229.12 (7 Jul 2010 04:56:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 04:56:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 07 06:56:30 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 1OWMgO-0002oU-HB for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 06:56:28 +0200 Original-Received: from localhost ([127.0.0.1]:40115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWMgN-0004l6-R1 for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 00:56:27 -0400 Original-Received: from [140.186.70.92] (port=46514 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWMgH-0004l1-9R for emacs-devel@gnu.org; Wed, 07 Jul 2010 00:56:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWMgF-0001XO-VZ for emacs-devel@gnu.org; Wed, 07 Jul 2010 00:56:21 -0400 Original-Received: from eagle.jhcloos.com ([207.210.242.212]:41986) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWMgF-0001XD-MX for emacs-devel@gnu.org; Wed, 07 Jul 2010 00:56:19 -0400 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 7F4794016D; Wed, 7 Jul 2010 04:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1278478578; bh=TaMBLnzuggP/gjbYVQoXSv5w8aehg6AMaJkEicySbBM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=cJCq51D2JXNl9vaOK5DQWUxF1F9IPFnGYhqTUkThT6T9khaCs8DyT8UixPnOaafvl 5+z+VA4LpZ+fE3SXVA+nS2wDHuTag6gIPMN59tPoGdGr7mU89vJmqb9PxeGrOaf8+C cwlK0zz8a8JBL0yiLV4Wjb+NwTfujgVxY+QgGugI= Original-Received: from carbon.jhcloos.org (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id 3A5951C8AF3; Wed, 7 Jul 2010 04:55:36 +0000 (UTC) In-Reply-To: <4C33BE6A.2090707@harpegolden.net> (David De La Harpe Golden's message of "Wed, 07 Jul 2010 00:38:18 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 23 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:126862 Archived-At: >>>>> "DDLHG" == David De La Harpe Golden writes: DDLHG> But actually I think emacs should be using using coding system DDLHG> compound-text-with-extensions by default, not coding system DDLHG> compound-text? At least if you haven't customized DDLHG> selection-coding-system. Perhaps for selections, but I was looking into wierd results for the WM_NAME and WM_ICON_NAME properties. (My patch to also set the _NET version in the non-GTK case --- just like GTK already does --- fixes that for window managers which support the _NET properties, but mine does not, yet.) For that, the c code explicitly uses compound-text, not compound-text-with-extensions. That difference may explain why I was unable to duplicate the issue with selections. So perahps the fix is to use the -wiht-extensions variation in x_set_name_internal()? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6