From mboxrd@z Thu Jan  1 00:00:00 1970
From: Takaaki ISHIKAWA <takaxp@ieee.org>
Subject: Re: Japanese strings for Org-mode export
Date: Sun, 4 Mar 2012 17:23:34 +0900
Message-ID: <4884C9D9-7E81-4DED-9178-CBA113E8F4E0@ieee.org>
References: <CAAaRP5umR8kDfZoZw6y2XJgyL70YdiJqLtpBvX++0ff+mU=fhA@mail.gmail.com>
	<CAAaRP5sFHy36JCjfUaPLpdOjW=xhGAYtPg8LZxXpQ=Pa0Z=zKA@mail.gmail.com>
	<B28BC7D4-2BCE-42B9-9789-09569BCB8E1E@ieee.org>
	<CAAaRP5uA+pz6KH21aBmoETnssmD57LqG0xY7RQDECFaEj_vjzg@mail.gmail.com>
	<F79C137A-D913-4C85-B717-B25C75F32FD6@ieee.org>
	<CAAaRP5uQzX9FGySCnL2O7W_Ju9abA2O2wzV7DWK1tHYx9LL-mA@mail.gmail.com>
	<CAAaRP5vMoxfqo6=DnWXktxYbnah_cOKHMYpcHtcHiWPO73ZU_A@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: quoted-printable
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:36626)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ishikawa@takaxp.com>) id 1S46jK-0000hO-NX
	for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 03:23:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ishikawa@takaxp.com>) id 1S46jI-00073f-DC
	for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 03:23:46 -0500
Received: from mail-pz0-f52.google.com ([209.85.210.52]:34390)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ishikawa@takaxp.com>) id 1S46jI-00072a-39
	for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 03:23:44 -0500
Received: by dadp12 with SMTP id p12so3337087dad.39
	for <emacs-orgmode@gnu.org>; Sun, 04 Mar 2012 00:23:41 -0800 (PST)
In-Reply-To: <CAAaRP5vMoxfqo6=DnWXktxYbnah_cOKHMYpcHtcHiWPO73ZU_A@mail.gmail.com>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Hideki Saito <hidekis@gmail.com>
Cc: emacs-orgmode@gnu.org

Dear Saito-san,

Thanks for making an alternative patch.
I'll follow up why I cannot apply the original patch.

Best regards,
Takaaki Ishikawa

On 2012/03/04, at 16:29, Hideki Saito wrote:

> The attached is alternative of the patch using utf-8 encoding.
>=20
> Hideki Saito <hidekis@gmail.com>
>=20
>=20
>=20
> On Sat, Mar 3, 2012 at 10:26 PM, Hideki Saito <hidekis@gmail.com> =
wrote:
>> Hello Ishikiawa-san
>> It is OSX at work, and it's still on Snow Leopard -- I haven't =
updated
>> the console version of it, so I will have to check to see which
>> version was it. It is now sound like to me that the way I've done on
>> the patch is platform dependent at best -- which is strange as this
>> notation was used in other languages in same entry, but not as
>> extensive as in case for Japanese...
>>=20
>> Hideki Saito <hidekis@gmail.com>
>>=20
>>=20
>>=20
>>=20
>> 2012/3/3 Takaaki ISHIKAWA <takaxp@ieee.org>:
>>> Dear Saito-san,
>>>=20
>>> Thank you for comment.
>>> You mean OSX+emacs23 users cannot compile using the patch, right?
>>> (Or something wrong with me...)
>>> And I can compile it in SuSE Linux :-)
>>>=20
>>> Best regards,
>>> Takaaki Ishikawa
>>>=20
>>> On 2012/03/04, at 14:37, Hideki Saito wrote:
>>>=20
>>>> Ishikawa-san,
>>>> I've had that problem when I tried to do "make' on Mac OS X, which =
I
>>>> realized it was compiling in obsolete version of emacs. (like emacs
>>>> 22) I believe it was happening when (require 'org-exp.el)
>>>>=20
>>>> In fact, I did see this would work if UTF-8ed in your example even =
in
>>>> the above environment, but I thought it was inappropriate as coding
>>>> wasn't encoded in UTF-8. If UTF-8 strings are acceptable in =
org-mode
>>>> source tree, I guess doing it so will make it most compatible.
>>>>=20
>>>> I verified the patch worked under Emacs 24 and in fact, I am right =
now
>>>> using the code on my Mac and on Windows.
>>>>=20
>>>> Hideki Saito <hidekis@gmail.com>
>>>>=20
>>>> 2012/3/3 Takaaki ISHIKAWA <takaxp@ieee.org>:
>>>>> Dear Saito-san,
>>>>>=20
>>>>> I've tried to compile your patch with the latest org-mode.
>>>>> I got an error message:
>>>>> Error: Invalid character: 33879, #o102127, #x8457
>>>>>=20
>>>>> I can apply the following line directly under UTF-8 env.:
>>>>> ("ja" "=1B$BCx<T=1B(B" "=1B$BF|IU=1B(B" "=1B$BL\<!=1B(B" =
"=1B$B5SCm=1B(B")
>>>>> ----
>>>>> Emacs 23.4 (nextstep)
>>>>> Org-version 7.8.03
>>>>> ----
>>>>>=20
>>>>> Could you give me your environment around Emacs?
>>>>>=20
>>>>> Best regards,
>>>>> Takaaki Ishikawa
>>>>>=20
>>>>>=20
>>>>> On 2012/03/03, at 16:06, Hideki Saito wrote:
>>>>>=20
>>>>>> I think Gmail did bad to the patch snippet. Obviously, I haven't =
done
>>>>>> much of patch contributions :-)
>>>>>>=20
>>>>>> I've attached one, or you can refer to:
>>>>>> https://gist.github.com/1964802
>>>>>>=20
>>>>>> Thank you.
>>>>>>=20
>>>>>> Hideki Saito <hidekis@gmail.com>
>>>>>>=20
>>>>>>=20
>>>>>> On Fri, Mar 2, 2012 at 5:55 PM, Hideki Saito <hidekis@gmail.com> =
wrote:
>>>>>>> diff --git a/lisp/org-exp.el b/lisp/org-exp.el
>>>>>>> index 174619a..43c54b5 100644
>>>>>>> --- a/lisp/org-exp.el
>>>>>>> +++ b/lisp/org-exp.el
>>>>>>> @@ -194,6 +194,7 @@ This option can also be set with the =
+OPTIONS
>>>>>>> line, e.g. \"-:nil\"."
>>>>>>>     ("hu" "Szerz&otilde;" "D&aacute;tum" =
"Tartalomjegyz&eacute;k"
>>>>>>> "L&aacute;bjegyzet")
>>>>>>>     ("is" "H&ouml;fundur" "Dagsetning" "Efnisyfirlit"
>>>>>>> "Aftanm&aacute;lsgreinar")
>>>>>>>     ("it" "Autore"     "Data"  "Indice" "Note a pi&egrave; di =
pagina")
>>>>>>> +    ("ja" "\x8457\x8005" "\x65e5\x4ed8" "\x76ee\x6b21" =
"\x811a\x6ce8")
>>>>>>>     ("nl" "Auteur"     "Datum" "Inhoudsopgave" "Voetnoten")
>>>>>>>     ("no" "Forfatter"  "Dato"  "Innhold" "Fotnoter")
>>>>>>>     ("nb" "Forfatter"  "Dato"  "Innhold" "Fotnoter")  ;; nb =3D =
Norsk (bokm.l)
>>>>>> <org-japanese-export.patch>
>>>>>=20
>>>=20
> <orgmode-japanese-export-utf8.patch>