[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a coding system
From: |
David Kastrup |
Subject: |
Re: Creating a coding system |
Date: |
Sat, 20 Dec 2014 17:43:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>
>> Andreas Schwab <address@hidden> writes:
>>
>>> David Kastrup <address@hidden> writes:
>>>
>>>> Ok, what am I doing wrong here? Why does decode-coding-string not do
>>>> anything here?
>>>>
>>>> (define-translation-table 'midi-decode-table
>>>> (make-translation-table-from-alist
>>>> (mapcar
>>>> (lambda (p)
>>>> (cons (car p) (string-to-vector (cdr p))))
>>>> '(([144 0] . "c,,,,")
>>>
>>> The translation table operates on the decoded contents.
>>
>> Why would something be decoded twice in a row?
>
> You don't know the characters before decoding.
That's an "Andreas" answer: an insider joke comprehensible only once you
already know the answer. It's not even a hint.
--
David Kastrup
- Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Thien-Thi Nguyen, 2014/12/20
- Re: Creating a coding system, Andreas Schwab, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Eli Zaretskii, 2014/12/20
- Re: Creating a coding system, Thien-Thi Nguyen, 2014/12/20
- Re: Creating a coding system, Andreas Schwab, 2014/12/20
- Re: Creating a coding system, Andreas Schwab, 2014/12/20
- Re: Creating a coding system,
David Kastrup <=
- Re: Creating a coding system, Eli Zaretskii, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Stephen J. Turnbull, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Eli Zaretskii, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Eli Zaretskii, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20
- Re: Creating a coding system, Eli Zaretskii, 2014/12/20
- Re: Creating a coding system, David Kastrup, 2014/12/20