[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-mode setting the browser with options
From: |
Tim Cross |
Subject: |
Re: org-mode setting the browser with options |
Date: |
Thu, 30 Apr 2020 08:30:16 +1000 |
User-agent: |
mu4e 1.4.1; emacs 27.0.91 |
Jude DaShiell <address@hidden> writes:
> Two different scripts one yproxy and the other nproxy.
> Put the necessary running code in each.
>
> On Wed, 29 Apr 2020, Neil Cherry wrote:
>
>> Date: Wed, 29 Apr 2020 13:36:50
>> From: Neil Cherry <address@hidden>
>> To: Org Mode <address@hidden>
>> Subject: org-mode setting the browser with options
>>
>> I need to use 2 different Windows browser (proxy and no-proxy is the reason).
>>
>> What I want to do is that if it's example.com use firefox (no options). If
>> it's
>> example.org use chrome --no-proxy-server. I'm not exacly sure how to
>> approach this.
>>
>> Thanks
>>
>>
I would look at browse-url built-in package. With browse-url you can set
a function that will determine which browser to use based on the url and
you can set the options for each supported browser.
--
Tim Cross