emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* patch for org-freemind.el
@ 2009-11-17 16:38 Tokuya Kameshima
  2009-11-17 19:36 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Tokuya Kameshima @ 2009-11-17 16:38 UTC (permalink / raw)
  To: carsten.dominik; +Cc: kames, emacs-orgmode

[-- Attachment #1: Type: Text/Plain, Size: 247 bytes --]

Hi Carsten,

This is a small patch for org-freemind.el to convert the multibyte
characters to unicode numeric character references such as "亀".
It is likely that Freemind supports the multibyte characters in this
style.

Thanks,

--Tokuya


[-- Attachment #2: org-freemind.el.patch --]
[-- Type: Text/X-Patch, Size: 393 bytes --]

--- org-freemind.el.ORIG	Mon Nov 16 23:26:36 2009
+++ org-freemind.el	Tue Nov 17 00:27:22 2009
@@ -240,7 +240,7 @@
                       ;; file is utf-8:
                       ;;
                       ;; (format "&#x%x;" (- cc ;; ?\x800))
-                      (char-to-string cc)
+                      (format "&#x%x;" (encode-char cc 'ucs))
                       ))))
     fm-str))
 

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: patch for org-freemind.el
  2009-11-17 16:38 patch for org-freemind.el Tokuya Kameshima
@ 2009-11-17 19:36 ` Carsten Dominik
  2009-12-11 15:00   ` Tokuya Kameshima
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-11-17 19:36 UTC (permalink / raw)
  To: Tokuya Kameshima; +Cc: emacs-orgmode

Applied, thanks

- Carsten

On Nov 17, 2009, at 5:38 PM, Tokuya Kameshima wrote:

> Tokuya Kameshima

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: patch for org-freemind.el
  2009-11-17 19:36 ` Carsten Dominik
@ 2009-12-11 15:00   ` Tokuya Kameshima
  2009-12-12  9:52     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Tokuya Kameshima @ 2009-12-11 15:00 UTC (permalink / raw)
  To: carsten.dominik; +Cc: kames, emacs-orgmode

Hi Carsten,

Could you please apply the patch again.  ";" was missing in the
previous update.

Thanks,
--Tokuya


On Wed, 18 Nov 2009 01:38:32 +0900,
Tokuya Kameshima <kames@fa2.so-net.ne.jp> wrote:
>
> Hi Carsten,
> 
> This is a small patch for org-freemind.el to convert the multibyte
> characters to unicode numeric character references such as "&#x4e80;".
> It is likely that Freemind supports the multibyte characters in this
> style.
> 
> Thanks,
> 
> --Tokuya
> 


----------------------------------------------------------------------

--- org-freemind.el.ORIG	Fri Nov 27 15:09:11 2009
+++ org-freemind.el	Fri Dec 11 14:54:50 2009
@@ -240,7 +240,7 @@
                       ;; file is utf-8:
                       ;;
                       ;; (format "&#x%x;" (- cc ;; ?\x800))
-		      (format "&#x%x" (encode-char cc 'ucs))
+		      (format "&#x%x;" (encode-char cc 'ucs))
                       ))))
     fm-str))
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: patch for org-freemind.el
  2009-12-11 15:00   ` Tokuya Kameshima
@ 2009-12-12  9:52     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-12-12  9:52 UTC (permalink / raw)
  To: Tokuya Kameshima; +Cc: emacs-orgmode

Done, thanks!

- Carsten

On Dec 11, 2009, at 4:00 PM, Tokuya Kameshima wrote:

> Hi Carsten,
>
> Could you please apply the patch again.  ";" was missing in the
> previous update.
>
> Thanks,
> --Tokuya
>
>
> On Wed, 18 Nov 2009 01:38:32 +0900,
> Tokuya Kameshima <kames@fa2.so-net.ne.jp> wrote:
>>
>> Hi Carsten,
>>
>> This is a small patch for org-freemind.el to convert the multibyte
>> characters to unicode numeric character references such as  
>> "&#x4e80;".
>> It is likely that Freemind supports the multibyte characters in this
>> style.
>>
>> Thanks,
>>
>> --Tokuya
>>
>
>
> ----------------------------------------------------------------------
>
> --- org-freemind.el.ORIG	Fri Nov 27 15:09:11 2009
> +++ org-freemind.el	Fri Dec 11 14:54:50 2009
> @@ -240,7 +240,7 @@
>                       ;; file is utf-8:
>                       ;;
>                       ;; (format "&#x%x;" (- cc ;; ?\x800))
> -		      (format "&#x%x" (encode-char cc 'ucs))
> +		      (format "&#x%x;" (encode-char cc 'ucs))
>                       ))))
>     fm-str))
>

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-12  9:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-17 16:38 patch for org-freemind.el Tokuya Kameshima
2009-11-17 19:36 ` Carsten Dominik
2009-12-11 15:00   ` Tokuya Kameshima
2009-12-12  9:52     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).