all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* setting openssl path
@ 2010-08-02  7:24 rahed
  2010-08-02  8:06 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: rahed @ 2010-08-02  7:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'd like to explicitly set a path to openssl program. What variable
should I set? Normally it takes its path from PATH.

Thank you.

-- 
Radek




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

* Re: setting openssl path
  2010-08-02  7:24 setting openssl path rahed
@ 2010-08-02  8:06 ` Peter Dyballa
  2010-08-02  9:11   ` rahed
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2010-08-02  8:06 UTC (permalink / raw)
  To: rahed; +Cc: help-gnu-emacs


Am 02.08.2010 um 09:24 schrieb rahed:

> Normally it takes its path from PATH.

You can give GNU Emacs' process environment a particular by invoking  
it as:

	env PATH=... emacs ... &

RC files for shells can override this. Another method can be used in  
your init file:

	(setenv "PATH" (concat "/some/directory" path-separator (getenv  
"PATH")))

It writes into, and reads from, the process' environment.

--
Greetings

   Pete

Well begun is half done.
			– Optimist.
Half done is well begun.
			– Realist.
Half begun is well done.
			– Australian.




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

* Re: setting openssl path
  2010-08-02  8:06 ` Peter Dyballa
@ 2010-08-02  9:11   ` rahed
  0 siblings, 0 replies; 3+ messages in thread
From: rahed @ 2010-08-02  9:11 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 02.08.2010 um 09:24 schrieb rahed:
>
>> Normally it takes its path from PATH.
>
> your init file:
>
> 	(setenv "PATH" (concat "/some/directory" path-separator
> (getenv "PATH")))
>
> It writes into, and reads from, the process' environment.

Thanks, I hoped to set a path to openssl directly.

This is on windows and the only openssl which works with gnus is within
the git program (as far as I know). But git also has a perl and I want
to have my strawberry perl as the preferred one for all applications. So
it resides in the beginning of PATH.

I copied git openssl to strawberry perl bin folder to solve it.

-- 
Radek




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

end of thread, other threads:[~2010-08-02  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  7:24 setting openssl path rahed
2010-08-02  8:06 ` Peter Dyballa
2010-08-02  9:11   ` rahed

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.