... If you're ok with the highlighting being window-local, I briefly toyed with something like the following to mimic Eclipse's automatic "highlight the word...
68224
James McCoy
jamessan@...
Feb 14, 2013 2:54 am
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...
68225
James McCoy
jamessan@...
Feb 14, 2013 3:13 am
... Oops, messed up my example. :s/sOmeWord/\L\u&/ is better as the expected outcome is "Someword" but only the \u takes effect so it's actually "SOmeWord". ...
68226
ZyX
zyx.vim@...
Feb 14, 2013 3:46 am
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...
68227
Ben Fritz
fritzophrenic@...
Feb 14, 2013 4:56 am
... I like this idea. I'd be happy to turn the option on and run with it as long as I had the ability to revert to the old mode when needed if I run into a...
68228
Marcin Szamotulski
mszamot@...
Feb 14, 2013 6:36 am
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 ...
68229
Ingo Karkat
swdev@...
Feb 14, 2013 8:58 am
... Thanks for the patch, Christian. This is certainly useful, also for other command-line mappings. I didn't know about 'wildcharm39;; it looks to me that...
68230
Bram Moolenaar
Bram@...
Feb 14, 2013 9:49 am
... Question is, if you run into a problem, how do you know you have to turn off that option? If syntax highlighting is off it might be obvious, but when some...
68231
Bram Moolenaar
Bram@...
Feb 14, 2013 9:49 am
... Any idea why it crashes for you and not for me? Perhaps should run under valgrind. -- ARTHUR: CHARGE! [The mighty ARMY charges. Thundering noise of feet....
68232
Nathan Hüsken
nathan.huesken@...
Feb 14, 2013 10:13 am
... That is correct. ... Ok, I have (line,col) but I convert it to byte offset using line2byte(line) + col. Unfortantly something does not work. The regex I...
68233
Christian Brabandt
cblists@...
Feb 14, 2013 11:54 am
Hi Bram! ... Anybody that uses such an option should be aware, that this can have consequences. So I would expect the first thing to do when one notices ...
68234
Christian Brabandt
cblists@...
Feb 14, 2013 12:28 pm
Hi Bram! ... No and it doesn't segfault, if I only let test87 run. Problem is, close_buffer() might close curbuf and curbuf can get freed(). Of course then you...
68235
François Ingelrest
francois.ingelrest@...
Feb 14, 2013 12:55 pm
... I think as well that such an option could be a good idea, not just for RE but for any bigger changes that strives to be eventually included into the main...
68236
Nathan Hüsken
nathan.huesken@...
Feb 14, 2013 1:18 pm
... Ok, you got me confused there. I thought col was supposed to be the byte offset in the buffer. Got it corrected and it works like a charm. Thanks! -- -- ...
68237
Bram Moolenaar
Bram@...
Feb 14, 2013 3:35 pm
... I think we should actually move the code to get the old value of 'textwidth39; to the caller of enter_buffer(). It might be that there are only one or two...
68238
Ben Fritz
fritzophrenic@...
Feb 14, 2013 3:53 pm
... With a runtime configurable option I'd be able to test at work where I actually exercise Vim more rigorously just because I use it for more stuff. I doubt...
68239
Bram Moolenaar
Bram@...
Feb 14, 2013 7:11 pm
Patch 7.3.817 Problem: Test 89 fails with tiny and small features. Solution: Add sourcing small.vim. Files: src/testdir/test89.in ... *************** ...
68240
Ulrik
ulrik.sverdrup@...
Feb 14, 2013 8:01 pm
Hi, The blowfish encryption mode is vulnerable (not to revelation of the plaintext), but the encryption is not checked for integrity or authenticity. This...
68241
Bram Moolenaar
Bram@...
Feb 14, 2013 8:11 pm
Patch 7.3.818 Problem: When test 40 fails because of a bad build it may leave files behind that cause it to fail later. Solution: Let the file names start...
68242
Bram Moolenaar
Bram@...
Feb 14, 2013 9:08 pm
... Thanks, sounds like a good solution. Implementation is fairly simple. Can you also write an update for the documentation? -- MICHAEL PALIN PLAYED: 1ST...
68243
Bram Moolenaar
Bram@...
Feb 14, 2013 9:08 pm
... It's an idea. Several users have asked for a more flexible way to define paragraph boundaries. I think the help needs some more work. How is the regular...
68244
Bram Moolenaar
Bram@...
Feb 14, 2013 9:12 pm
Patch 7.3.819 Problem: Compiling without +eval and with Python isn't working. Solution: Add the eval feature when building with Python. Files:...
68245
Bram Moolenaar
Bram@...
Feb 14, 2013 9:20 pm
Patch 7.3.820 Problem: Build errors and warnings when building with small features and Lua, Perl or Ruby. Solution: Add #ifdefs and UNUSED. Files:...
68246
James McCoy
jamessan@...
Feb 14, 2013 9:25 pm
... That's the other part I forgot to mention. The documentation already describes the behavior I implemented. James -- -- You received this message from the...
68247
Bram Moolenaar
Bram@...
Feb 14, 2013 9:28 pm
... I think that a verification key will actually make it easier to crack the password. Currently, when an attacker tries all kinds of passwords, he also...
68248
Taylor Hedberg
tmhedberg@...
Feb 14, 2013 10:13 pm
... Also, if you just need to ensure the integrity of the encrypted file, you could always use an external tool like gpg to sign it. That doesn't really need...
68249
Ulrik
ulrik.sverdrup@...
Feb 15, 2013 12:08 am
... Using Vim 7.3 patches 1-547, this is not true, and it is trivially testable (otherwise I would not have claimed it). Using :set cm=blowfish :X goodenough ...
68250
Mosh
moshahmed@...
Feb 15, 2013 2:06 am
Ulrik, Any one random bit flip will cause to one block (8 bytes) to be corrupted at that point, and then all bytes thereafter will be corrupted. Not just 1...
68251
Ulrik
ulrik.sverdrup@...
Feb 15, 2013 3:05 am
Hi, ... This is my experience too. ... But not this! ... Just one 1 bit change works fine if you modify near the end of the file. -ulrik ... -- -- You received...
68252
Nazri Ramliy
ayiehere@...
Feb 15, 2013 4:01 am
Hi! I'm fooling around with gcov[1] at $dayjob and I think vim would benefit from it too. Attached is a patch to produce both gcov (text-only) and lcov (html)...