🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.xemacs
Article #159

Re: how to use external command?

#159
From: 藤森 康文
Date: Thu, 07 Mar 2002 01:02
22 lines
2446 bytes
At 07 Mar 2002 03:43:26 +0900,
TAkeshi AMiya wrote:

> M-x compile や M-x shell、M-x cvs-update などを使おうとすると、
> Searching for program: No such file or directory, cvs
> などというメッセージがミニバッファに表示されます。Cygwin の bash から
> では cvs などのコマンドは問題無く使えるのですが、XEmacs からコマンドを
> 使うにはどのような設定をすればよいのでしょうか?

Windows XP + MinGW + MSYS + Cygwin + Emacs-21.1.1 で環境変数も設定しな
いと動かなくて、ユーザ環境変数を汚したくなかったので、こんな設定をしてます。

;; 使いたい外部プログラムへのパスの設定
;; SSL通信時には必須かな。openssl.exeはCygwin版以外はうまく動かなかった
(setq exec-path (cons "d:/cygwin/bin" exec-path))
(setenv "PATH" (concat "D:\\cygwin\\bin;" (getenv "PATH")))
(setq exec-path (cons "d:/cygwin/usr/local/bin" exec-path))
(setenv "PATH" (concat "D:\\cygwin\\usr\\local\\bin;" (getenv "PATH")))

単純にシステム全体のPATHにCygwinを含めてあげれば必要ない設定だとは思い
ます。WinMEってAUTOEXEC.BAT書換えられるんでしたっけ?使ってないのでわ
からない。
Technical Details
Message-ID: <usn7di40v.wl@kiss.taihaku.sendai.jp>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!onodera-news!onion.ish.org!nf1.xephion.ne.jp!news1.wakwak.com!not-for-mail
References: <adtlbkq9.fsf@wf6.so-net.ne.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 1107f7,d9e68b86b76c734b
X-Google-Attributes: gid1107f7,public
X-Google-ArrivalTime: 2002-03-06 17:01:57 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!onodera-news!onion.ish.org!nf1.xephion.ne.jp!news1.wakwak.com!not-for-mail
From: 藤森 康文
 <fuji@kiss.taihaku.sendai.jp>
Newsgroups: fj.editor.xemacs
Subject: Re: how to use external command?
Date: Thu, 07 Mar 2002 10:02:24 +0900
Organization: Fujimori, Kobun
Lines: 23
Distribution: fj
Message-ID: <usn7di40v.wl@kiss.taihaku.sendai.jp>
References: <adtlbkq9.fsf@wf6.so-net.ne.jp>
NNTP-Posting-Host: z61-115-124-36.dialup.wakwak.ne.jp
Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-2022-JP
X-Trace: news1.wakwak.com 1015462916 7374 61.115.124.36 (7 Mar 2002 01:01:56 GMT)
X-Complaints-To: abuse@wakwak.com
NNTP-Posting-Date: 7 Mar 2002 01:01:56 GMT
In-Reply-To: <adtlbkq9.fsf@wf6.so-net.ne.jp>
User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (Unebigoryōmae) APEL/10.3 Emacs/21.1
 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI)