跳至主要内容

博文

目前显示的是 五月, 2026的博文

I wish to have an async XEmacs

Bringing Modern Concurrency to XEmacs: Async/Await and Actor Models What if Elisp could handle concurrency as gracefully as Node.js or Python? I am working on an experimental XEmacs branch designed to bring modern paradigms to the editor, including: Native async/await syntax for non-blocking Elisp execution. An Erlang-inspired Actor model for robust, parallel programming. You can track the development and explore the code here: [Link to WIP Async XEmacs Repo]

Tempermonkey script: translate in a new tab by ctrl-right-click

It's been a long time, I created search keywords `camb` in firefox bookmark for Cambridge dictionary English-Chinese translation search. To use this keyword, the procedure look likes this: I get a fresh new English word in a page. I select and copy the word by Ctrl-C or right click and select "copy" I open a Firefox tab/window In the newly opened address bar, I type in the keyword "camb" and a space I paste or manually type in the copied word I press enter and wait for the Cambridge Dictionary translate    The procedure is too boring, but I can not live without it as Cambridge  Dictionary is one of the best translation system that provides the best quality pronunciation.   Now  there's tampermonkey, And with the right-click-to-open script, the procedure becomes:   I get a new English word in a page I select the word and right click the page while holding Ctrl key New tab is opened with Cambridge Dictionary translation    Much more convenient righ...