From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Creating a coding system Date: Sat, 20 Dec 2014 19:40:27 +0100 Message-ID: <87mw6igo6c.fsf@fencepost.gnu.org> References: <87ppbeitcs.fsf@fencepost.gnu.org> <87sigasa3n.fsf@igel.home> <878ui2ieu1.fsf@fencepost.gnu.org> <87k31ms3gr.fsf@igel.home> <87zjaigtkz.fsf@fencepost.gnu.org> <83tx0qqn4d.fsf@gnu.org> <87r3vugr1s.fsf@fencepost.gnu.org> <877fxmcgwi.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419100846 8912 80.91.229.3 (20 Dec 2014 18:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2014 18:40:46 +0000 (UTC) Cc: Eli Zaretskii , schwab@linux-m68k.org, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 20 19:40:38 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y2OxB-0005fg-P5 for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 19:40:37 +0100 Original-Received: from localhost ([::1]:35486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2OxA-0000pM-QX for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 13:40:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Ox4-0000oE-Lo for emacs-devel@gnu.org; Sat, 20 Dec 2014 13:40:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2Ox3-0003jj-Hu for emacs-devel@gnu.org; Sat, 20 Dec 2014 13:40:30 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Ox3-0003jC-Al for emacs-devel@gnu.org; Sat, 20 Dec 2014 13:40:29 -0500 Original-Received: from localhost ([127.0.0.1]:54168 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Ox2-0001xy-4C; Sat, 20 Dec 2014 13:40:28 -0500 Original-Received: by lola (Postfix, from userid 1000) id 84607DF676; Sat, 20 Dec 2014 19:40:27 +0100 (CET) In-Reply-To: <877fxmcgwi.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sun, 21 Dec 2014 03:31:09 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180396 Archived-At: "Stephen J. Turnbull" writes: > David Kastrup writes: > > > Maybe a coding system is not even the right way to do this, but at > > least it seems like a builtin mechanism and consequently fast. > > I think a coding system is the right way to do it, but you probably > need to construct the coding system a different way. You might need > to write a little CCL (Aidan Kehoe can probably help if Handa-san is > unavailable). There's some CCL documentation in the XEmacs manuals, > but it's probably not much more than a Texinfoization of the comments > in the files defining CCL. Oh wow. I thought CCL was Emacs-only, and it seemed like it was deprecated anyway. But CCL seems better suited for converting Midi in a more complete manner, particularly where numeric parameters are concerned. -- David Kastrup