From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.help Subject: Re: How to set proxy configuration dynamically in emacs? Date: Fri, 11 Dec 2015 08:44:10 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1449819902 20336 80.91.229.3 (11 Dec 2015 07:45:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2015 07:45:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 11 08:44:48 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a7INi-0001KH-SK for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 08:44:47 +0100 Original-Received: from localhost ([::1]:46292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7INi-0005n1-90 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 02:44:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7INW-0005mh-Vk for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 02:44:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7INT-0001rC-R7 for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 02:44:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7INT-0001r2-K9 for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 02:44:31 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a7INM-0000Zj-9s for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 08:44:24 +0100 Original-Received: from charm-ecran.irisa.fr ([131.254.101.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Dec 2015 08:44:24 +0100 Original-Received: from alan.schmitt by charm-ecran.irisa.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Dec 2015 08:44:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: charm-ecran.irisa.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:EP/gKxAApV0DTQnpB0Oz8K/vkxs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108361 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-12-07 17:50, Roman writes: > I use some init.el config between few computers > My problem is in proxy configuration on my working computer. > How to set proxy configuration dynamically in emacs? May be some "if/else= " condition? > Thank you for answer! This should help you get started: http://ergoemacs.org/emacs/elisp_determine_OS_version.html Best, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated December 6, 2015, Mauna Loa Obs.): 400.80= ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWan7KAAoJEAQNCjtO0uXHakcH/jqck3mFNHMAj1psHbDRi7ni I2luo0zuYjbN+/9Wd8yIcH3MCQ1hViLnaph7OU4keyqfxLGENtUVbZ95aP6m5Zf6 kPyLtSkxFej3g4Kk0vc98rtZWU6rMBdw8o5DYpbSE2h/dW/oyumdYglrIdU3FfLq dbQGz7zV+IyCiwj5P9RT/mn+DjqwStNX2w7rBiKFe5AbksatV9upmdxSJR6ct3g6 er5jymayYVwq8Z+k+d61rI4Lwe5PjB/2pS0nU8HhGcOzAKc7PHTfiQNTBLcgE8Nr /Fa0Qh+ugbccv5P30D9hABQy89TeeFiAgIxBAcUI+PQDHqilY7C9q8X+BhBdMlo= =Viyi -----END PGP SIGNATURE----- --=-=-=--