* Message supression revisited.
@ 2006-08-22 16:20 John R. Culleton
2006-08-23 4:13 ` Aditya Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: John R. Culleton @ 2006-08-22 16:20 UTC (permalink / raw)
I compile a Context file using an F key in my Gvim session. I
I waste a lot of time watching messages scroll past in my Gvim
window. What I am looking for is a command line switch or a
combination of command line switches that will suppress ALL
messages except for:
1. error messages that cause the compile to halt.
2. The message(s) that tells me that compilation is completed.
If necessary I can live without this message.
With most programs one can divert all ordinary messages to
/dev/null but fatal error messages still return to the console or
the console-equivalent (the 2> messages in Linux-speak.).
Can this be done? Is there a way to modify texexec.rb to do this?
--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http://wexfordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Message supression revisited.
2006-08-22 16:20 Message supression revisited John R. Culleton
@ 2006-08-23 4:13 ` Aditya Mahajan
2006-08-23 14:12 ` John R. Culleton
0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2006-08-23 4:13 UTC (permalink / raw)
On Tue, 22 Aug 2006, John R. Culleton wrote:
> I compile a Context file using an F key in my Gvim session. I
> I waste a lot of time watching messages scroll past in my Gvim
> window. What I am looking for is a command line switch or a
> combination of command line switches that will suppress ALL
> messages except for:
> 1. error messages that cause the compile to halt.
> 2. The message(s) that tells me that compilation is completed.
> If necessary I can live without this message.
How about a different approach. Set the makeprg to texmfstart texexec.
Then set the appropriate errorformat. Then map your F key to :make |
copen. That way, vim will parse texexec's output and show only the
lines that have errors in the copen window.
Latex-suite does something similar for latex. If you know the format
of all the error messages that tex and context spew out, writing an
error format is not difficult. As a bonus, you can jump to the line
containing the error.
Aditya
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Message supression revisited.
2006-08-23 4:13 ` Aditya Mahajan
@ 2006-08-23 14:12 ` John R. Culleton
0 siblings, 0 replies; 3+ messages in thread
From: John R. Culleton @ 2006-08-23 14:12 UTC (permalink / raw)
On Wednesday 23 August 2006 00:13, Aditya Mahajan wrote:
> On Tue, 22 Aug 2006, John R. Culleton wrote:
> > I compile a Context file using an F key in my Gvim session. I
> > I waste a lot of time watching messages scroll past in my Gvim
> > window. What I am looking for is a command line switch or a
> > combination of command line switches that will suppress ALL
> > messages except for:
> > 1. error messages that cause the compile to halt.
> > 2. The message(s) that tells me that compilation is completed.
> > If necessary I can live without this message.
>
> How about a different approach. Set the makeprg to texmfstart texexec.
> Then set the appropriate errorformat. Then map your F key to :make |
> copen. That way, vim will parse texexec's output and show only the
> lines that have errors in the copen window.
>
Very interesting approach. But it would be better if the
nonfatal error messsages were not issued in the first place. I
will try what you suggest and see how the timing is.
--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http://wexfordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-23 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-22 16:20 Message supression revisited John R. Culleton
2006-08-23 4:13 ` Aditya Mahajan
2006-08-23 14:12 ` John R. Culleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).