edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

setting guioptions-=TLr in .gvimrc does not work #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

in .gvimrc, do
set guioptions-=TLr

What is the expected output? What do you see instead?

Settings take effect ;) For example, the Toolbar does not show

  What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

Custom Version 7.2 (43), 10.5.6 Intel (installed via macports)

Please provide any additional information below.

doing the settings one-per-line, like
set guioptions-=r
set guioptions-=L
set guioptions-=T
does work.

Original issue reported on code.google.com by stefan.walk on 9 Mar 2009 at 2:09

GoogleCodeExporter commented 9 years ago
Also, if right scrollbar and toolbar are disabled and you do `:set 
guioptions+=rT` (while MacVim is already 
running), then vim suddenly believes only 74 columns are there, even though 
there are more.

Original comment by nicotha...@gmail.com on 9 Mar 2009 at 2:23

GoogleCodeExporter commented 9 years ago
stefan.walk: This is not a bug, you have to remove flags one at a time.  See ":h
remove-option-flags".

nicothakis: I don't understand what you are saying.  If I hide the right 
scrollbar
and toolbar, then type ":set go+=rT" then the right scrollbar and toolbar 
reappears
but the number of columns stays the same.  At any rate this seems unrelated to 
the
first issue.

Original comment by bjorn.winckler@gmail.com on 9 Mar 2009 at 4:54

GoogleCodeExporter commented 9 years ago
Ah, so what I've seen is that gvim on linux and Vim.app have a different order 
of
flags (was using the same .gvimrc over a variety of computers and it stopped 
working
after switching to MacVim from Vim.app) ... sorry about the noise then (but why 
is
the order different?)

Original comment by stefan.walk on 9 Mar 2009 at 5:49

GoogleCodeExporter commented 9 years ago
bjorn.winckler: Do
1. mvim -u NONE
2. :set guioptions-=r
3. :set guioptions-=T
4. 80ia<esc>
5. :set guioptions+=rT

Now the line of 80 'a's contains is displayed wrapped (see attachment).

I agree this is a different issue, but since the original issue seems to be 
resolved, hijacking this one seems ok.

stefan.walk: Huhu Stefan! :-)

Original comment by nicotha...@gmail.com on 10 Mar 2009 at 3:06

Attachments:

GoogleCodeExporter commented 9 years ago
Ok Nico, I see the problem now.  Seems like a genuine bug...I'll look into it.  
Thanks!

Original comment by bjorn.winckler@gmail.com on 10 Mar 2009 at 8:49

GoogleCodeExporter commented 9 years ago
The fix for the go+=rT bug is in the repo now.  It will be included in snapshot 
44.

Original comment by bjorn.winckler@gmail.com on 15 Mar 2009 at 5:49