[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] auto compile for auctex?
From: |
Lars Madsen |
Subject: |
Re: [AUCTeX] auto compile for auctex? |
Date: |
Fri, 17 Oct 2014 14:12:25 +0000 |
Plus, say you type
$a=f(x)$
then you do not what the compilation to start right after the first $ because
that causes an error.
It would be nice to have to way of tying together latexmk -pvc mode and emacs
error locating.
But that would mean that we would need a signal from latexmk to inform emacs
that it should run the error locating.
My best bet for you would be to tie the compilation to when you save the
document.
/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/address@hidden / More information:
http://au.dk/en/address@hidden
________________________________________
From: address@hidden address@hidden on behalf of Tassilo Horn address@hidden
Sent: 17 October 2014 15:59
To: address@hidden
Subject: Re: [AUCTeX] auto compile for auctex?
Thorsten Grothe <address@hidden> writes:
Hi Thorsten,
> But I would be nicer *not to press C-s*, like in ATP or in the Editor
> Gummi. I mean Auctex should recognize automatically if someting
> changed in the buffer and execute this function.
I don't think it would be a good idea to do that. You type a char thus
the buffer is modified and latexmk starts. You type another char and
AUCTeX wants to start latexmk again, and since the other process isn't
yet finished you get a query "Kill running latexmk process?"...
> Another approach would be if Auctex automatcally saves the document
> from time to time and executes this function or the other functions
> supposed by you.
>
> Is that possible?
Sure. Have a look at `run-with-timer' or `run-with-idle-timer'.
Bye,
Tassilo
_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex