Re: Using auto-format with LaTeX

2013-02-13 Fir de Conversatie Marcin Szamotulski
Thanks (once again) for the patch! Here are a few ideas: It would be nice to end paragraph line before the match for some patterns. For example if you have lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum \section{New Aproach}

Re: Vim hangs with insertion after long line

2013-02-13 Fir de Conversatie Ben Fritz
On Wednesday, February 13, 2013 4:57:15 PM UTC-6, Christian Brabandt wrote: > > > Ok. But my idea is to have it included and only use it, if users > > explicitly set the 'experimental' option. So by default users would > > still use the old, working RE, but users that like to test and > > c

Re: heighlighting ranges in buffer

2013-02-13 Fir de Conversatie ZyX
If I correctly understood OP, current symbol != all words that are the same as the one under cursor (i.e. local variable in one function is different symbol from the local variable in another function, even if it has the same name). Thus what is needed, given positions in a list of three-tuples

Re: [patch] Fix handling of \L/\U

2013-02-13 Fir de Conversatie James McCoy
On Wed, Feb 13, 2013 at 09:53:59PM -0500, James McCoy wrote: > The other day in #vim, someone was wondering why :s/SOMEWORD/\L\u&/ > was resulting in sOMEWORD instead of title-case (Someword). Oops, messed up my example. :s/sOmeWord/\L\u&/ is better as the expected outcome is "Someword" but only

[patch] Fix handling of \L/\U

2013-02-13 Fir de Conversatie James McCoy
Bram, The other day in #vim, someone was wondering why :s/SOMEWORD/\L\u&/ was resulting in sOMEWORD instead of title-case (Someword). That seemed like a reasonable expectation and is how PCRE would treat that substitution, so I came up with the attached patch to make Vim work like that. Also inc

Re: heighlighting ranges in buffer

2013-02-13 Fir de Conversatie James McCoy
On Wed, Feb 13, 2013 at 10:50:28AM -0800, Nathan Hüsken wrote: > Hey, > > I am currently trying to improve the clang_complete plugin to have a global > notion of symbols. > One thing I would like to do is highlighting all occurences of the symbol > under the cursor. If you're ok with the highli

heighlighting ranges in buffer

2013-02-13 Fir de Conversatie Nathan Hüsken
Hey, I am currently trying to improve the clang_complete plugin to have a global notion of symbols. One thing I would like to do is highlighting all occurences of the symbol under the cursor. I have the position and extend of all occurences. All I need to do is highlighting these ranges. How

Re: Vim hangs with insertion after long line

2013-02-13 Fir de Conversatie Christian Brabandt
Hi Bram! On Mi, 13 Feb 2013, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Mi, 13 Feb 2013, Bram Moolenaar wrote: > > > > > Still have a long pending job of making the fast RE code work properly > > > and test it... > > > > Can't we just have an 'experimental' setting, that ena

Re: Vim hangs with insertion after long line

2013-02-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Mi, 13 Feb 2013, Bram Moolenaar wrote: > > > Still have a long pending job of making the fast RE code work properly > > and test it... > > Can't we just have an 'experimental' setting, that enables experimental > features, e.g. the new fast RE? This would get thi

Re: Using auto-format with LaTeX

2013-02-13 Fir de Conversatie Christian Brabandt
Hi Marcin! On So, 10 Feb 2013, Marcin Szamotulski wrote: > On 12:19 Sat 09 Feb , Zyad wrote: > > Hi, > > > > I'm finding the auto-format option very attractive (setl fo+=a), but I'm > > having trouble getting it to work nicely when editing LaTeX documents. > > > > More specifically, I'd li

Re: Parenthesis match highlighting isn't updated when only the match is moved with =

2013-02-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On So, 10 Feb 2013, Bram Moolenaar wrote: > > > > > Marc Aldorasi wrote: > > > > > Steps to reproduce: > > > > > > 0. Have the matchparen plugin enabled. > > > > > > 1. Create a file with the following 3 lines: > > > > > > { > > > { > > > } > > > > > > 2. Move t

Re: Patch 7.3.799

2013-02-13 Fir de Conversatie Christian Brabandt
Hi Bram! On Mi, 06 Feb 2013, Bram Moolenaar wrote: > > Patch 7.3.799 > Problem:The color column is not correct when entering a buffer. (Ben > Fritz) > Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian > Brabandt) > Files:src/buffer.c Thi

Re: Parenthesis match highlighting isn't updated when only the match is moved with =

2013-02-13 Fir de Conversatie Christian Brabandt
Hi Bram! On So, 10 Feb 2013, Bram Moolenaar wrote: > > Marc Aldorasi wrote: > > > Steps to reproduce: > > > > 0. Have the matchparen plugin enabled. > > > > 1. Create a file with the following 3 lines: > > > > { > > { > > } > > > > 2. Move to the second line, and indent it with "==" > > >

Re: Vim hangs with insertion after long line

2013-02-13 Fir de Conversatie Christian Brabandt
Hi Bram! On Mi, 13 Feb 2013, Bram Moolenaar wrote: > Still have a long pending job of making the fast RE code work properly > and test it... Can't we just have an 'experimental' setting, that enables experimental features, e.g. the new fast RE? This would get this feature a lot more testing an

Re: command line mappings in wildmenu

2013-02-13 Fir de Conversatie Christian Brabandt
Hi clime! On Mi, 13 Feb 2013, clime wrote: > With respect to this thread on so: > http://stackoverflow.com/questions/14842987/vim-wildmenu-move-into-subdirectory-with-a-different-key-than-down > > It seems like command-line mappings aren't interpreted in wildmenu > mode, and instead exit it and

Patch 7.3.816

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.816 Problem:Can't compute a hash. Solution: Add the sha256() function. (Tyru, Hirohito Higashi) Files: runtime/doc/eval.txt, src/eval.c, src/proto/sha256.pro, src/sha256.c, src/testdir/test90.in, src/testdir/test90.ok, src/testdir/Make_amiga.mak, src/te

Patch 7.3.815

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.815 Problem:Building with Cygwin and Ruby doesn't work. Solution: Copy some things from the MingW build file. (Ken Takata) Files: src/Make_cyg.mak *** ../vim-7.3.814/src/Make_cyg.mak 2013-01-23 13:55:16.0 +0100 --- src/Make_cyg.mak2013-02-13 17:03:23.

Patch 7.3.814

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.814 Problem:Can't input multibyte characters on Win32 console if 'encoding' is different from current codepage. Solution: Use convert_input_safe() instead of convert_input(). Make string_convert_ext() return an error for incomplete input. (Ken T

Patch 7.3.813

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.813 Problem:The CompleteDone event is not triggered when there are no pattern matches. (Jianjun Mao) Solution: Trigger the event. (Christian Brabandt) Files: src/edit.c *** ../vim-7.3.812/src/edit.c 2013-01-17 15:36:54.0 +0100 --- src/edit.c 2013-02-13

Patch 7.3.812

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.812 Problem:When 'indentexpr' moves the cursor "curswant" not restored. Solution: Restore "curswant". (Sung Pae) Files: src/misc1.c *** ../vim-7.3.811/src/misc1.c 2013-01-17 17:01:56.0 +0100 --- src/misc1.c 2013-02-13 16:04:08.0 +0100 *** *** 880

Patch 7.3.810

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.810 Problem:'relativenumber is reset unexpectedly. (François Ingelrest) Solution: After an option was reset also reset the global value. Add a test. (Christian Brabandt) Files: src/option.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, src/test

Patch 7.3.811

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.811 Problem:Useless termresponse parsing for SGR mouse. Solution: Skip the parsing. (Hayaki Saito) Files: src/term.c *** ../vim-7.3.810/src/term.c 2012-12-05 14:42:56.0 +0100 --- src/term.c 2013-02-13 15:49:24.0 +0100 *** *** 4045,4052 #

Patch 7.3.809

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.809 Problem:The dosinst.c program has a buffer overflow. (Thomas Gwae) Solution: Ignore $VIMRUNTIME if it is too long. Files: src/dosinst.c *** ../vim-7.3.808/src/dosinst.c2010-08-15 21:57:28.0 +0200 --- src/dosinst.c 2013-02-13 14:34:25.0 +0100

Re: Patch 7.3.786

2013-02-13 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2013/02/02 Sat 4:23:57 UTC+9 Bram Moolenaar wrote: > > > The implementaiton for Python 2 was supposed to work. > > > > I would appreciate a few people to try this out on different > > environments. If I don't hear about problems I'll include this patch. > > No one has repo

Patch 7.3.808

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.808 Problem:Python threads still do not work properly. Solution: Fix both Python 2 and 3. Add tests. (Ken Takata) Files: src/if_python.c, src/if_python3.c, src/testdir/test86.in, src/testdir/test86.ok, src/testdir/test87.in, src/testdir/test87.ok ***

Re: Patch 7.3.786

2013-02-13 Fir de Conversatie Ken Takata
Hi, 2013/02/02 Sat 4:23:57 UTC+9 Bram Moolenaar wrote: > The implementaiton for Python 2 was supposed to work. > > I would appreciate a few people to try this out on different > environments. If I don't hear about problems I'll include this patch. No one has reported about my patch :-( BTW, I

Re: Vim hangs with insertion after long line

2013-02-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > Hi oldcapecod! > > (CC'ing HTML indent maintainer) > > On Mo, 11 Feb 2013, oldcapecod wrote: > > > OK, all that's needed is ... > > > > filetype plugin indent on > > > > in the .vimrc file. > > The indent html file causes this. There are actually two problems

Re: Can't build with racket 4.2 using MinGW anymore

2013-02-13 Fir de Conversatie Cesar Romani
If I compile vim with MSVC, Racket 4.2.5 and MZSCHEME=c:\plt MZSCHEME_VER=3m_6ncd1k DYNAMIC_MZSCHEME=yes and with the command line: nmake -f Make_mvc.mak I get: Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. Tcl reques

Patch 7.3.807

2013-02-13 Fir de Conversatie Bram Moolenaar
Patch 7.3.807 Problem:Popup menu does not work properly with the preview window, folds and 'cursorcolumn'. Solution: Redraw the popup menu after redrawing windows. (Christian Brabandt) Files: src/screen.c *** ../vim-7.3.806/src/screen.c 2013-01-30 12:31:32.

Re: Omnicomplete shows strange behavior when preview window is enabled

2013-02-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Fr, 08 Feb 2013, Ben Fritz wrote: > > > On Friday, February 8, 2013 9:37:18 PM UTC-6, Ben Fritz wrote: > > > On Fri, Feb 8, 2013 at 9:32 PM, Benjamin Fritz > > > wrote: > > > > > > > The attached vimrc.vim file (when used as the .vimrc, with no > > > > > > > no

command line mappings in wildmenu

2013-02-13 Fir de Conversatie clime
With respect to this thread on so: http://stackoverflow.com/questions/14842987/vim-wildmenu-move-into-subdirectory-with-a-different-key-than-down It seems like command-line mappings aren't interpreted in wildmenu mode, and instead exit it and insert the 'wildchar' literally. Would it be possibl