From: Feng Shu <tumashu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: need a org-contacts feature
Date: Wed, 10 Apr 2013 21:47:48 +0800 [thread overview]
Message-ID: <8738uyo5tn.fsf@news.tumashu-localhost.org> (raw)
In-Reply-To: <CAPaq-gPTLRfgy5Ux3dVM6o3ROrBeE8fhJqNh07iL+O0pjoQBdg@mail.gmail.com> (Torsten Wagner's message of "Wed, 10 Apr 2013 15:22:53 +0200")
Torsten Wagner <torsten.wagner@gmail.com> writes:
> Hi,
>
> do I understand correct, that you want to enter the pinyin
> transcription to search for the desired hànzì?
It's right, but want I want to know is: how to hook this kind of
function into org-contacts.el.
But I find a simple way: add alias properties to org-contacts.el
#+begin_example
* 你好
:PROPERTIES:
:ALIAS: nh
:EMAIL: 601651745@qq.com
:PHONE: 15133912738
#+end_example
When I search 'nh' ,I can get "你好" contact
> Not sure whether this is possible. I guess you are aware of the emacs
> input methods?!
I have found a function that can transcript hanzi to pinyin
> A dictionary method like you describe might be doable with yasnippet.
> http://capitaomorte.github.io/yasnippet/
>
> However, it would only be practical for the most common words.
>
> Hope that helps a bit
>
> Greetings
>
> Torsten
>
> On 9 April 2013 12:10, Feng Shu <tumashu@gmail.com> wrote:
>
> org-contacts is very useful, but it can't be work well with CJK
> users
> for CJK input method, I need a feature like this:
>
> 1. If I search string "你好" ,the result will be: "你好"
>
> 2. if I have a dict function in which there is '("nihao" "你好")
> or '("nh" "你好")
>
> 3. the feature I expect is like: when I search "nihao" or "nh" ,
> the result will be "你好"
>
>
> Thanks
>
>
>
>
>
> --
--
prev parent reply other threads:[~2013-04-10 13:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 10:10 need a org-contacts feature Feng Shu
2013-04-10 13:22 ` Torsten Wagner
2013-04-10 13:47 ` Feng Shu [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738uyo5tn.fsf@news.tumashu-localhost.org \
--to=tumashu@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.