Now I'm just wondering.

What is AucTeX looking up at C-c C-c? And why is that lookup needed.

(I hardly ever use C-c C-c, since I'm running latexmk in pvc mode)

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: 
http://au.dk/en/daleif@imf


________________________________________
From: [email protected] 
[[email protected]] on behalf of Tassilo Horn 
[[email protected]]
Sent: 14 October 2014 20:50
To: Jannis
Cc: [email protected]
Subject: Re: [AUCTeX] running C-c C-c very slow

Jannis <[email protected]> writes:

Hi Jannis,

> Sorry for beeing insistent,

Sorry, I've had no time to come back to you until now.

> but is there any way to solve this? All files in tex path do not seem
> to be on a nfs mount.

But as you've said below in your last message:

>> See above. Could this also be related to the location of the *.tex
>> file? I mount some remote samba share via VPN to my file system and
>> all the files Latex uses are located there. Maybe the change in speed
>> that i noticed is not due to me updating my system but due to me
>> changing my physical location. Before I worked at a place where these
>> files were located in the local network and were not acessed over the
>> internet.

Well, that means that AUCTeX does more than thousand file-exists-p
checks on files that are accessed via network.  Not astonishing that
this is slow.  (NFS was just an example.  Samba is quite similar.)

> Is this also crucial for the *.tex etc files of the document beeing
> worked on?

No.

Ok, so how to solve the problem?

  1. You could check if there's some optimization/caching option for
     samba that speeds up file existance checks.

  2. Install a TeX distro locally.

Bye,
Tassilo

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to