Re: Patch 7.4.786

2015-07-19 Fir de Conversatie Jan Larres
Bram Moolenaar b...@moolenaar.net: + Note: It's a bad idea, to reset an option + during this autocommand, since this will + probably break plugins. You can always use + |noa| to

Re: Preparations for moving to github

2015-03-26 Fir de Conversatie Jan Larres
James McCoy james...@jamessan.com: $ git clone https://github.com/vim/vim ... $ cd vim $ du -hs .git . 685M.git 47M . $ git gc --aggressive ... $ du -hs .git . 34M .git 47M . The Google Code to GitHub exporter seems to do a pretty bad job at finding good deltas; I've

Re: Google Code shuts down

2015-03-13 Fir de Conversatie Jan Larres
Bram Moolenaar b...@moolenaar.net: Despite all the popularity of github, it doesn't seem to be able to do something as simple as sending a user a message. Do I need to fork a repostitory and send a pull request just to get someone's attention? GitHub removed the messaging functionality a few

Re: :g//d_ and the clipboard

2015-03-06 Fir de Conversatie Jan Larres
Christian Brabandt cbli...@256bit.org: Hi Jan! Now if I want to do that in a :global command I can just do this: g/foo/d _ However, this command is not quite as accomodating. It doesn't change the unnamed register, but it does change the clipboard. It seems to clear it, in fact. This

Re: Getting swapfile information programmatically

2015-02-12 Fir de Conversatie Jan Larres
Hi Antonio, Antonio Giovanni Colombo azc...@gmail.com: I don't have a Vim solution for your problem, but I would suggest to pass the output of vim -r to a Gawk script, that can process it, and (using the system function) take whatever action you may wish to take, automagically. Yes, like I

Re: Getting swapfile information programmatically

2015-02-12 Fir de Conversatie Jan Larres
Hi Christian, Christian Brabandt cbli...@256bit.org: Am 2015-02-12 08:46, schrieb Jan Larres: I am currently writing a plugin to handle existing swapfiles in a smart way. Unfortunately there is not much information about existing swapfiles directly available to plugins; as far as I can see

Getting swapfile information programmatically

2015-02-11 Fir de Conversatie Jan Larres
Hi, I am currently writing a plugin to handle existing swapfiles in a smart way. Unfortunately there is not much information about existing swapfiles directly available to plugins; as far as I can see only the filename is through the v:swapname variable. Everything else that may be relevant like

Re: 0wincmd gives E16: Invalid range: 0wincmd w

2015-01-13 Fir de Conversatie Jan Larres
Enno enno.na...@gmail.com: When I use gt to switch tabs (or click on a different tab) the TagBar plugin (http://vim.sourceforge.net/script.php?script_id=3465) reports this error: Error detected while processing function SNR99_QuitIfOnlyWindow..SNR99_goto_win: line8: E16: Invalid

Re: Bram, if you got hit by a bus tomorrow..

2014-02-26 Fir de Conversatie Jan Larres
Andre Sihera andre.sih...@hotmail.co.jp: For any open source project that takes users money and believes it is valued by a large user base, this is far from hypothetical; it is a very real and non-trivial discussion. Vim/Bram doesn't take anyone's money. Bram encourages donations to a cause

Re: Neovim

2014-02-25 Fir de Conversatie Jan Larres
LCD 47 lcd...@gmail.com: On 25 February 2014, Jan Larres li...@majutsushi.net wrote: But it's not just details. That's the point. A flexible and transparent development model (transparent as in people will be able to gauge the success of inclusion of their patches, or at least will receive

Re: Neovim

2014-02-24 Fir de Conversatie Jan Larres
Michel Albert exh...@gmail.com: Partial refactoring is harder (depending on the case, a *lot* harder) and will take longer but is not risking as much. And not to forget, has a chance to get merged into the mainline code. The problem with this approach is that everything would still have to go

Re: Neovim

2014-02-24 Fir de Conversatie Jan Larres
LCD 47 lcd...@gmail.com: In my opinion the way forward is for enough people to start reading the code, patiently and diligently, in their own rhythm. Once there is a critical mass of developers who actually understand the code, and see it as just old, rather than terrible or evil, we

Re: Neovim

2014-02-24 Fir de Conversatie Jan Larres
LCD 47 lcd...@gmail.com: On 25 February 2014, Jan Larres li...@majutsushi.net wrote: LCD 47 lcd...@gmail.com: In my opinion the way forward is for enough people to start reading the code, patiently and diligently, in their own rhythm. Once there is a critical mass of developers who

Re: [PATCH] Non-blocking job control for vimscript

2014-01-24 Fir de Conversatie Jan Larres
Thiago Padilha tpadilh...@gmail.com: This patch implements a simple but efficient form of job-control for vimscript, enabling vim to cooperate with long-running processes without blocking the UI. It is my second attempt to bring multitasking to vim, but unlike the event-loop/message queue

[patch] Wrong example in map() help

2012-06-30 Fir de Conversatie Jan Larres
Hi, as reported by Benjamin R. Haskell on vim-use, the second example in the map() documentation is wrong, using '' instead of 'v:val'. Here is a patch that corrects it. Jan -- -[ OpenPGP key ID: 00A0FD5F ]- The most dangerous phrase in the language is, We've always done it this way.

Re: Does it still make sense to have per-file/-type maintainers? [Was: Re: Added support for spell checking in runtime/syntax/ocaml.vim]

2012-05-18 Fir de Conversatie Jan Larres
Dominique Pellé dominique.pe...@gmail.com: Thilo Six t@gmx.de wrote: I would like to be able to comment on checkins in a more formal way than emails. How exactly would that work? An image is worth a 1000 words. So here is a screenshot illustrating how code reviews happen in Crucible:

Re: added TextDeleted and TextYanked events

2012-03-12 Fir de Conversatie Jan Larres
Hi, Do you maybe have a yankring-like plugin that makes use of the feature? That could help people try it out in real-world scenarios. Jan -- -[ OpenPGP key ID: 00A0FD5F ]- Technological progress has merely provided us with more efficient means for going backwards.

Re: Python threading timing bug causes vim to segfault

2011-11-20 Fir de Conversatie Jan Larres
Xavier de Gaye xdeg...@gmail.com: On Sat, Nov 19, 2011 at 8:33 AM, Jan Larres wrote: The problem is that the python interface in Vim is not thread safe. That's what I was worried about. I assume there's no easy way to fix this then, other than using a higher sleep() value. But that just seems

Re: Python threading timing bug causes vim to segfault

2011-11-20 Fir de Conversatie Jan Larres
Taylor Hedberg tmhedb...@gmail.com: Xavier de Gaye, Sat 2011-11-19 @ 12:28:27+0100: I think it may be possible to fix this in the clang_complete plugin (https://github.com/Rip-Rip/clang_complete). I'd recommend submitting this patch to the author of clang_complete, both to get his opinion on

Re: Python threading timing bug causes vim to segfault

2011-11-18 Fir de Conversatie Jan Larres
Xavier de Gaye xdeg...@gmail.com: On Fri, Nov 18, 2011 at 6:39 AM, Jan Larres wrote: I just spent some time hunting done a segfault that was cropping up recently for me, and I have narrowed it down to some python threading that the clang_complete plugin is doing. I have attached a minimal

Python threading timing bug causes vim to segfault

2011-11-17 Fir de Conversatie Jan Larres
further VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov 18 2011 14:28:14) Included patches: 1-353 Compiled by Jan Larres j...@majutsushi.net Huge version with GTK2 GUI. Features included (+) or not (-): +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver

Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Jan Larres
Hi all, I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the 'foldtext' setting is local to a window and not to a buffer, making

Re: Undo bug?

2011-03-06 Fir de Conversatie Jan Larres
Donald Allen donaldcal...@gmail.com: Let's consider this a feature request, then. I think it's completely reasonable to expect 'undo' to reverse the side-effects of an undone command, where that's possible (I wouldn't expect it to undo the changes to the filesystem as a result of a write

Vim can't handle very long tag names

2010-09-25 Fir de Conversatie Jan Larres
Hi, I recently started poking around in the Mozilla codebase and so generated a tags file for it using exuberant-ctags. But when I tried to access tags in Vim I always got the following message: E431: Format error in tags file tags Before byte 5118 E426: tag not found: test I turned out

Re: Vim can't handle very long tag names

2010-09-25 Fir de Conversatie Jan Larres
Dominique Pellé dominique.pe...@gmail.com: Marc Weber wrote: try match regex on tag name. If regex fails after matching 512 characters still consider this being a match because tags are only supported up to that length. Then the tags would be found even if they are longer than 512

Re: Adding a certain multibyte character to isprint causes a segfault.

2009-10-30 Fir de Conversatie Jan Larres
Hi Raúl, * Raúl Núñez de Arenas Coronado (raul...@gmail.com) wrote: Easy to reproduce: $ vim -u NONE [Vim starts] :set isprint=∙ For the above I use Ctrl-K to enter the digraph, then Sb for Small bullet. As soon as you hit enter after the above: Vim: Caught deadly signal SEGV Vim:

Re: Patch 7.2.167

2009-05-15 Fir de Conversatie Jan Larres
* Bram Moolenaar (b...@moolenaar.net) wrote: Does someone know a better lint than splint? Unfortunately the lint I was using on FreeBSD doesn't appear to be available for Linux. It wasn't great but I least I could use it for some basic sanity checking. There's also cppcheck: