help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] A small bug in NTEmacs


From: Michael R . Wolf
Subject: Re: [h-e-w] A small bug in NTEmacs
Date: Fri, 26 Mar 2004 11:11:15 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt)

"Filipe Martins" <address@hidden> writes:

> (or at least I think it is)
>
> NTEmacs doesn't recognize paths in the PATH environment variable. For
> example, if the PATH variable has the following value:
>
> PATH=E:\Program Files\Utilitários;E:\Program
> Files\Aplicações\Emacs\bin;e:\winnt\system32

I've gotten around that by "copying" my .profile into my .emacs file
like this...... It sets PATH rather than assuming it's around for use.
It's not elegant, but it works. I don't change my PATH often.


;;; ================ exec-path ================
(setq exec-path
      (list
       (concat (getenv "cyghome") "/bin")

       "C:/cygwin/bin"
       "C:/cygwin/usr/local/bin"
       "C:/emacs-21.3/bin"
       "C:/Perl/bin"
       "C:/WINNT/system32"
       "C:/WINNT"
       "C:/WINNT/System32/Wbem"
       ))

(setenv "PATH"
        (concat
         ;;       (getenv "PATH")
         ;;       path-separator
         (mapconcat 'identity  exec-path  path-separator)))

-- 
Michael R. Wolf
    All mammals learn by playing!
        address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]