On Wed, Jul 27, 2016 at 9:09 PM, Bram Moolenaar <b...@moolenaar.net> wrote: > > Gary Johnson wrote: > >> [...] >> >> Not all of those would be my preference, but they seem reasonable, >> and as long as all of that is in a file and the compile-time >> defaults aren't changed, I'm fine with it. >> >> I was surprised by this: >> >> > " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries >> > " let &guioptions = substitute(&guioptions, "t", "", "g") >> >> Why substitute() instead of just -=? >> >> set guioptions-=t > > Yeah, and why is it commented out? Actually, why don't we make this the > default? I don't think anybody on MS-Windows wants tear-off menus, > unless you know them from Unix perhaps. >
Well, when I came to Vim I was still on Windows most of the time, and there I discovered that Vim had that novelty of tear-off menus. So I used them occasionally. Still now I have the t flag as part of my 'guioptions' (it is part of the default but I set it from scratch, if has('gui_running') set guioptions=cgimrLtTp " ... endif ) so I wouldn't be annoyed by a change in defaults: I would still have them. I suppose other people might bitterly miss them though. Bram, let me point out that with go+=t you _can_ tear off the menus, you don't _have_ to. If you don't, there is a thin dashed line at the top of them (which IMHO is no great trouble) in GUIs which support them, that's all. So I would venture that go+=t would be less of a bother to people not using tear-off menus, or to most of them, than go-=t to people using them constantly (and setting their 'guioptions' by += and -=, relying on the default to set tearoffs). BTW, the help says tearoff menus are supported on "Win32, GTK and Motif". Not on Mac? (I know MacVim is a bit of a fork though, so maybe this question is off-topic for this group.) Best regards, Tony. -- -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.