[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch to change mouse binding for html view in gnus
From: |
Reiner Steib |
Subject: |
Re: Patch to change mouse binding for html view in gnus |
Date: |
Sun, 01 Jul 2007 23:48:19 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
[ Cc-ing the Gnus list; full quote. ]
On Sun, Jul 01 2007, Tom Tromey wrote:
> I have w3m installed, and so when Gnus sees an HTML message it is
> displayed via w3m. This is quite nice.
>
> However, if I click on a link in an HTML message rendered this way,
> the target is displayed using w3m. I generally don't want this; I
> only use w3m in Emacs for specialized things and in other cases I'd
> rather use my external web browser.
I'm not sure if doing this unconditionally is a good idea. Shouldn't
it be customizable?
> This patch changes Gnus to use browse-url rather than w3m for links in
> buffers it renders.
>
> Tom
>
> 2007-07-01 Tom Tromey <address@hidden>
>
> * mm-view.el (mm-inline-text-html-render-with-w3m): Locally set
> w3m-goto-article-function.
>
> cvs diff: Diffing .
> Index: mm-view.el
> ===================================================================
> RCS file: /sources/emacs/emacs/lisp/gnus/mm-view.el,v
> retrieving revision 1.29
> diff -u -r1.29 mm-view.el
> --- mm-view.el 19 Apr 2007 12:08:53 -0000 1.29
> +++ mm-view.el 1 Jul 2007 20:58:45 -0000
> @@ -252,6 +252,7 @@
> (let ((w3m-safe-url-regexp mm-w3m-safe-url-regexp)
> w3m-force-redisplay)
> (w3m-region (point-min) (point-max) nil charset))
> + (set (make-local-variable 'w3m-goto-article-function) #'browse-url)
> (when (and mm-inline-text-html-with-w3m-keymap
> (boundp 'w3m-minor-mode-map)
> w3m-minor-mode-map)
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- Patch to change mouse binding for html view in gnus, Tom Tromey, 2007/07/01
- Re: Patch to change mouse binding for html view in gnus,
Reiner Steib <=
- Re: Patch to change mouse binding for html view in gnus, Tom Tromey, 2007/07/01
- Re: Patch to change mouse binding for html view in gnus, Katsumi Yamaoka, 2007/07/01
- Re: Patch to change mouse binding for html view in gnus, Tom Tromey, 2007/07/02
- Re: Patch to change mouse binding for html view in gnus, Katsumi Yamaoka, 2007/07/03
- Re: Patch to change mouse binding for html view in gnus, Tom Tromey, 2007/07/03
- Re: Patch to change mouse binding for html view in gnus, Katsumi Yamaoka, 2007/07/03
- Re: Patch to change mouse binding for html view in gnus, Katsumi Yamaoka, 2007/07/04
- Re: Patch to change mouse binding for html view in gnus, Tom Tromey, 2007/07/12
- Re: Patch to change mouse binding for html view in gnus, Stefan Monnier, 2007/07/12
- Re: Patch to change mouse binding for html view in gnus, Katsumi Yamaoka, 2007/07/12