Skip to main content

Timeline for How to change make command

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
Jun 13, 2020 at 23:26 vote accept noibe
Jun 13, 2020 at 11:27 comment added noibe @Rich I edited the title
Jun 13, 2020 at 10:16 comment added Rich @noibe That’s certainly a reasonable thing to ask for. I’d recommend editing your question, because (to me at least) the current wording reads quite differently.
Jun 13, 2020 at 9:20 comment added noibe @LucHermitte No, but I think what @Rich is describing is how to only add the errors to the quickfix list, instead of all the output of makeprg. However, what I'd like is to hide the quickfix message after the make output completely, regardless if it's an error or not. If I first call :copen, then :make doesn't output the first line of the quickfix list, which is what I want.
Jun 12, 2020 at 23:38 comment added Luc Hermitte @noibe, have you tried to start from the one from (La)TeX compiler plugin(s?)?
Jun 12, 2020 at 22:21 comment added noibe @Rich I tried several combinations for errorformat but none of them do what I want, which is to hide the line with (1 of 16) and the following lines completely. Do you know how to do that?
Jun 9, 2020 at 13:38 comment added Rich @noibe The (1 of 16) line is showing you the first line of the makeprg output which has been added to your quickfix: because of the way you have configured your errorformat, all of the output lines are added to the quickfix. (even ones which aren't errors). Have a read of :help quickfix and :help errorformat to see how all this stuff works, and edit your 'errorformat' setting if you don't want all these lines in your quickfix.
Jun 9, 2020 at 12:34 comment added Luc Hermitte > Press ENTER or type command to continue This is just the beginning. And +1 to :make+:copen.
Jun 9, 2020 at 12:04 comment added D. Ben Knoble @noibe afterwards, to see what errorformat captured in it’s entirety
Jun 9, 2020 at 11:56 comment added noibe @D.BenKnoble You mean using :copen instead of :make?
Jun 9, 2020 at 11:55 comment added noibe @LucHermitte I just updated my question with the shell and make's outputs.
Jun 9, 2020 at 11:50 comment added D. Ben Knoble @noibe try :copen; vim’s quickfix unfortunately doesnt play too well with multiline error messages (not an issue, just an inconvenience), so that occasionally the helpful bits are one before or one after or such
Jun 9, 2020 at 11:02 comment added Luc Hermitte In the console, are you also executing pdflatex with the halt on first error option? Also, you should have from 1 of 16 up to 16 of 16 messages: there are 16 messages.
Jun 9, 2020 at 10:55 comment added noibe That last line is added by make, if I call pdflatex from a shell I don't see that, that's why I asked. It's there even if there are no errors in the compilation (in that case there's 1 of 16 instead of 12 of 16).
Jun 9, 2020 at 0:44 history edited Luc Hermitte CC BY-SA 4.0
added 14 characters in body
Jun 9, 2020 at 0:39 history answered Luc Hermitte CC BY-SA 4.0