public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* stock vim (7.4.729-1) is not eager to initially draw the file buffer
@ 2015-05-21 12:33 Armen Michaeli
  2015-06-03 19:46 ` Yaakov Selkowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Armen Michaeli @ 2015-05-21 12:33 UTC (permalink / raw)
  To: cygwin

Hi all,

I have discovered recently (i cannot tell exactly when I noticed) that
my Cygwin vim 7.4.729-1, as used with mintty 1.2-beta1-1, does not
immediately draw opened file buffer with syntax highlighting on.

I have minimized the error by completely emptying my ~/.vimrc and
making sure there nothing else but that script that is sourced by vim
on start.

The only contents of that file are:

syntax on

Removing this command makes vim redraw a "plain text" buffer of an
opened file, but works because it redraws immediately, just as one is
used to.

"syntax on" in ~/.vimrc however, makes vim just clear the screen with
the name of the file at the bottom and no redrawing even if I type
something, like ':' and a command - everything appears up to a minute
later. It is not a loop of anything, because I found out that by
resizing/maximizing/restoring the mintty window where vim is, brings
about a redraw once in a while eventually settling it on the screen. I
start to feel there is something wrong with the underlying termcap
logic, but the shell works fine for example, and oddly enough vim
exhibits the same bad behavior when used in an xterm instead of
mintty.

I am at loss of what to try. The same setup (~/.vimrc) works fine on
Linuxes, especially of course if it just contains "syntax on".

What can I try to debug this?

Thank you.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stock vim (7.4.729-1) is not eager to initially draw the file buffer
  2015-05-21 12:33 stock vim (7.4.729-1) is not eager to initially draw the file buffer Armen Michaeli
@ 2015-06-03 19:46 ` Yaakov Selkowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2015-06-03 19:46 UTC (permalink / raw)
  To: cygwin

On Thu, 2015-05-21 at 14:13 +0200, Armen Michaeli wrote:
> I have discovered recently (i cannot tell exactly when I noticed) that
> my Cygwin vim 7.4.729-1, as used with mintty 1.2-beta1-1, does not
> immediately draw opened file buffer with syntax highlighting on.
[snip]
> What can I try to debug this?

https://cygwin.com/problems.html

Please also include details about the file(s) with which you are not
seeing syntax highlighting.

--
Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-03 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 12:33 stock vim (7.4.729-1) is not eager to initially draw the file buffer Armen Michaeli
2015-06-03 19:46 ` Yaakov Selkowitz

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 read-only IMAP folder(s) and NNTP newsgroup(s).