emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Following HTML link from org-mode in existing w3m
@ 2008-07-18 15:19 Csányi Pál
  2008-07-18 15:38 ` Manish
  0 siblings, 1 reply; 4+ messages in thread
From: Csányi Pál @ 2008-07-18 15:19 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20) of
2008-06-23 

In org-mode if I click with mouse on html: link, the link opens in
Firefox new tab.

I try to customize Org mode but there I can't find any relevant option
for this.

I wish that that the html: link in org-mode can be opened in an
existing w3m window. Is this possible?

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Following HTML link from org-mode in existing w3m
  2008-07-18 15:19 Following HTML link from org-mode in existing w3m Csányi Pál
@ 2008-07-18 15:38 ` Manish
  2008-07-18 15:52   ` Bastien Guerry
  0 siblings, 1 reply; 4+ messages in thread
From: Manish @ 2008-07-18 15:38 UTC (permalink / raw)
  To: Csányi Pál; +Cc: emacs-orgmode

  On Fri, Jul 18, 2008 at 8:49 PM, Csányi Pál wrote:
  > Hello!
  >
  > GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20) of
  > 2008-06-23
  >
  > In org-mode if I click with mouse on html: link, the link opens in
  > Firefox new tab.
  >
  > I try to customize Org mode but there I can't find any relevant option
  > for this.
  >
  > I wish that that the html: link in org-mode can be opened in an
  > existing w3m window. Is this possible?

Should be, it's Emacs after all.  Try customizing group browse-url.

-- Manish

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Following HTML link from org-mode in existing w3m
  2008-07-18 15:38 ` Manish
@ 2008-07-18 15:52   ` Bastien Guerry
  2008-07-18 16:57     ` Richard G Riley
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien Guerry @ 2008-07-18 15:52 UTC (permalink / raw)
  To: emacs-orgmode

Manish <mailtomanish.sharma@gmail.com> writes:

>   > I wish that that the html: link in org-mode can be opened in an
>   > existing w3m window. Is this possible?
>
> Should be, it's Emacs after all.  Try customizing group browse-url.

I use this:

(setq browse-url-browser-function 'w3m-browse-url)

-- 
Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Following HTML link from org-mode in existing w3m
  2008-07-18 15:52   ` Bastien Guerry
@ 2008-07-18 16:57     ` Richard G Riley
  0 siblings, 0 replies; 4+ messages in thread
From: Richard G Riley @ 2008-07-18 16:57 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

Bastien Guerry <bzg@altern.org> writes:

> Manish <mailtomanish.sharma@gmail.com> writes:
>
>>   > I wish that that the html: link in org-mode can be opened in an
>>   > existing w3m window. Is this possible?
>>
>> Should be, it's Emacs after all.  Try customizing group browse-url.
>
> I use this:
>
> (setq browse-url-browser-function 'w3m-browse-url)

You might also be interested in this

(global-set-key
 (quote [f4])
 (lambda()
   (interactive)
   (cond 
    ((setq url (w3m-url-valid (w3m-anchor)))
     (browse-url-firefox url)) 
    (t (command-execute 'browse-url-firefox)))))

(setq browse-url-browser-function 'w3m-browse-url)


Here I can open a "link" in an html email/post in external firefox using
F4 but standard return is w3m. There are many pages where w3m doesn't
cut the mustard. The "cond" statement above extracts the url from a
formatted link in an html article/mail in a w3m/gnus-html buffer.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-18 16:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-18 15:19 Following HTML link from org-mode in existing w3m Csányi Pál
2008-07-18 15:38 ` Manish
2008-07-18 15:52   ` Bastien Guerry
2008-07-18 16:57     ` Richard G Riley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).