Tuesday, September 9, 2025

Re: The screen is not updating after make

Hello

Silent should not have been the issue.

But I forgot about :redraw! :) Hopefully that will solve the problem...

Thanks for all the response.

Regards

On Tue, Sep 9, 2025 at 11:44 PM Igbanam Ogbuluijah <xigbanam@gmail.com> wrote:
Yeah, I was going to hint at :redraw! as well.

Whenever my screen goes blank :redraw! fixes it.


Igbanam


On Tue, Sep 9, 2025 at 7:08 PM Marc Chantreux <mc@unistra.fr> wrote:
On Tue, Sep 09, 2025 at 12:21:32PM +0300, Riza Dindir wrote:
> I have a mapping like this:
>
> command! -nargs=* Make silent make! <args> | if len(getqflist()) > 0 | copen |
> endif

> Whenever I do call this command, the screen does not update. The screen is
> blank (where once was the source code displayed). and the quickfix window is
> sometimes left blank too.

how about:

command -nargs=* Make {
        silent make! <args>
        if len(getqflist()) > 0
                copen
        endif
        redraw!
}

> Does anybody have the same problem?

not since I discovered redraw!

regards

--
Marc Chantreux

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aMB7FMtP50wtOpNI%40prometheus.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAOmRJrdgxVSTsEEVW7%2B4f9_nwm%3DsHn4AtYqibJ1DxAnvTsgrfw%40mail.gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CA%2Bek4BHu%3DB9R511Jf6%2BoyFig_%2B9tj9MjRsViqGMtv7gCUJah8Q%40mail.gmail.com.

Re: The screen is not updating after make

Yeah, I was going to hint at :redraw! as well.

Whenever my screen goes blank :redraw! fixes it.


Igbanam


On Tue, Sep 9, 2025 at 7:08 PM Marc Chantreux <mc@unistra.fr> wrote:
On Tue, Sep 09, 2025 at 12:21:32PM +0300, Riza Dindir wrote:
> I have a mapping like this:
>
> command! -nargs=* Make silent make! <args> | if len(getqflist()) > 0 | copen |
> endif

> Whenever I do call this command, the screen does not update. The screen is
> blank (where once was the source code displayed). and the quickfix window is
> sometimes left blank too.

how about:

command -nargs=* Make {
        silent make! <args>
        if len(getqflist()) > 0
                copen
        endif
        redraw!
}

> Does anybody have the same problem?

not since I discovered redraw!

regards

--
Marc Chantreux

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aMB7FMtP50wtOpNI%40prometheus.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAOmRJrdgxVSTsEEVW7%2B4f9_nwm%3DsHn4AtYqibJ1DxAnvTsgrfw%40mail.gmail.com.

Re: The screen is not updating after make

On Tue, Sep 09, 2025 at 12:21:32PM +0300, Riza Dindir wrote:
> I have a mapping like this:
>
> command! -nargs=* Make silent make! <args> | if len(getqflist()) > 0 | copen |
> endif

> Whenever I do call this command, the screen does not update. The screen is
> blank (where once was the source code displayed). and the quickfix window is
> sometimes left blank too.

how about:

command -nargs=* Make {
silent make! <args>
if len(getqflist()) > 0
copen
endif
redraw!
}

> Does anybody have the same problem?

not since I discovered redraw!

regards

--
Marc Chantreux

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aMB7FMtP50wtOpNI%40prometheus.

Re: The screen is not updating after make

On Di, 09 Sep 2025, Riza Dindir wrote:

> That silent in the command is the vim silent command/annotation (or whatever
> that is)

So maybe you shouldn't use silent then?

Thanks,
Christian
--
A sadist is a masochist who follows the Golden Rule.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aMB5kLsfnwNmAaOJ%40256bit.org.

Re: The screen is not updating after make

Hello

That silent in the command is the vim silent command/annotation (or whatever that is)

On Tue, Sep 9, 2025 at 3:02 PM jr <creature.eternal@gmail.com> wrote:
hi,

> I have a mapping like this:
> command! -nargs=* Make silent make! ...
> Whenever I do call this command, the screen does not update. The screen is blank (where once was the source code displayed). and the quickfix window is sometimes left blank too.
> This was the case when I was using :make with this.

I do not use a mapping, sorry not to answer your question, but, out of
interest, does '.SILENT;'  in the 'Makefile' not work for you ?
('make' also has a CLI option to "silence" it).

--
regards, jr.

You have the right to free speech, as long as you're not dumb enough
to actually try it.
(The Clash 'Know Your Rights')

this email is intended only for the addressee(s) and may contain
confidential information. if you are not the intended recipient, you
are hereby notified that any use of this email, its dissemination,
distribution, and/or copying without prior written consent is
prohibited.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAM-dBgr4qu-1jdanm4kbV82avJOT3aoCyWp3vs3P%2BKHrf0i3BA%40mail.gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CA%2Bek4BEWmLW0AwW61M0EpWBQ4krqJVAiEnZus-nqyy_d5jht0w%40mail.gmail.com.

Re: The screen is not updating after make

hi,

> I have a mapping like this:
> command! -nargs=* Make silent make! ...
> Whenever I do call this command, the screen does not update. The screen is blank (where once was the source code displayed). and the quickfix window is sometimes left blank too.
> This was the case when I was using :make with this.

I do not use a mapping, sorry not to answer your question, but, out of
interest, does '.SILENT;' in the 'Makefile' not work for you ?
('make' also has a CLI option to "silence" it).

--
regards, jr.

You have the right to free speech, as long as you're not dumb enough
to actually try it.
(The Clash 'Know Your Rights')

this email is intended only for the addressee(s) and may contain
confidential information. if you are not the intended recipient, you
are hereby notified that any use of this email, its dissemination,
distribution, and/or copying without prior written consent is
prohibited.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAM-dBgr4qu-1jdanm4kbV82avJOT3aoCyWp3vs3P%2BKHrf0i3BA%40mail.gmail.com.

The screen is not updating after make

Hello,

I have a mapping like this:

command! -nargs=* Make silent make! <args> | if len(getqflist()) > 0 | copen | endif

Whenever I do call this command, the screen does not update. The screen is blank (where once was the source code displayed). and the quickfix window is sometimes left blank too.

This was the case when I was using :make with this.

I am using vim version 9.0.

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Nov 24 2023 12:59:56)
Included patches: 1-2127

Does anybody have the same problem?

Regards

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CA%2Bek4BHXqem54RbAwUCDqr52miWTOxwXS9kb394t%3DAaRm-N-4Q%40mail.gmail.com.