Hello Bram These do the same thing: let @/ = @/ . pad[c] let @/ .= pad[c] Is there an advantage (speed? resources?) to use one rather the other? That is, other...
66044
John Beckett
johnb.beckett@...
Aug 8, 2012 8:49 am
... Things like += and .= are mainly a convenience for comprehension. Using += the LHS is mentioned only once (LHS += RHS rather than LHS = LHS + RHS), and...
66045
Christian Brabandt
cblists@...
Aug 8, 2012 11:16 am
Hi Bee! ... I don't think there is an advantage of using one over the other. Using :Timer¹ here are some non-representative statistics: 10000Timer exe 'let...
66046
Bram Moolenaar
Bram@...
Aug 8, 2012 11:17 am
Patch 7.3.623 Problem: Perl 5.14 commands crash Vim on MS-Windows. Solution: Use perl_get_sv() instead of GvSV(). (Raymond Ko) Files: src/if_perl.xs ...
66047
Bram Moolenaar
Bram@...
Aug 8, 2012 12:12 pm
... The tiny advantage is that the target only needs to be parsed once instead of twice. -- hundred-and-one symptoms of being an internet addict: 218. Your...
66048
Bram Moolenaar
Bram@...
Aug 8, 2012 12:12 pm
... I think the idea to have 'sw' set to zero behave like it's set to 'ts' makes a lot of sense. In your patch you have an awful lot of: sw = curbuf->b_p_sw ?...
66049
Bram Moolenaar
Bram@...
Aug 8, 2012 12:33 pm
Patch 7.3.624 Problem: When cancelling input() it returns the third argument. That should only happen for inputdialog(). Solution: Check if inputdialog()...
66050
Bram Moolenaar
Bram@...
Aug 8, 2012 12:34 pm
William Bowers wrote: [Somehow empty lines get inserted somewhere...] [also, when replying, please remove the footer] ... Yes, keep patches focused on one...
66051
Bram Moolenaar
Bram@...
Aug 8, 2012 12:34 pm
... Thanks for the fix, I'll include it. -- hundred-and-one symptoms of being an internet addict: 221. Your wife melts your keyboard in the oven. /// Bram...
66052
Bram Moolenaar
Bram@...
Aug 8, 2012 1:28 pm
Patch 7.3.625 Problem: "gn" does not handle zero-width matches correctly. Solution: Handle zero-width patterns specially. (Christian Brabandt) Files:...
66053
Bram Moolenaar
Bram@...
Aug 8, 2012 1:40 pm
... Note that this doesn't fix everything yet. E.g. "/two92;zs" may delete one character or the text between two matches, if there are two in one line. -- If...
66054
Bram Moolenaar
Bram@...
Aug 8, 2012 2:05 pm
Patch 7.3.626 Problem: Python interface doesn't build with Python 2.4 or older. Solution: Define Py_ssize_t. (Benjamin Bannier) Files:...
66055
Christian Brabandt
cblists@...
Aug 8, 2012 2:37 pm
Hi Bram! ... [X] Attached regards, Christian -- Ich sage wenig, denke desto mehr. -- You received this message from the "vim_dev" maillist. Do not top-post!...
66056
Bram Moolenaar
Bram@...
Aug 8, 2012 2:51 pm
Patch 7.3.627 Problem: When using the "n" flag with the ":s" command a \= substitution will not be evaluated. Solution: Do perform the evaluation, so that...
66057
Bram Moolenaar
Bram@...
Aug 8, 2012 3:46 pm
Patch 7.3.628 Problem: ":open" does not allow for a !, which results in a confusing error message. (Shawn Wilson) Solution: Allow ! on ":open". (Christian...
66058
Bram Moolenaar
Bram@...
Aug 8, 2012 3:46 pm
... That was quick! There are a few "sw" variables I think we don't need, otherwise it looks fine. -- hundred-and-one symptoms of being an internet addict: ...
66059
William Bowers
william.bowers@...
Aug 8, 2012 3:53 pm
... I'm not quite sure why those extra lines were getting added in my replies. I've manually removed them. I agree on having short names. As short as possible...
66060
Bram Moolenaar
Bram@...
Aug 8, 2012 4:01 pm
Patch 7.3.629 Problem: There is no way to make 'shiftwidth39; follow 'tabstop39;. Solution: When 'shiftwidth39; is zero use the value of 'tabstop39;. (Christian ...
66061
Christian J. Robinson
heptite@...
Aug 8, 2012 6:13 pm
... I can confirm that this allows me to build under CentOS 5.8. Thank you. - Christian -- Some lose their tempers from seeing others keep theirs. Christian...
66062
Axel
axel.bender@...
Aug 10, 2012 1:32 pm
Please have a look at "http://www.sublimetext.com/"; watch the video at positions 1/6 and 2/6. Could that be implemented in GVim? (yes, you could probably...
66063
Sylvain Chouleur
sylvain.chouleur@...
Aug 10, 2012 2:05 pm
Hi, there is a little syntax error in changelog ftplugin: in the s:passwd_field function, field argument is not correctly used. Here is a patch. Regards, ...
66064
Ben Fritz
fritzophrenic@...
Aug 10, 2012 2:09 pm
... https://groups.google.com/d/topic/vim_use/S4khFeWRAMs/discussion http://blog.felixriedel.com/2012/06/multi-editing-in-vim/ -- You received this message...
66065
Ben Fritz
fritzophrenic@...
Aug 10, 2012 2:12 pm
... Not to say it's not an interesting idea. It DOES look very cool. And it does seem like it would be very useful in some situations. It would be just as...
66066
Axel
axel.bender@...
Aug 10, 2012 2:22 pm
True, vision is not the point, but we should be be able to make multiple selections in GVim (in Sublime this can be done with <c-d> or <c-k><c-d>), and operate...
66067
Axel
axel.bender@...
Aug 10, 2012 2:27 pm
Sorry for opening a new thread. Searched in the wrong group (dev instead of use). -- You received this message from the "vim_dev" maillist. Do not top-post!...
66068
Andrew Pimlott
andrew@...
Aug 11, 2012 2:44 pm
I have a plugin that wants to manage a group of related buffers, and when one is unloaded they all should be. And if that is all the buffers there are, vim...
66069
Tony Mechelynck
antoine.mechelynck@...
Aug 11, 2012 3:32 pm
... Well, your ":new" command does change to a new buffer, something which is explicitly documented as forbidden because "it will cause problems". So you were...
66070
Bram Moolenaar
Bram@...
Aug 11, 2012 4:28 pm
... Nikolai maintains that file. ... -- hundred-and-one symptoms of being an internet addict: 232. You start conversations with, "Have you gotten an ISDN...
66071
Tony Mechelynck
antoine.mechelynck@...
Aug 11, 2012 4:59 pm
... It changes buffers if you happen to execute it while buffer 2 is current. ... Best regards, Tony. -- A pretty young maiden from France Decided she'd "just...
66072
Andrew Pimlott
andrew@...
Aug 11, 2012 5:12 pm
... Yes, that's what I'm looking for. :-) I don't want to depend on undefined behavior. On the other hand, maybe it is not that hard to change vim to allow...