Emacs 云存储选项?

发布于 2024-08-21 03:02:45 字数 220 浏览 5 评论 0原文

在 Emacs 中,有哪些选项可以将文档保存到云中或从云中检索文档?

我在工作中在 Windows 机器上使用 Emacs,在家里在 Linux 机器上使用 Emacs,因此理想情况下,我希望有一个或多或少开箱即用的解决方案,适用于这两种操作系统。

我接触过 g-client,但无法完全让它工作。显然,如果没有其他更简单的选择,我将不得不再花几个小时。

非常感谢, 安德烈亚斯

What options are there for saving and retrieving documents to and from the cloud, from within Emacs?

I use Emacs at work, on a Windows machine, and at home, on a Linux box, so ideally I would want a solution that works more or less out of the box for both operating systems.

I touched on g-client, but could not quite get it to work. Obviously, if there are no other, simpler options, I'm just going to have to spend a couple of more hours on it.

Many thanks,
Andreas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

扶醉桌前 2024-08-28 03:02:45

Dropbox 非常通用。我什至将我的 Emacs 配置文件存储在那里。适用于 Windows、Linux、OS X 和 iPhone。自动同步。存储历史。是免费的。你还想要什么?:-)

Dropbox is pretty universal. I store even my Emacs config files there. Works on Windows, Linux, OS X, and iPhone. Syncs automatically. Stores history. Is free. What else do you want?:-)

好菇凉咱不稀罕他 2024-08-28 03:02:45

我能想到的两个选项:

  1. 如果您可以访问运行 ssh 的服务器,则将 ssh 与 trapm 一起使用。您还可以在您的家庭 Linux 机器上运行 ssh 服务器并通过工作访问您的家庭文件。 TRAMP 在 Windows 上通过 cygwin 的 ssh 运行得非常好。它会自动抓取一个文件(前提是你给 emacs 类似 /ssh:yourusername@yourserverhost:~/yourfile 的东西),将其放入你计算机上的临时文件中,然后在保存时将其复制回主机。

  2. 使用 SVN 或 Git 等源代码控制系统。同样,您可以在家中托管服务器,也可以找到在线主机(大多数是开源的,因此是公共的,但有些是免费的和私有的;我使用 unfuddle.com)。您必须定期提交/更新,但如果您愿意,您可以轻松地实现自动化,并且源代码控制系统会为您提供文件的良好历史记录和安全网,以防您做错了什么。

Emacs 与源代码控制系统具有出色的集成。如果您发现内置的不够(它非常通用,因此不提供特定源代码控制系统的某些特定功能的接口),有很多好的替代方案(SVN 的 psvn,Git 的 magit,例子)。

Two options that I can think of:

  1. If you have access to a server somewhere that runs ssh, then use ssh with tramp. You can also run a ssh server at your home linux box and access your home files through from work. Tramp works perfectly fine on Windows with ssh from cygwin. It will automatically grab a file (provided that you give emacs something like /ssh:yourusername@yourserverhost:~/yourfile), put it to a temporary file at your computer, then copy it back to the host when you save it.

  2. Use a source control system like SVN or Git. Again you can host the server at your home or you can find online hosts (most are for open source and are thus public, but some are free and private; I use unfuddle.com). You would have to regularly commit/update, but you can easily automate that if you want, and the source control system gives you a nice history of your files and a safety net in case you did something very wrong.

Emacs has excellent integration with source control system. If you find the build-in one not sufficient (it is quite generic and thus does not offer interface to some specific features of a particular source control system), there are plenty of good alternative (psvn for SVN, and magit for Git, for example).

澉约 2024-08-28 03:02:45

sshfs,如果你有良好的连接速度。

否则,Emacs 总会有tramp-mode

编辑:刚刚看到您正在使用Windows。

我使用 Windows 作为桌面已经有好几年了,但我使用的是 WebDrive那时。虽然它总是有点不稳定,但它还是有效的。

sshfs, if you have good connection speed.

Otherwise there's always tramp-mode for Emacs.

Edit: Just saw you are using Windows.

It's been some years since I used Windows as my desktop, but I used WebDrive back then. It sort-of works, although it always was a bit unstable.

美男兮 2024-08-28 03:02:45

Emacs 通过 TRAMP 对远程文件系统提供了很好的支持。所以真正的问题是你应该使用什么作为远程 FS。它们有很多,只要他们有办法安装它们或通过 ssh(对于 Tramp)登录,你应该没问题。

我使用 JungleDisk - 适用于 Windows、Linux 和 Mac。起价约为每月 2 美元,每年上限约为 90 美元。您可以备份到 S3 或 Rackspace。

在文件系统级别集成,因此您可以直接读/写它,也可以创建从它到本地文件系统的链接。我用它在多台机器之间共享我的 .emacs、.bash 等。

克里斯

Emacs has great support for remote file systems via Tramp. So the real question is what should you use as a remote FS. There are a bunch of them and as long as they have a way of mounting them or logging in via ssh (for Tramp) you should be ok.

I use JungleDisk - works great for Windows, Linux and Mac. Starts around $2 per month and there's a cap of around $90 per year. You can back up to S3 or to Rackspace.

It integrates at the file system level so you can either read/write directly to it or create links from it to your local file system. I use that to share my .emacs, .bash etc between multiple machines.

Chris

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文