注: 本文是 moz-controller 的中文 README (commit 7e3d05f). moz-controller 是我写的第一个 Emacs 插件, github 地址: https://github.com/RenWenshan/emacs-moz-controller.
It’s very common for me to program while read documents in a web browser, and I think it’s annoying to switch between the browser and the text editor constantly.
Here I have a few Elisp functions defined, which allow me to control Firefox to scroll, close tabs and so on.
写了几个小函数, 让我可以在 Emacs 中控制 Firefox 进行翻页和关闭当前 tab 等操作.
I wrote two simple elisp commands to make the experience of taking notes while reading PDF in Emacs better.
写了两个简单的 elisp 函数, 让我在 Emacs 中边读 PDF 边做笔记的体验更好一些.
As a programmer who sits before a computer more than 8 hours a day, standing up and exercising a bit regularly is said to be a good way to extend my lifespan. In this era, I believe even living a little longer could make a tremendous difference (see 《永生的阶梯》 by Cixin Liu, or Technological singularity on Wikipedia).
Recently, I started to use helm and found that
M-x helm-world-time could display local time in cities worldwide.
For example, to display Beijing and Melbourne time, you just need to change the variable
(setq display-time-world-list '(("Asia/Shanghai" "China") ("Australia/Melbourne" "Melbourne")))