Title: P1: Emacs: my update to toneless pinyin in Chinese [2024-01-10 Wed]
Code uses translation table (named Quail map) from Quail
minor mode (input multilingual text easily).
It is possible to adopt this code to many other
languages. ☆

I spent one month to code this (⚆i⚆) and I am going to use
it for the rest of my life. _/¯(⏿⏿)¯_ #emacs #chinese #pinyin

Title: P0: Emacs: my update to toneless pinyin in Chinese [2024-01-10 Wed]
I finally 😫 released a major update to my Emacs package
that allow to search with toneless pinyin in Chinese ☯
characters and in normal pinyin text. 😊

It is 'isearch submode'.

You just press: C-s nu, and it will find for you 女 and nǚ.

By default it looks for both pinyin and Chinese characters,
but you can switch to pinyin with M-s p and to characters
with M-s h keys. #emacs #chinese #pinyin

Title: P1: Emacs: my update to toneless pinyin in Chinese [2024-01-10 Wed]
Code uses translation table (named Quail map) from Quail
minor mode (input multilingual text easily).
It is possible to adopt this code to many other
languages. ☆

I spent one month to code this (⚆i⚆) and I am going to use
it for the rest of my life. _/¯(⏿⏿)¯_ #emacs #chinese #pinyin

Title: P0: Emacs: my update to toneless pinyin in Chinese [2024-01-10 Wed]
I finally 😫 released a major update to my Emacs package
that allow to search with toneless pinyin in Chinese ☯
characters and in normal pinyin text. 😊

It is 'isearch submode'.

You just press: C-s nu, and it will find for you 女 and nǚ.

By default it looks for both pinyin and Chinese characters,
but you can switch to pinyin with M-s p and to characters
with M-s h keys. #emacs #chinese #pinyin

Title: P4: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am not going to publish script for security considerations.
But I will think about it.
😶 #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P3: pinyin search, Mastadon sedning [2024-01-06 Sat]
1) You need to register a client in web site with permissions: write, push, delete.
2) All you need is 'Your access token' ◕‿◕
3) curl -H 'Authorization: Bearer Saccess_token' ...
to https://emacs.ch/api/v1/media to upload pictures
to https://emacs.ch/api/v1/statuses to push status
to https://emacs.ch/api/v1/statuses/Smessage_id to delete status #mastadon #emacs #chinese #pinyin #elisp #lisp

Title: P2: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am very fashinated by Chinese 气功 Qigong. ☯
The basic is very simple: make movies to liven the body and mind's aspects. ☥

I updated my bash scripts with cURL 🦾 to quickly send
'status' reports to Mastadon 💅:
I used this Python wrapper scripts as guidlines:
- https://github.com/halcy/Mastodon.py/blob/master/mastodon/authentication.py
- Mastodon.py/mastodon/internals.py #mastadon #emacs #chinese #pinyin #elisp #lisp

Mastodon.py/mastodon/authentication.py at master · halcy/Mastodon.py

Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API. - halcy/Mastodon.py

GitHub
Title: P2: P1: pinyin search, Mastadon sedning [2024-01-06 Sat]
(funcall f x)
)) l))
Add one list to another or Concatenate two lists:
(seq-concatenate 'list c1 c2)
or
(defun add_one_to_another(c1 c2)
(apply 'append (list c1 c2))) #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P1: P1: pinyin search, Mastadon sedning [2024-01-06 Sat]
: (defun anynil (l) (cl-some #'null l))
Apply map to every leaf of a tree like list
(defun maptree (f l)
(mapcar (lambda (x) (if (listp x)
(maptree f x) #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P2: P0: pinyin search, Mastadon sedning [2024-01-06 Sat]
all or every
: (defun all (l) (cl-every #'identity l))
all or every nil
: (defun allnil (l) (cl-every #'null l))
any t
: (defun any (l) (cl-some #'identity l))
any nil #mastadon #emacs #chinese #pinyin #elisp #lisp