4

Emacs帮你进行英文阅读

 3 years ago
source link: https://www.lujun9972.win/blog/2018/07/06/emacs%E5%B8%AE%E4%BD%A0%E8%BF%9B%E8%A1%8C%E8%8B%B1%E6%96%87%E9%98%85%E8%AF%BB/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Emacs帮你进行英文阅读

define-word

define-word 是 abo-abo 写的一款英-英词典的插件,它实际上是借助 Wordnik 这个字典网站来进行释义的。

osx-dictionary.el

osx-dictionary 顾名思义是借助 Mac OSX 中的 Dictionary.app 来进行翻译的。

osx-dictionary-search-word-at-pointSearch word at point and display result with buffer osx-dictionary-search-input Searchinput word and display result with buffer

GNU Emacs itself has no idea what a Chinese word is, If you want Emacs to get the most likely Chinese word under the cursor, you have to set osx-dictionary-use-chinese-text-segmentation to t and install a Chinese word segmentation tool, please refer to chinese-word-at-point#prerequisite for more info.

google-translate

google-translate , an “Emacs Interface to Google Translate”. With this I could highlight a string in visual mode, run the google-translate-at-point command (bound to SPC x g t in Spacemacs), and have the translation displayed in a new buffer.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK