Taglist (or tagbar) is the top-1 rated plugin in vim.org, many windows gvim users are using it in their every day work. But the system() window (Taglist using system() to invoke ctags.exe) will pop up on the windows taskbar each time when a new file is open or a file is closed, which is very annoying:
Opening multiple files with CtrlP.vim, my laptop seems to be hacked by some virus:

(Taglist will generate tags for each new file if g:Taglist_Show_Menu has been set, Tagbar may do same thing with some necessary option).
opening multiple files or open a file or close a file are frequently used in gvim, and many plugins may use system() a lot to invoke external executables. Experience of vim or gtk/gnome gvim and macvim are far more better than gvim on windows for a long time.
As system() is a very commonly used function in many plugins.
I wonder is there a irresistible reason to show that cmd window on windows taskbar ?
Why invoking system() can be slient in other vim/gvim versions ?
Is it possible to hide the cmd window on windows taskbar ?
Can we choose some alternative apis like WinExec(..., SW_HIDE) to solve this problem ?
Or at least can we add an option to system() on windows to use SW_HIDE ?
Could system() on windows become as smooth as other versions some day ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, .![]()
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.![]()
Will the official gvim adopt this important patch ?
Patching each new release myself is really awful.
—
You are receiving this because you commented.
or just leave an option to enable system() in windows running in this new implementation ?
—
You are receiving this because you commented.
Will the official gvim adopt this important patch ?
Patching each new release myself is really awful.
Taglist (or tagbar) is the top-1 rated plugin in vim.org, many windows gvim users are using it in their every day work. But the
system()window (Taglist using system() to invoke ctags.exe) will pop up on the windows taskbar each time when a new file is open or a file is closed, which is very annoying:
As
system()is a very commonly used function in many plugins.
I wonder is there a irresistible reason to show that cmd window on windows taskbar ?
Why invokingsystem()can be slient in other vim/gvim versions ?
Is it possible to hide the cmd window on windows taskbar ?
Can we choose some alternative apis likeWinExec(..., SW_HIDE)to solve this problem ?
Or at least can we add an option tosystem()on windows to use SW_HIDE ?Could
system()on windows become as smooth as other versions some day ?
I'm just curious why not use SW_HIDE and correspond with other gvim versions.
—
You are receiving this because you commented.
> I'm not sure if that can be made to work. CTRL-Break sometimes behaves
> strange.
>
> On Unix you would use "kill" to stop the process. On MS-Windows you can
> use the task manager for this, right?
>
> In general I don't mind the flickering, it's feedback that something is
> happening. (I liked to hear my harddisk rattling, to know how busy it
> is, SSDs broke that. I liked to hear my modem produce noise, so that I
> knew what was going over the line. Now I have fiber...).
>
Yes, ctrl_break is not important, we can stop process by `kill` or `task manager`.
I like the modem noise in the old days too, but these feedbacks are sound feedback, not graphics feedbacks.
We can see windows users asking for help to hide the cmd window, they need to focus on editing, and solutions are everywhere including patch of os_win32.c, python/perl script to emulate unix `system()` experience for vim. But none of these are perfect (depend on python or need modify official source code).
Can we get the ability to choose what ever we like ?
Could windows gvim users have an option to enable SW_HIDE in `system()` ?
An alternative way without the need to modify vim is to create an application that hook the CreateProcess function and modify the window flags. It can be written e.g. in Python using the deviare library.