From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: `decode-coding-string' question Date: Tue, 04 Jul 2006 09:50:16 +0900 Message-ID: References: <200607040035.01379.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1151974275 18455 80.91.229.2 (4 Jul 2006 00:51:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 00:51:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 02:51:12 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 1FxZ87-0002C6-AQ for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2006 02:51:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxZ86-0001kP-Tn for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 20:51:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxZ7w-0001kA-8e for emacs-devel@gnu.org; Mon, 03 Jul 2006 20:50:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxZ7u-0001jx-Qy for emacs-devel@gnu.org; Mon, 03 Jul 2006 20:50:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxZ7u-0001ju-NL for emacs-devel@gnu.org; Mon, 03 Jul 2006 20:50:54 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxZLT-00055K-7l for emacs-devel@gnu.org; Mon, 03 Jul 2006 21:04:55 -0400 Original-Received: from smtp3.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k640oisu010562; Tue, 4 Jul 2006 09:50:44 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id k640ohv5006505; Tue, 4 Jul 2006 09:50:43 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FxZ7I-0006p7-00; Tue, 04 Jul 2006 09:50:16 +0900 Original-To: Paul Pogonyshev In-reply-to: <200607040035.01379.pogonyshev@gmx.net> (message from Paul Pogonyshev on Tue, 4 Jul 2006 00:35:01 +0300) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:56458 Archived-At: In article <200607040035.01379.pogonyshev@gmx.net>, Paul Pogonyshev writes: > 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? In the current implementation, it's impossible. But, first of all, why do you have text properties on unibyte string? I think all text processing should be done after the string is decoded. --- Kenichi Handa handa@m17n.org