我怎样才能拥有便携式 Emacs? [英] How can I have a portable Emacs?
问题描述
有没有办法从 USB 驱动器运行 Emacs?我是 Windows 用户,我希望无需安装 Emacs 即可在任何 PC 上使用它.
Is there a way run Emacs from a USB drive? I am a Windows user and I would like to be able use it on any PC without an Emacs install.
推荐答案
是的,Windows 的普通"Emacs 发行版是预编译的,无需安装即可运行.只需从通常的地方获取其中一个 *.zip 文件,将其解压到一个U盘,直接使用即可.(实际的二进制文件在bin/"目录中.)
Yes, the "normal" Emacs distribution for Windows is precompiled and just runs without having to do any install. Just get one of the *.zip files from the usual place, unpack it onto a USB disk, and you can use it directly. (The actual binary is inside the "bin/" directory.)
您可能唯一想做的就是将它设置为始终在 USB 磁盘上而不是在您的硬盘上查找.emacs";见
The only thing you may want to do is set it up to look for ".emacs" always on the USB disk instead of on your hard drive; see
(info "(emacs) Windows HOME")
关于如何做到这一点.
这篇关于我怎样才能拥有便携式 Emacs?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!