Re: [BUG] Bus error with invalid arguments to expand

2013-08-27 Fir de Conversatie Marius Gedminas
On Tue, Aug 27, 2013 at 01:22:21PM -0700, Manpreet Singh wrote: > Hmm, I couldn't reproduce it with just expand this time though now > but mkdir still crashes in f_mkdir. Stack below: > > % gdb /Applications/MacVim.app/Contents/MacOS/Vim > (gdb) set args -u NONE -U NONE +'call mkdir(expand("abc",

Re: New regexp engine problem with combining characters

2013-08-27 Fir de Conversatie glts
On Tue, Aug 27, 2013 at 11:01 PM, Dominique Pellé wrote: > glts wrote: > >> Hi, >> >> The new regexp engine seems unable to deal with combining characters. >> This is on Vim 7.4.9. Steps to reproduce: >> >> :put =\"ca\u0300t\" >> :echo getline('.') =~ '\%#=0a' >> :echo getl

Re: New regexp engine problem with combining characters

2013-08-27 Fir de Conversatie Dominique Pellé
glts wrote: > Hi, > > The new regexp engine seems unable to deal with combining characters. > This is on Vim 7.4.9. Steps to reproduce: > > :put =\"ca\u0300t\" > :echo getline('.') =~ '\%#=0a' > :echo getline('.') =~ '\%#=1a' > > Only the old regexp engine finds the match.

New regexp engine problem with combining characters

2013-08-27 Fir de Conversatie glts
Hi, The new regexp engine seems unable to deal with combining characters. This is on Vim 7.4.9. Steps to reproduce: :put =\"ca\u0300t\" :echo getline('.') =~ '\%#=0a' :echo getline('.') =~ '\%#=1a' Only the old regexp engine finds the match. Best, (Message has been boun

Different error messages for each regexp engine

2013-08-27 Fir de Conversatie glts
Hi, when searching /\? the old regexp engine says E64: \? follows nothing and the new engine says E866: (NFA regexp) Misplaced ? E64: \? follows nothing It may be me, but I'm uncomfortable with error messages being dependent on the 'regexpengine' setting. Also

Re: [BUG] Bus error with invalid arguments to expand

2013-08-27 Fir de Conversatie Manpreet Singh
On 8/27/13 1:04 PM, Dominique Pellé wrote: Manpreet Singh wrote: (Please excuse any duplicate posts. Posting via news.gmane.org seems to have bounced) Platform: Mac OS X 10.8.4 64-bit (latest release at time of posting) Version: MacVim 7.4.9 (vim original (hg) or vim/gvim based on macvim so

Re: [BUG] Bus error with invalid arguments to expand

2013-08-27 Fir de Conversatie Dominique Pellé
Manpreet Singh wrote: > (Please excuse any duplicate posts. Posting via news.gmane.org seems to have > bounced) > > Platform: Mac OS X 10.8.4 64-bit (latest release at time of posting) > > Version: MacVim 7.4.9 (vim original (hg) or vim/gvim based on macvim sources) > > Reproduction: > > :call

Re: Typo in comment in spell.c

2013-08-27 Fir de Conversatie Dominique Pellé
glts <676c7...@gmail.com> wrote: > I believe this is a typo in spell.c: > > diff -r 2ee5e568766c src/spell.c > --- a/src/spell.cThu Aug 22 14:14:27 2013 +0200 > +++ b/src/spell.cSat Aug 24 17:08:07 2013 +0200 > @@ -10135,7 +10135,7 @@ > } > > /* > - * "z?": Find badly spelled word under

Typo in comment in spell.c

2013-08-27 Fir de Conversatie glts
I believe this is a typo in spell.c: diff -r 2ee5e568766c src/spell.c --- a/src/spell.cThu Aug 22 14:14:27 2013 +0200 +++ b/src/spell.cSat Aug 24 17:08:07 2013 +0200 @@ -10135,7 +10135,7 @@ } /* - * "z?": Find badly spelled word under or after the cursor. + * "z=": Find badly spelled wo

Re: Alternate file with netrw buffer in Vim 7.4 - bug or change?

2013-08-27 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: > tooth pik wrote: > > On Mon, Aug 26, 2013 at 05:11:19PM -0400, Charles Campbell wrote: > >> Bram Moolenaar wrote: > >>> Bruno Sutic wrote: > >>> > >>> > >> The change supporting this was done on July 12, 2013; its for v150, > >> which has not been released as yet. That

Re: [PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie Bram Moolenaar
Benoit Pierre wrote: > Line number display is not taken into account so the pattern match > indicator is misaligned. > > Before: > > :%s/\cvim/VIM/gc# >1 README.txt for version 7.4 of Vim: Vi IMproved. > ^^^ > With the patch: > > :%s/\cvim/VIM/gc# >1 READM

[BUG] Bus error with invalid arguments to expand

2013-08-27 Fir de Conversatie Manpreet Singh
(Please excuse any duplicate posts. Posting via news.gmane.org seems to have bounced) Platform: Mac OS X 10.8.4 64-bit (latest release at time of posting) Version: MacVim 7.4.9 (vim original (hg) or vim/gvim based on macvim sources) Reproduction: :call expand('a', 'p', 0700) causes immediat

Re: Alternate file with netrw buffer in Vim 7.4 - bug or change?

2013-08-27 Fir de Conversatie Charles Campbell
tooth pik wrote: On Mon, Aug 26, 2013 at 05:11:19PM -0400, Charles Campbell wrote: Bram Moolenaar wrote: Bruno Sutic wrote: The change supporting this was done on July 12, 2013; its for v150, which has not been released as yet. That was the "bugfix" that I was referring to; I think I misint

Re: [PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie Benoit Pierre
On Tue, Aug 27, 2013 at 3:21 PM, Benoit Pierre wrote: > On Tue, Aug 27, 2013 at 2:57 PM, glts <676c7...@gmail.com> wrote: >> On Tue, Aug 27, 2013 at 8:28 AM, Benoit Pierre >> wrote: >>> Line number display is not taken into account so the pattern match >>> indicator is misaligned. >>> >>> [...]

Re: [PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie Benoit Pierre
On Tue, Aug 27, 2013 at 2:57 PM, glts <676c7...@gmail.com> wrote: > On Tue, Aug 27, 2013 at 8:28 AM, Benoit Pierre > wrote: >> Line number display is not taken into account so the pattern match >> indicator is misaligned. >> >> [...] > > Wow, what an obscure feature. There's more to this bug: I c

Re: [PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie glts
On Tue, Aug 27, 2013 at 8:28 AM, Benoit Pierre wrote: > Line number display is not taken into account so the pattern match > indicator is misaligned. > > Before: > > :%s/\cvim/VIM/gc# >1 README.txt for version 7.4 of Vim: Vi IMproved. > ^^^ > With the patch: > > :

[PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie Benoit Pierre
Hi, Line number display is not taken into account so the pattern match indicator is misaligned. Before: :%s/\cvim/VIM/gc# 1 README.txt for version 7.4 of Vim: Vi IMproved. ^^^ With the patch: :%s/\cvim/VIM/gc# 1 README.txt for version 7.4 of Vim: Vi IMproved.

[PATCH] Fix substitution confirmation prompt in ex mode

2013-08-27 Fir de Conversatie Benoit Pierre
Hi, Line number display is not taken into account so the pattern match indicator is misaligned. Before: :%s/\cvim/VIM/gc# 1 README.txt for version 7.4 of Vim: Vi IMproved. ^^^ With the patch: :%s/\cvim/VIM/gc# 1 README.txt for version 7.4 of Vim: Vi IMproved.