如何使用Emacs通过HTTP打开远程文件? [英] How can I open a remote file over HTTP with Emacs?
本文介绍了如何使用Emacs通过HTTP打开远程文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ssh
和 ftp
。 因此,我的第一个问题是如何打开从Emacs中读取的HTTP URL。然后,可能更高级的问题是如何从shell和 emacsclient
中执行此操作。
你将如何它是吗?
解决方案
Mx browse-url-emacs
RET http ...
RET
您可能需要使用 Mx 正常模式
RET 以设置缓冲区的相应模式。 p>
Most of the open source software around expose its code over some HTTP service. I would like to open and browse such code from Emacs, but AFAICS tramp only allows for ssh
and ftp
.
My first question is thus how to open an HTTP URL for reading from within Emacs. Then, the possibly more advanced question is how to do that from the shell and emacsclient
.
How would you do it?
解决方案
M-x browse-url-emacs
RET http...
RET
You might need to use M-x normal-mode
RET afterwards to set the appropriate mode for the buffer.
这篇关于如何使用Emacs通过HTTP打开远程文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文