From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "halo" Newsgroups: gmane.emacs.help Subject: Re: problem with auctex Date: 16 Oct 2006 01:51:26 -0700 Organization: http://groups.google.com Message-ID: <1160988686.558709.240860@f16g2000cwb.googlegroups.com> References: <1160815903.006626.26780@m7g2000cwm.googlegroups.com> <149ba$45315131$49f11b5$29224@DIALUPUSA.NET> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1160992188 6295 80.91.229.2 (16 Oct 2006 09:49:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2006 09:49:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 16 11:49:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GZP6R-0002PV-V2 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Oct 2006 11:49:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZP6R-0003h3-At for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Oct 2006 05:49:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f16g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 194.138.202.50 Original-X-Trace: posting.google.com 1160988690 6997 127.0.0.1 (16 Oct 2006 08:51:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 16 Oct 2006 08:51:30 +0000 (UTC) In-Reply-To: <149ba$45315131$49f11b5$29224@DIALUPUSA.NET> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 PEKW010A Complaints-To: groups-abuse@google.com Injection-Info: f16g2000cwb.googlegroups.com; posting-host=194.138.202.50; posting-account=wMKdxQ0AAAAQ9-BWEc2p0jNijRRm6jVu Original-Xref: shelby.stanford.edu comp.emacs:93121 gnu.emacs.help:142447 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38068 Archived-At: > > > > I just installed auctex in Windows. And because I uses a portable > > MikTex (installed in a USB disk), the PATH doesn't include the > > directory that contains the LaTeX executable commands. Is there a way > > in Emacs or auctex that can tell auctex where to find the latex > > commands? For example, can I setup the PATH variables directly in > > Emacs? > > > > Thanks you! > > > > caixj > > > > You could try: > M-! path=%path%;[absolute path on flash disk] > > but this is a sub-shell and might not persist through the emacs session. > > If you can be sure that the usb drive will always be assigned the same > drive letter then you could add the absolute path to the exec-path list. > See "Customize." > The problem is solved. The usb drive letter could be gotten through 'data-directory'. And 'setenv' and 'getenv' could be used in the .emacs to setup PATH. best regards, caixj