Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

请问在gnus中点链接能自动用firefox浏览?

0 views
Skip to first unread message

Meatball

unread,
Aug 31, 2005, 2:33:05 AM8/31/05
to

现在默认是用w3m浏览的,想改成用firefox。


--
Regards
Meatball

"Conversion, fastidious Goddess, loves blood better than brick, and feasts
most subtly on the human will."
-- Virginia Woolf, "Mrs. Dalloway"

Koocy Ton

unread,
Aug 31, 2005, 9:51:56 PM8/31/05
to
快告诉我的 w3m 是如何配置的,我的 w3m 无法打开网站,但可以浏览本地文件 !-_-!

--

_.------.__
/' ``~\_
/~' // `\
/ ( _ //\// _ ) )
( / /' ` /' ` //
( )`(/ o) ( o)\/
\ ( -' /) )
\ \ ( '~ )
\ ( /__.-.-._, /
) \`-) `\ ~~~,/ /'
`\_.-~ \ `~~~ /
/ `\._ /'
/ /`--~'
`-.__ /
`~~' My name is Koocy Ton , My God is Emacs !

Felix

unread,
Aug 31, 2005, 9:53:41 PM8/31/05
to
Meatball <babb...@21cn.com> writes:

> 现在默认是用w3m浏览的,想改成用firefox。
>
>

customize-group browse-url

--
Felix

Meatball

unread,
Sep 1, 2005, 12:25:48 AM9/1/05
to
Koocy Ton <kooc...@gmail.com> writes:

> 快告诉我的 w3m 是如何配置的,我的 w3m 无法打开网站,但可以浏览本地文件 !-_-!

没怎么配啊,直接就可以上。是不是你网络的配置问题?

我的emacs中w3m配置:

(add-to-list 'load-path "~/site-lisp/emacs-w3m-1.4.4")
(setq w3m-icon-directory "~/site-lisp/emacs-w3m-1.4.4/icons")

(require 'w3m-load)
;; (require 'mime-w3m)

(setq browse-url-browser-function 'w3m-browse-url)
(setq w3m-home-page "http://localhost/~mbli")
(setq w3m-default-display-inline-image t)
(setq w3m-default-toggle-inline-images t)

--
Regards
Meatball

Fishbowl, n.:
A glass-enclosed isolation cell where newly promoted managers are
kept for observation.

Meatball

unread,
Sep 1, 2005, 12:32:35 AM9/1/05
to
我这里怎么只有browse-url-browser-function,而且它的参数是一个function。
要怎么写这个function?


--
Regards
Meatball

The day-to-day travails of the IBM programmer are so amusing to most of
us who are fortunate enough never to have been one -- like watching
Charlie Chaplin trying to cook a shoe.

Meatball

unread,
Sep 1, 2005, 1:04:17 AM9/1/05
to
Felix <final...@antares.net> writes:

解决了,上网搜了一个解决方案

(defun browse-url-firefox-new-tab (url &optional new-window)
"Open URL in a new tab in Mozilla."
(interactive (browse-url-interactive-arg "URL: "))
(unless
(string= ""
(shell-command-to-string
(concat "mozilla-firefox -a firefox -remote 'openURL(" url ",new-tab)'")))
(message "Starting Mozilla Firefox...")
)
)
(setq browse-url-browser-function 'browse-url-firefox-new-tab)

--
Regards
Meatball

The horror... the horror!

Koocy Ton

unread,
Sep 2, 2005, 11:47:37 PM9/2/05
to
为什么我的总配置不了呢 !
晕倒 !

Meatball

unread,
Sep 4, 2005, 10:06:56 AM9/4/05
to
Koocy Ton <kooc...@gmail.com> writes:

> 为什么我的总配置不了呢 !
> 晕倒 !

我这里测试成功了啊


--
Regards
Meatball

Consent decree:
A document in which a hapless company consents never to commit
in the future whatever heinous violations of Federal law it
never admitted to in the first place.

Felix

unread,
Sep 6, 2005, 7:33:11 AM9/6/05
to
Meatball <babb...@21cn.com> writes:

> Koocy Ton <kooc...@gmail.com> writes:
>
>> 为什么我的总配置不了呢 !
>> 晕倒 !
>
> 我这里测试成功了啊
>

好像我都没有特意配过,稍微新一点的版本不管在windows还是linux上都可以自
动调用默认浏览器。

--
Felix

Meatball

unread,
Sep 7, 2005, 12:36:21 AM9/7/05
to
果然不用配,直接就用firefox浏览了。谢谢了。


--
Regards
Meatball

The first time, it's a KLUDGE!
The second, a trick.
Later, it's a well-established technique!
-- Mike Broido, Intermetrics
0 new messages