* default browser - SOLVED @ 2010-02-25 18:18 Henri-Paul Indiogine 2010-02-25 18:58 ` Carsten Dominik 0 siblings, 1 reply; 7+ messages in thread From: Henri-Paul Indiogine @ 2010-02-25 18:18 UTC (permalink / raw) To: emacs-orgmode Dear fellow org-moders, this is what was suggested to me: (setq browse-url-browser-function (quote browse-url-generic)) (setq browse-url-generic-program "chromium-browser") works perfectly on Ubuntu Karmic + Emacs 23.1.1. Again, thanks for org-mode. -- Henri-Paul Indiogine Email: hindiogine@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: default browser - SOLVED 2010-02-25 18:18 default browser - SOLVED Henri-Paul Indiogine @ 2010-02-25 18:58 ` Carsten Dominik 2010-02-26 10:48 ` Daniel Martins 0 siblings, 1 reply; 7+ messages in thread From: Carsten Dominik @ 2010-02-25 18:58 UTC (permalink / raw) To: Henri-Paul Indiogine; +Cc: emacs-orgmode Hi Henri-Paul, thanks for summarizing here in the mailing list, this creates a searchable record of a good answer! Best wishes - Carsten On Feb 25, 2010, at 7:18 PM, Henri-Paul Indiogine wrote: > Dear fellow org-moders, > > this is what was suggested to me: > > (setq browse-url-browser-function (quote browse-url-generic)) > (setq browse-url-generic-program "chromium-browser") > > works perfectly on Ubuntu Karmic + Emacs 23.1.1. > > Again, thanks for org-mode. > > > > -- > Henri-Paul Indiogine > Email: hindiogine@gmail.com > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: default browser - SOLVED 2010-02-25 18:58 ` Carsten Dominik @ 2010-02-26 10:48 ` Daniel Martins [not found] ` <3332.1267198545@gamaville.dokosmarshall.org> 2010-02-26 22:03 ` Matt Lundin 0 siblings, 2 replies; 7+ messages in thread From: Daniel Martins @ 2010-02-26 10:48 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 1387 bytes --] Thank you Henry-Paul, You solved for me a quite annoying issue related to org that I could not solve! For those who use firefox these two lines become: (setq browse-url-browser-function (quote browse-url-generic)) (setq browse-url-generic-program "firefox") Simply copy and paste it!! 2010/2/25 Carsten Dominik <carsten.dominik@gmail.com> > Hi Henri-Paul, > > thanks for summarizing here in the mailing list, this creates > a searchable record of a good answer! > > Best wishes > > - Carsten > > > On Feb 25, 2010, at 7:18 PM, Henri-Paul Indiogine wrote: > > Dear fellow org-moders, >> >> this is what was suggested to me: >> >> (setq browse-url-browser-function (quote browse-url-generic)) >> (setq browse-url-generic-program "chromium-browser") >> >> works perfectly on Ubuntu Karmic + Emacs 23.1.1. >> >> Again, thanks for org-mode. >> >> >> >> -- >> Henri-Paul Indiogine >> Email: hindiogine@gmail.com >> >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > - Carsten > > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > [-- Attachment #1.2: Type: text/html, Size: 2457 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <3332.1267198545@gamaville.dokosmarshall.org>]
* Re: default browser - SOLVED [not found] ` <3332.1267198545@gamaville.dokosmarshall.org> @ 2010-02-26 17:06 ` Daniel Martins 0 siblings, 0 replies; 7+ messages in thread From: Daniel Martins @ 2010-02-26 17:06 UTC (permalink / raw) To: nicholas.dokos; +Cc: emacs-orgmode, Carsten Dominik [-- Attachment #1.1: Type: text/plain, Size: 2456 bytes --] Thanks Nick, > Most (?) browsers have a remote URL capability: you can send a URL to an > already running instance and it will just open it, without going through > the overhead of creating another instance. For me it seems strange this behaviour. When I have firefox already open, it creates another tab for the URL and does not open a new firefox instance. Daniel 2010/2/26 Nick Dokos <nicholas.dokos@hp.com> > [I had sent a similar answer to Henri-Paul, but for some reason, my reply > never hit the list - I've had problem posting to the list in the past > couple of days. I have an outstanding query to the list administrators, > but I haven't heard anything back. If you do receive this personally, > you might want to check the list and if it does not make it within the > next day or so, you might want to just post it there for posterity.] > > Daniel Martins <danielemc@gmail.com> wrote: > > > > You solved for me a quite annoying issue related to org that I could not > solve! > > > > For those who use firefox these two lines become: > > > > (setq browse-url-browser-function (quote browse-url-generic)) > > (setq browse-url-generic-program "firefox") > > > > Simply copy and paste it!! > > > > Daniel, > > The problem with this solution is that it creates a new instance > of the browser every time you click a link: > > > ,---- > | browse-url-generic is an interactive compiled Lisp function in > | `browse-url.el'. > | > | (browse-url-generic URL &optional NEW-WINDOW) > | > | Ask the WWW browser defined by `browse-url-generic-program' to load URL. > | Default to the URL around or before point. A fresh copy of the > | browser is started up in a new process with possible additional arguments > | `browse-url-generic-args'. This is appropriate for browsers which > | don't offer a form of remote control. > `---- > > Most (?) browsers have a remote URL capability: you can send a URL to an > already running instance and it will just open it, without going through > the overhead of creating another instance. > > For firefox, I do the following: > > ,---- > | (defun browse-url-firefox (url &optional new-window) > | (shell-command (concat "firefox-xremote-client" " " "\"" url "\""))) > | > | (setq browse-url-browser-function 'browse-url-firefox) > `---- > > with the following firefox-xremote-client script somewhere in my path: > > ,---- > | #! /bin/bash > | > | firefox --remote "openURL($1)" > `---- > > HTH, > Nick > > > [-- Attachment #1.2: Type: text/html, Size: 3199 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: default browser - SOLVED 2010-02-26 10:48 ` Daniel Martins [not found] ` <3332.1267198545@gamaville.dokosmarshall.org> @ 2010-02-26 22:03 ` Matt Lundin 2010-02-27 21:09 ` Henri-Paul Indiogine 1 sibling, 1 reply; 7+ messages in thread From: Matt Lundin @ 2010-02-26 22:03 UTC (permalink / raw) To: Daniel Martins; +Cc: emacs-orgmode Daniel Martins <danielemc@gmail.com> writes: > > You solved for me a quite annoying issue related to org that I could > not solve! > > For those who use firefox these two lines become: > > (setq browse-url-browser-function (quote browse-url-generic)) > (setq browse-url-generic-program "firefox") > > Simply copy and paste it!! Rather than browse-url-generic, I use the built-in browse-url-firefox: --8<---------------cut here---------------start------------->8--- (setq browse-url-browser-function 'browse-url-firefox) (setq browse-url-firefox-new-window-is-tab t) --8<---------------cut here---------------end--------------->8--- The second setting ensures that links are opened in new tabs if firefox is running. Best, Matt ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: default browser - SOLVED 2010-02-26 22:03 ` Matt Lundin @ 2010-02-27 21:09 ` Henri-Paul Indiogine 2010-02-28 8:25 ` Richard Riley 0 siblings, 1 reply; 7+ messages in thread From: Henri-Paul Indiogine @ 2010-02-27 21:09 UTC (permalink / raw) To: emacs-orgmode Matt Lundin <mdl@imapmail.org> writes: >> (setq browse-url-browser-function (quote browse-url-generic)) >> (setq browse-url-generic-program "firefox") > > (setq browse-url-browser-function 'browse-url-firefox) > (setq browse-url-firefox-new-window-is-tab t) > > The second setting ensures that links are opened in new tabs if firefox > is running. How about clicking on a URL in org-mode or other text file and having w3m pop-up? Thanks, -- Henri-Paul Indiogine Email: hindiogine@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: default browser - SOLVED 2010-02-27 21:09 ` Henri-Paul Indiogine @ 2010-02-28 8:25 ` Richard Riley 0 siblings, 0 replies; 7+ messages in thread From: Richard Riley @ 2010-02-28 8:25 UTC (permalink / raw) To: emacs-orgmode Henri-Paul Indiogine <hindiogine@gmail.com> writes: > Matt Lundin <mdl@imapmail.org> writes: >>> (setq browse-url-browser-function (quote browse-url-generic)) >>> (setq browse-url-generic-program "firefox") >> >> (setq browse-url-browser-function 'browse-url-firefox) >> (setq browse-url-firefox-new-window-is-tab t) >> >> The second setting ensures that links are opened in new tabs if firefox >> is running. > > How about clicking on a URL in org-mode or other text file and having > w3m pop-up? > > Thanks, Customize browse-url-browser-function. http://www.emacswiki.org/emacs/BrowseUrl ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-02-28 8:26 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-02-25 18:18 default browser - SOLVED Henri-Paul Indiogine 2010-02-25 18:58 ` Carsten Dominik 2010-02-26 10:48 ` Daniel Martins [not found] ` <3332.1267198545@gamaville.dokosmarshall.org> 2010-02-26 17:06 ` Daniel Martins 2010-02-26 22:03 ` Matt Lundin 2010-02-27 21:09 ` Henri-Paul Indiogine 2010-02-28 8:25 ` Richard 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).