Emacs帮你进行英文阅读

本文介绍了Emacs中用于英文阅读的三个工具:define-word利用Wordnik网站提供英英词典功能;osx-dictionary.el借助Mac OSX的Dictionary.app进行翻译;google-translate则是一个Emacs到Google翻译的接口,方便快捷地进行文字翻译。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文地址:https://raw.githubusercontent.com/lujun9972/lujun9972.github.com/source/Emacs之怒/Emacs帮你进行英文阅读.org

define-word

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

osx-dictionary.el

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

osx-dictionary-search-word-at-point
Search word at point and display result with buffer
osx-dictionary-search-input Search
input 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值