From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WLs3IxYAql59NwAA0tVLHw (envelope-from ) for ; Wed, 29 Apr 2020 22:30:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gN9lAx8Aql6QKAAA1q6Kng (envelope-from ) for ; Wed, 29 Apr 2020 22:30:55 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6005294240A for ; Wed, 29 Apr 2020 22:30:52 +0000 (UTC) Received: from localhost ([::1]:33648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTvEC-0007B6-5w for larch@yhetil.org; Wed, 29 Apr 2020 18:30:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38096) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTvDl-0007Ax-6o for emacs-orgmode@gnu.org; Wed, 29 Apr 2020 18:30:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTvDk-0003XM-EO for emacs-orgmode@gnu.org; Wed, 29 Apr 2020 18:30:24 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:43179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTvDk-0003Pb-16 for emacs-orgmode@gnu.org; Wed, 29 Apr 2020 18:30:24 -0400 Received: by mail-pf1-x434.google.com with SMTP id v63so1793408pfb.10 for ; Wed, 29 Apr 2020 15:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=II2UiqxJMTRIqklaL8wHlVTNaqjaBig8EjCqsvN+C+Q=; b=Q86/2jIUvoE/6zhau9jxpnsuBJZlaGVJ/v5Afi37ujqMwoyDbVFfXaWBCP/92bT9ug lAlNjxykeawmPdZYm6+JQHHdwnxTyQyma78yJ0QhMYMxq0i06OPuECCqTGbiqQbMnshQ mcBZPOnRaPiI7KI9WG4yM7zYXqC5JKk3fBzUzrBWogs3Ov8BPJkyL2odHYmGCukF0985 Jqrz/2CfQ9yQ99gWRw0R4soVcZp5aDzql9XZAtrWO5zjhSdXDRWeiPyvm3/s00HmZQmb 2sl4FhqfFGhK72/XKYXt0NX65rM46H8bC7UG4hxF9kIR2BDq6pFrrsZW+wLXSeq3hqou Am1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=II2UiqxJMTRIqklaL8wHlVTNaqjaBig8EjCqsvN+C+Q=; b=Nl7YZZedGbG40Hn7/Isc1Gvi9kD832U2sy+GmQuuzwA7nouXzd1xjl+Q3AOODGQI0P WP1azWcSUczbO01LbB+9JGeY7Ux64FUuPLaGh2yAYVv8UVJRZymd6AV8SNEubUSQleH3 Actlpo2K3lufVXGBlsurMFvOSr/dEP/7+cGnlCvjOsKtsQpjIBZx7xz/A6VsuB5j3szt N2aV8h9beE5p4WCVoa28ldP4dHeCRfQh8CnXC1BT0clSng+fWIU/cOsscCjDZyHKluWG jEF/E3n0HAWUtvduy3u1G9ctdioBmtj0eOMzuLnbcvA0hT8Pd5IPQXAOHVHs59cjwuMj IcOw== X-Gm-Message-State: AGi0PuaZwtJ7aOKXbrdvKxMyYcnTQqDby35u1YTpj0ju57JJ0KbMijTw MWWLmOe1YYLNc4OF6qN0nm4wdGrE X-Google-Smtp-Source: APiQypKfppe7Xhtsv8+j9vV1z2aCpGedMYWWRPPGNiwx68NVf/KqXeDcxZbiUeUC9c8PfgEg7iRRbA== X-Received: by 2002:a62:2bcb:: with SMTP id r194mr386612pfr.26.1588199420549; Wed, 29 Apr 2020 15:30:20 -0700 (PDT) Received: from tim-desktop (124-171-47-211.dyn.iinet.net.au. [124.171.47.211]) by smtp.gmail.com with ESMTPSA id c80sm1822564pfb.82.2020.04.29.15.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 15:30:19 -0700 (PDT) References: User-agent: mu4e 1.4.1; emacs 27.0.91 From: Tim Cross To: Jude DaShiell Subject: Re: org-mode setting the browser with options In-reply-to: Message-ID: <87k11yrklj.fsf@gmail.com> Date: Thu, 30 Apr 2020 08:30:16 +1000 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x434.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::434 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Neil Cherry Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Q86/2jIU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49356324242004]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[theophilusx@gmail.com,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; URIBL_BLOCKED(0.00)[linuxha.com:email,panix.com:email,gnu.org:email]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RECEIVED_SPAMHAUS_PBL(0.00)[124.171.47.211:received]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: 8A7sViwPBnId Jude DaShiell 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 >> To: Org Mode >> 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