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/daleif@imf / More information: http://au.dk/en/daleif@imf ________________________________________ From: [email protected] [[email protected]] on behalf of Tassilo Horn [[email protected]] Sent: 17 October 2014 15:59 To: [email protected] Subject: Re: [AUCTeX] auto compile for auctex? Thorsten Grothe <[email protected]> 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 [email protected] https://lists.gnu.org/mailman/listinfo/auctex _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
