MacVim redrawing broken?

7 views
Skip to first unread message

Nico Weber

unread,
Feb 21, 2008, 4:38:41 PM2/21/08
to vim mac
Hi,

here's a strange MacVim bug I see:

1. Open MacVim
2. Type "10oa<exc>" to create one empty line followed by the lines
containing a single "a"
3. Hit gggUG to convert all lines to uppercase

MacVim claims that "11 lines changed", but only the first line is
redrawn with an uppercase "A". Hitting <Ctrl-l> doesn't change this,
and even hitting ga over one of the lowercase "a"s claims that it's
still a lowercase letter, so this is probably not a redrawing problem.

I'll check if the latest svn version of regular vim has this problem
too (works with the vim that ships with Leopard).

Nico

Nico Weber

unread,
Feb 21, 2008, 4:47:27 PM2/21/08
to vim...@googlegroups.com

This works fine with the latest terminal and carbon versions of vim
(7.1.258).

Bem Jones-Bey

unread,
Feb 21, 2008, 5:27:19 PM2/21/08
to vim...@googlegroups.com

I just tried it here on my vim on Debian testing, and I see the same
issue (in both GUI and terminal). So it looks to me like it's a vim core
bug, and not a MacVim specific thing.

Here's my :version, in case that's useful:

VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 24 2008 22:04:12)
Included patches: 1-241
Compiled by jame...@debian.org
Huge version with GTK2 GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+folding -footer +fork() +gettext -hangul_input +iconv +insert_expand
+jumplist
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu
+mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
-mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg -osfiletype +path_extra +perl +postscript +printer +profile
+python +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white +tcl +terminfo +termresponse +textobjects +title +toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace
+wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
+xsmp_interact
+xterm_clipboard -xterm_save

tachijuan

unread,
Feb 21, 2008, 5:55:07 PM2/21/08
to vim_mac
So - I don't think that this is a redraw issue, but more of an core
issue. I tried this with macvim update 22 and got the result you show.
However, I saved that file and reloaded it. The file has only a single
A and the rest lowercase. I also tried this with an older vim install
on my mac (7.0.234) and it did not have this issue (both carbon gvim
and terminal vim).

Post a bug to the mainline VIM site is my suggestion.

On Feb 21, 5:27 pm, Bem Jones-Bey <b...@jones-bey.org> wrote:
> Nico Weber wrote:
> >> here's a strange MacVim bug I see:
>
> >> 1. Open MacVim
> >> 2. Type "10oa<exc>" to create one empty line followed by the lines
> >> containing a single "a"
> >> 3. Hit gggUG to convert all lines to uppercase
>
> >> MacVim claims that "11 lines changed", but only the first line is
> >> redrawn with an uppercase "A". Hitting <Ctrl-l> doesn't change this,
> >> and even hitting ga over one of the lowercase "a"s claims that it's
> >> still a lowercase letter, so this is probably not a redrawing problem.
>
> >> I'll check if the latest svn version of regular vim has this problem
> >> too (works with the vim that ships with Leopard).
>
> > This works fine with the latest terminal and carbon versions of vim  
> > (7.1.258).
>
> I just tried it here on my vim on Debian testing, and I see the same
> issue (in both GUI and terminal). So it looks to me like it's a vim core
> bug, and not a MacVim specific thing.
>
> Here's my :version, in case that's useful:
>
> VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 24 2008 22:04:12)
> Included patches: 1-241
> Compiled by james...@debian.org

Ben Schmidt

unread,
Feb 21, 2008, 7:17:34 PM2/21/08
to vim...@googlegroups.com
> Post a bug to the mainline VIM site is my suggestion.

This was a bug introduced by a recent patch, and fixed by a more recent patch to
the Vim core.

Ben.

Send instant messages to your online friends http://au.messenger.yahoo.com

björn

unread,
Feb 22, 2008, 3:40:03 AM2/22/08
to vim...@googlegroups.com
On 22/02/2008, Ben Schmidt <mail_ben...@yahoo.com.au> wrote:
>
> > Post a bug to the mainline VIM site is my suggestion.
>
> This was a bug introduced by a recent patch, and fixed by a more recent patch to
> the Vim core.

Ben, thanks for letting me know. The next snapshot will include all
the most recent Vim patches so this issue should go away then.

/Björn

Reply all
Reply to author
Forward
0 new messages