简体   繁体   English

OS X上的emacs 23:如何从emacs打开Web链接?

[英]emacs 23 on OS X: how to open web links from emacs?

I'm trying the 23.2 release Cocoa Emacs build (OS X 10.6). 我正在尝试使用23.2版本的Cocoa Emacs版本(OS X 10.6)。 There's a number of things that are more annoying about Cocoa Emacs than the terrific Carbon Emacs (based on an Emacs 22 build, I believe), so I hoped folks might have some solutions/thoughts (unfortunately posting on neither the carbon-emacs list nor emacs-dev has produced a useful reply, so I thought I'd try Stack Overflow for the first time): 比起出色的Carbon Emacs(我相信基于Emacs 22版本),有很多事情比可可Emacs更令人讨厌,所以我希望人们可以有一些解决方案/想法(不幸的是,既没有张贴在Carbon-Emacs列表中,也没有张贴在emacs-dev产生了一个有用的答复,所以我想我会第一次尝试Stack Overflow):

  • I used to be able to option-click (in my mailer) on web links, but that doesn't work any more. 我过去可以选择单击邮件链接(在我的邮件中),但这不再起作用。 This might be mailer-specific, but I don't think so; 这可能是特定于邮件的,但我不这么认为。 I think it used to map to middle-button, but it doesn't any more. 我认为它曾经映射到中间按钮,但现在不再。 What is the current keyboard equivalent for middle-button (and will this work for launching web links?)? 中键的当前等效键盘是什么(启动Web链接会起作用吗?)? I should note browse-url called manually works just fine, so this is a question of "how can I map option-click or some other mouse equivalent to browse-url"? 我应该注意手动调用的browser-URL可以正常工作,因此这是一个问题:“如何映射选项单击或等效于Browse-url的其他鼠标”?

goto-address也许就是您想要的。

  (add-hook 'find-file-hook 'goto-address-mode)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM