* need a org-contacts feature
@ 2013-04-09 10:10 Feng Shu
2013-04-10 13:22 ` Torsten Wagner
0 siblings, 1 reply; 3+ messages in thread
From: Feng Shu @ 2013-04-09 10:10 UTC (permalink / raw)
To: emacs-orgmode
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
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need a org-contacts feature
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
0 siblings, 1 reply; 3+ messages in thread
From: Torsten Wagner @ 2013-04-10 13:22 UTC (permalink / raw)
To: Feng Shu; +Cc: Org Mode Mailing List
[-- Attachment #1: Type: text/plain, Size: 940 bytes --]
Hi,
do I understand correct, that you want to enter the pinyin transcription to
search for the desired hànzì?
Not sure whether this is possible. I guess you are aware of the emacs input
methods?!
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
>
>
>
>
>
> --
>
>
[-- Attachment #2: Type: text/html, Size: 1708 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need a org-contacts feature
2013-04-10 13:22 ` Torsten Wagner
@ 2013-04-10 13:47 ` Feng Shu
0 siblings, 0 replies; 3+ messages in thread
From: Feng Shu @ 2013-04-10 13:47 UTC (permalink / raw)
To: emacs-orgmode
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
>
>
>
>
>
> --
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-10 13:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.