[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.84; Loading style files
From: |
Pierre Lorenzon |
Subject: |
Re: [Bug-AUCTeX] 11.84; Loading style files |
Date: |
Tue, 17 Jul 2007 10:12:52 +0200 (CEST) |
Hello Again,
From: Ralf Angeli <address@hidden>
Subject: Re: [Bug-AUCTeX] 11.84; Loading style files
Date: Mon, 16 Jul 2007 20:13:02 +0200
> * Pierre Lorenzon (2007-07-16) writes:
>
> > I already send a bug report a few days ago. Now investigating
> > the code more carefully I wonder why ther are this two lines of
> > code at line 1831 in the tex.el file :
> >
> > (setq default-directory (expand-file-name
> > (file-name-directory
> > style))
>
> They were supposed to fix a bug. See
> <URL:http://thread.gmane.org/1121262217.11339.20.camel%40localhost.localdomain>.
I suspect that the bug might be fixed at line 1742 in tex.el
:
(master-dir (if (stringp TeX-master)
(file-name-directory
(file-relative-name TeX-master))
"./"))
The previous bug apperas because there is not test here if the
TeX-master variable is set to shared. There is a distinction
only between the case it is a string or a symbol. However if it
is a symbol it might be `t' and in thise case it is corect to
set the master-dir to "./" but if it is `shared', I think it is
not correct isn't it ?
Regards
Pierre