[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Error finding

From: Thomas Dickey
Subject: Re: [vile] Error finding
Date: Thu, 7 Aug 2008 08:28:08 -0400 (EDT)

On Thu, 7 Aug 2008, Paul van Tilburg wrote:

Hello everyone,

I have a system that watches a LaTeX file and its depends, recompiles
it when any of the files change (e.g  save in vile) and refreshes
a preview.
This works great but, because I'm no longer calling LaTeX from within
vile, the "error finder" does not work anymore.  However, the
watch-and-compile system drops an error file when compiling (so when
editin foo.tex, it creates foo.err).
My macro skills are still limited, so I wanted to ask you for some
pointers on how I can pull in the error file and use the error finder as
I was used to?

It sounds essentially as if you need a macro that loads the file and sets
the error-buffer to it.  Here's a quick try at it - seems to work:

store-procedure layers
        ~local %cbufname
        setv %cbufname $cbufname
        ~quiet edit-file 'foo.err'
        error-buffer 'foo.err'
        buffer %cbufname

The tinkering with cbufname makes it save/restore the current buffer.

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]