From: Tokuya Kameshima <kames@fa2.so-net.ne.jp>
To: carsten.dominik@gmail.com
Cc: kames@fa2.so-net.ne.jp, emacs-orgmode@gnu.org
Subject: patch for org-freemind.el
Date: Wed, 18 Nov 2009 01:38:32 +0900 [thread overview]
Message-ID: <20091118.013832.173815981.kames@fa2.so-net.ne.jp> (raw)
[-- 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
next reply other threads:[~2009-11-17 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 16:38 Tokuya Kameshima [this message]
2009-11-17 19:36 ` patch for org-freemind.el Carsten Dominik
2009-12-11 15:00 ` Tokuya Kameshima
2009-12-12 9:52 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091118.013832.173815981.kames@fa2.so-net.ne.jp \
--to=kames@fa2.so-net.ne.jp \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).