unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eshell and exec-path
@ 2007-01-05  6:58 Brian Elmegaard
  2007-01-05 13:28 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brian Elmegaard @ 2007-01-05  6:58 UTC (permalink / raw)


Hi,

the documentation of eshell is unfortunately "work in progress". I am
looking forward to know more about what it can do.

One problem I would like to solve now is how to make the PATH variable
used by eshell include what I have in exec-path. 

Can that be done?

tia, 
-- 
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk

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

* Re: eshell and exec-path
  2007-01-05  6:58 eshell and exec-path Brian Elmegaard
@ 2007-01-05 13:28 ` Peter Dyballa
  2007-01-09 15:03 ` Kevin Rodgers
       [not found] ` <mailman.2900.1168358122.2155.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2007-01-05 13:28 UTC (permalink / raw)



Am 05.01.2007 um 07:58 schrieb Brian Elmegaard (brian@rkspeed-rugby.dk):

> Brian (remove the sport for mail)

You're joking! Someone like me, who does not watch even one minute of  
sportive events on TV, who does not remember who became world  
champion (in any discipline) would easily believe that besides  
vanilla rugby for users like me there is also a rugby on speed for  
youngsters, or those who want to be ...

--
Greetings

   Pete

To be is to do.
                        -- I. Kant
To do is to be.
                        -- A. Sartre
Yabba-Dabba-Doo!
                        -- F. Flintstone

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

* Re: eshell and exec-path
  2007-01-05  6:58 eshell and exec-path Brian Elmegaard
  2007-01-05 13:28 ` Peter Dyballa
@ 2007-01-09 15:03 ` Kevin Rodgers
       [not found] ` <mailman.2900.1168358122.2155.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2007-01-09 15:03 UTC (permalink / raw)


Brian Elmegaard wrote:
> the documentation of eshell is unfortunately "work in progress". I am
> looking forward to know more about what it can do.
> 
> One problem I would like to solve now is how to make the PATH variable
> used by eshell include what I have in exec-path. 
> 
> Can that be done?

Try

(setenv "PATH" (mapconcat (lambda (dir) (or dir ".")) exec-path ":"))


-- 
Kevin Rodgers
Denver, Colorado, USA

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

* Re: eshell and exec-path
       [not found] ` <mailman.2900.1168358122.2155.help-gnu-emacs@gnu.org>
@ 2007-01-09 19:41   ` Brian Elmegaard
  2007-01-09 22:05     ` Eli Zaretskii
       [not found]     ` <mailman.2913.1168380335.2155.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Brian Elmegaard @ 2007-01-09 19:41 UTC (permalink / raw)


Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> (setenv "PATH" (mapconcat (lambda (dir) (or dir ".")) exec-path ":"))

Thanks, it was the solution except that windows needs ; as directory
separator.
 
-- 
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk

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

* Re: eshell and exec-path
  2007-01-09 19:41   ` Brian Elmegaard
@ 2007-01-09 22:05     ` Eli Zaretskii
       [not found]     ` <mailman.2913.1168380335.2155.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2007-01-09 22:05 UTC (permalink / raw)


> From: Brian Elmegaard <brian@rkspeed-rugby.dk>
> Date: Tue, 09 Jan 2007 20:41:54 +0100
> 
> Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
> 
> > (setenv "PATH" (mapconcat (lambda (dir) (or dir ".")) exec-path ":"))
> 
> Thanks, it was the solution except that windows needs ; as directory
> separator.

Which is why such code should use path-separator, which is portable.

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

* Re: eshell and exec-path
       [not found]     ` <mailman.2913.1168380335.2155.help-gnu-emacs@gnu.org>
@ 2007-01-10 14:20       ` Brian Elmegaard
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Elmegaard @ 2007-01-10 14:20 UTC (permalink / raw)


Eli Zaretskii <eliz@gnu.org> writes:

> Which is why such code should use path-separator, which is portable.

Even better, thanks.
-- 
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk

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

end of thread, other threads:[~2007-01-10 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-05  6:58 eshell and exec-path Brian Elmegaard
2007-01-05 13:28 ` Peter Dyballa
2007-01-09 15:03 ` Kevin Rodgers
     [not found] ` <mailman.2900.1168358122.2155.help-gnu-emacs@gnu.org>
2007-01-09 19:41   ` Brian Elmegaard
2007-01-09 22:05     ` Eli Zaretskii
     [not found]     ` <mailman.2913.1168380335.2155.help-gnu-emacs@gnu.org>
2007-01-10 14:20       ` Brian Elmegaard

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).