From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: `decode-coding-string' question Date: Tue, 4 Jul 2006 00:35:01 +0300 Message-ID: <200607040035.01379.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151962191 19954 80.91.229.2 (3 Jul 2006 21:29:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2006 21:29:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 23:29:48 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxVzC-0007D2-At for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 23:29:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxVzB-0005fw-KQ for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 17:29:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxVz0-0005fg-Ol for emacs-devel@gnu.org; Mon, 03 Jul 2006 17:29:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxVyy-0005fU-Bq for emacs-devel@gnu.org; Mon, 03 Jul 2006 17:29:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxVyy-0005fR-8u for emacs-devel@gnu.org; Mon, 03 Jul 2006 17:29:28 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FxWCV-0005ez-22 for emacs-devel@gnu.org; Mon, 03 Jul 2006 17:43:27 -0400 Original-Received: (qmail invoked by alias); 03 Jul 2006 21:29:25 -0000 Original-Received: from unknown (EHLO [194.158.212.229]) [194.158.212.229] by mail.gmx.net (mp012) with SMTP; 03 Jul 2006 23:29:25 +0200 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.7.2 Content-Disposition: inline X-Y-GMX-Trusted: 0 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:56439 Archived-At: Say I have a string with various text properties set. If I then apply `decode-coding-string' to it, all the properties are lost. Is there a way to transfer properties from ``character beginning'' (i.e. first character of a number being combined during decoding) to the decoded character? I.e. UTF-8 representation of copyright sign is "\xc2\xa9". Can I transfer properties of '\xc2' character to the copyright sign character and discard properties of '\xa9' character? Paul