Re: Bug? shellslash options exists in vim-gtk for ubuntu

2012-12-05 Fir de Conversatie lith
> you should use > > :echo exists('+shellslash') Ah, I see. Thanks a lot. Regards, Tom -- 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

Re: [patch] Add a 'modifier' keyword to the :syntax commands, allowing syntax matches to stack.

2012-12-05 Fir de Conversatie So8res
Oops, sorry, I was misunderstanding how synID* worked. I've updated the patch to add the "combine" {what} to synIDattr, which is the bare minimum we need here. synID should definitely return only one ID in this case, both because we don't want to duplicate synstack and because it's the only way

Re: \@<= multiline bug?

2012-12-05 Fir de Conversatie Ben Fritz
On Wednesday, December 5, 2012 9:37:26 PM UTC-6, Alex Efros wrote: > Hi! > > > > On Tue, Dec 04, 2012 at 08:29:39AM -0800, Ben Fritz wrote: > > > Maybe just match the \\\n sequences as a separate syntax item and use > > > nextgroup to enforce ordering. It should work (probably even a little >

Re: \@<= multiline bug?

2012-12-05 Fir de Conversatie Alex Efros
Hi! On Tue, Dec 04, 2012 at 08:29:39AM -0800, Ben Fritz wrote: > Maybe just match the \\\n sequences as a separate syntax item and use > nextgroup to enforce ordering. It should work (probably even a little > bit faster) and also simplify your pattern. As far as I understood, nextgroup is just a

Re: Bug? shellslash options exists in vim-gtk for ubuntu

2012-12-05 Fir de Conversatie Tony Mechelynck
On 05/12/12 22:13, lith wrote: I use vim-gtk 7.3.429-2ubuntu2.1 on ubuntu 12.04. The docs for shellslash state that it's only defined only for MSDOS, MS-Windows and OS/2. In vim-gtk, echo exists('&shellslash') prints 1. And the value of &shellslash is 0. I'd expect the option to be eithe

Bug? shellslash options exists in vim-gtk for ubuntu

2012-12-05 Fir de Conversatie lith
I use vim-gtk 7.3.429-2ubuntu2.1 on ubuntu 12.04. The docs for shellslash state that it's only defined only for MSDOS, MS-Windows and OS/2. In vim-gtk, echo exists('&shellslash') prints 1. And the value of &shellslash is 0. I'd expect the option to be either undefined (that's my understandi

Re: [patch] Add a 'modifier' keyword to the :syntax commands, allowing syntax matches to stack.

2012-12-05 Fir de Conversatie Ben Fritz
On Wednesday, December 5, 2012 12:03:31 PM UTC-6, So8res wrote: > I'm a bit stuck on how synID* should work in this context. > > The problem is that synID() returns the id of the *highlight group*, not the > syntax match. In the following example: > > syntax match Foo 'foo' combine > syn

Small change to support Visual Studio 2012 Update 1

2012-12-05 Fir de Conversatie Raymond Ko
Hello all, Attached is a small change to support the newest NMAKE introduced by Visual Studio 2012 Update 1. I have tested it and VIM seems to compile fine. -- 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 in

Re: [doc] align columns when :set conceallevel=2

2012-12-05 Fir de Conversatie Dominique Pellé
Ken Takata wrote: > Hi, > > 2012/06/03 Sun 22:38:35 UTC+9 Ken Takata: >> Hi Bram and Dominique, >> >> > So please hold this patch until the Tab behavior is changed. Then we at >> > least know what to change. >> >> OK, I will wait the change of the Tab behavior. >> If I found misalignments after

Patch 7.3.753

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.753 Problem:When there is a QuitPre autocommand using ":q" twice does not work for exiting when there are more files to edit. Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng) Files: src/ex_docmd.c, src/fileio.c, src/proto/fileio.pro *** ../

Re: YAML indentation file

2012-12-05 Fir de Conversatie ZyX
> Thanks. For me it's a bit easier if you send the whole file instead of a patch. https://bitbucket.org/ZyX_I/vim/raw/262f483812f8f7c5a0e6c9a43cd1967782b7b9ed/runtime/indent/yaml.vim Google groups interface for some reason does not like “.vim” extension. -- You received this message from the

Re: [patch] Add a 'modifier' keyword to the :syntax commands, allowing syntax matches to stack.

2012-12-05 Fir de Conversatie So8res
I'm a bit stuck on how synID* should work in this context. The problem is that synID() returns the id of the *highlight group*, not the syntax match. In the following example: syntax match Foo 'foo' combine syntax match Bar 'bar' highlight link Foo Comment highlight link Bar Comm

Patch 7.3.752

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.752 Problem:Test 49 script file doesn't fold properly. Solution: Add a colon. Files: src/testdir/test49.vim *** ../vim-7.3.751/src/testdir/test49.vim 2012-11-14 22:38:04.0 +0100 --- src/testdir/test49.vim 2012-11-23 22:08:37.0 +0100 **

When build with MzScheme shell commands give a warning

2012-12-05 Fir de Conversatie Bram Moolenaar
Sergey - I have build Vim with MzScheme on Ubuntu 12.10. Every time a shell command is executed I get this warning message: SIGCHLD handler called (some thread has SIGCHLD unblocked) Can this be avoided? - Bram -- hundred-and-one symptoms of being an internet addict: 104. When people ask

Re: YAML indentation file

2012-12-05 Fir de Conversatie Bram Moolenaar
ZyX wrote: > Added undo_indent and cpo saving/setting Thanks. For me it's a bit easier if you send the whole file instead of a patch. -- hundred-and-one symptoms of being an internet addict: 105. When someone asks you for your address, you tell them your URL. /// Bram Moolenaar -- b...@mool

Patch 7.3.751

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.751 Problem:Test 61 is flaky, it fails once in a while. Solution: When it fails retry once. Files: src/testdir/Makefile *** ../vim-7.3.750/src/testdir/Makefile 2012-12-05 16:10:21.0 +0100 --- src/testdir/Makefile2012-12-05 18:17:03.0 +0100 ***

Re: Unexpected setpos() behaviour

2012-12-05 Fir de Conversatie glts
On Wednesday, December 5, 2012 6:10:01 PM UTC+1, Bram Moolenaar wrote: > This is documented: > > This does not restore the preferred column for moving > vertically. See |winrestview()| for that. Oh right, sorry. Then setpos() can't be used to reliably set the cursor

Re: Vim charity project visit report

2012-12-05 Fir de Conversatie glts
Thank you for writing that up. Congratulations on the success with the project! -- 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

Re: [patch] Add [stay] argument to :function which, used with [range], preserves the cursor position

2012-12-05 Fir de Conversatie So8res
> > I don't like "stay", but can't think of something better right now. > > Perhaps "keepline"? > How do you feel about using 'range!' (with a bang) instead? It would keep the :function argument space more concise, and would only be usable with 'range', both of which are nice. However, there'

Re: Unexpected setpos() behaviour

2012-12-05 Fir de Conversatie Bram Moolenaar
glts wrote: > Requesting comments on unexpected setpos() behaviour; possibly a bug. > Consider this buffer: > > First line example text > Second line, tab character in front > > Steps to reproduce: > * Put the cursor on the "t" of the word "First" > * Place the cursor on virtual column 8

Re: [doc] align columns when :set conceallevel=2

2012-12-05 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2012/06/03 Sun 22:38:35 UTC+9 Ken Takata: > > Hi Bram and Dominique, > > > > > So please hold this patch until the Tab behavior is changed. Then we at > > > least know what to change. > > > > OK, I will wait the change of the Tab behavior. > > If I found misalignments afte

Re: Compiling vim with latest Racket fails

2012-12-05 Fir de Conversatie Sergey Khorev
> Thanks, it works but you need to have libracket3m_8bh220.dll on your > path. That's correct. Racket 5.x dlls cannot be loaded dynamically. You need version 4.x (or earlier) built with conservative garbage collector (CGC) -- You received this message from the "vim_dev" maillist. Do not top-post

Patch 7.3.750

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.750 Problem:The justify macro does not always work correctly. Solution: Fix off-by-one error (James McCoy) Files: runtime/macros/justify.vim *** ../vim-7.3.749/runtime/macros/justify.vim 2010-08-15 21:57:19.0 +0200 --- runtime/macros/justify.vim 2012-12-05 16:58:

Re: [doc] align columns when :set conceallevel=2

2012-12-05 Fir de Conversatie Ken Takata
Hi, 2012/06/03 Sun 22:38:35 UTC+9 Ken Takata: > Hi Bram and Dominique, > > > So please hold this patch until the Tab behavior is changed. Then we at > > least know what to change. > > OK, I will wait the change of the Tab behavior. > If I found misalignments after the change, I will send a new

Quickfix & Preview window resizing

2012-12-05 Fir de Conversatie mMontu
Normally when quickfix window opens it changes the screen layout, but Vim restores it when that window is closed. But there is a situation where the layout restoration fails: when the preview window is open, vertical splits are presents and :wincmd J is executed in quickfix (or it is opened with :

Unexpected setpos() behaviour

2012-12-05 Fir de Conversatie glts
Hi Requesting comments on unexpected setpos() behaviour; possibly a bug. Consider this buffer: First line example text Second line, tab character in front Steps to reproduce: * Put the cursor on the "t" of the word "First" * Place the cursor on virtual column 8 of line 2 with setpos():

Re: YAML indentation file

2012-12-05 Fir de Conversatie ZyX
# HG changeset patch # User ZyX # Date 1354721282 -14400 # Node ID fdde3db8b31e1b37a0e29441471d19be9adf35c2 # Parent baf3d5da0a1c9f2334a472f7690abfbc235fbf74 Added undo_indent and cpo saving/setting diff -r baf3d5da0a1c -r fdde3db8b31e runtime/indent/yaml.vim --- a/runtime/indent/yaml.vim Wed

Patch 7.3.749

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.749 Problem:Python interface doesn't build without the multi-byte feature. Solution: Add #ifdef. (Ken Takata) Files: src/if_py_both.h *** ../vim-7.3.748/src/if_py_both.h 2012-10-05 21:30:04.0 +0200 --- src/if_py_both.h2012-12-05 16:27:20.0 +0100 *

Patch 7.3.748

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.748 Problem:Cannot properly test conceal mode. Solution: Add the screencol() and screenrow() functions. Use them in test88. (Simon Ruderich) Files: runtime/doc/eval.txt, src/eval.c, src/proto/screen.pro, src/screen.c, src/testdir/Make_amiga.mak,

Re: Compiling vim with latest Racket fails

2012-12-05 Fir de Conversatie Cesar Romani
On 04/12/2012 10:24 p.m., Sergey Khorev wrote: >> if_mzsch.c:848:4: error: #error Precise GC v.4+ or Racket with >> futures/places do not support dynamic MzScheme > > Default Racket garbage collector (3m) doesn't support dynamic loading > of dlls. For your reference this is how I build Vim with th

Patch 7.3.747

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.747 Problem:When characters are concealed text aligned with tabs are no longer aligned, e.g. at ":help :index". Solution: Compensate space for tabs for concealed characters. (Dominique Pelle) Files: src/screen.c *** ../vim-7.3.746/src/screen.c 2012-10

Patch 7.3.746

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.746 Problem:Memory leaks when using location lists. Solution: Set qf_title to something. (Christian Brabandt) Files: src/eval.c, src/quickfix.c *** ../vim-7.3.745/src/eval.c 2012-10-21 23:55:59.0 +0200 --- src/eval.c 2012-12-05 14:47:56.0 +0100 ***

Patch 7.3.745

2012-12-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.745 Problem:Automatically setting 'ttymouse' doesn't work. Solution: Reset the "option was set" flag when using the default. Files: src/option.c, src/proto/option.pro, src/term.c *** ../vim-7.3.744/src/option.c 2012-10-21 03:45:57.0 +0200 --- src/option.c2012

Re: 'imap' and 'imap ' treat keymap in a different way

2012-12-05 Fir de Conversatie Bram Moolenaar
Maxim Gonchar wrote: > I use vim 7.3.712 from Arch repository. I use keymap=3Drussian-jcukenwin, > which have letters (x, =DF) instead of [] brackets. > The problem is when I map [ to some action with option > imap [ 111 > The mapping doesn't respect the chosen keymap. I.e. when I press a key

Re: YAML indentation file

2012-12-05 Fir de Conversatie Bram Moolenaar
ZyX wrote: > Added YAML indentation file Thanks. Saving and restoring 'cpo' is missing though. -- hundred-and-one symptoms of being an internet addict: 94. Now admit it... How many of you have made "modem noises" into the phone just to see if it was possible? :-) /// Bram Moolenaar --

Re: [patch] Add [stay] argument to :function which, used with [range], preserves the cursor position

2012-12-05 Fir de Conversatie Bram Moolenaar
Nate Soares wrote: > Just tried to apply these clean and realized that the doc patch had > caught some changes to tags. My mistake, a cleaned one is below. > > Bram, do you have any preference on the name of this argument? I don't like "stay", but can't think of something better right now. Perh