Re: some vim syntax fixes for multi-lined commands

2012-11-14 Fir de Conversatie Charles E Campbell Jr
Alexey Radkov wrote: Hi Charles. Thank you! You're welcome! 2012/11/14 Charles Campbell charles.e.campb...@nasa.gov mailto:charles.e.campb...@nasa.gov (snipped) BTW, I prefer direct email contact for patches rather than via the mailing list. Ok, sure. But i did not know whom

Re: vim.vim organization

2012-10-31 Fir de Conversatie Charles E Campbell Jr
Kartik Agaram wrote: I notice many keywords in runtime/syntax/vim.vim are split across multiple lines. For example, I assume all the lines beginning with syn keyword vimCommand could logically be assumed to be a single (very long) command. Is that accurate? If this is correct, I'm curious if

Re: Patch 7.3.633

2012-08-20 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.3.633 Problem:Selection remains displayed as selected after selecting another text. Solution: Call xterm_update() before select(). (Andrew Pimlott) Files: src/os_unix.c Hello! Patch #633 appears to be missing from ftp://ftp.home.vim.org/

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 Charles E Campbell Jr
Ben Fritz wrote: On Thursday, May 17, 2012 1:07:52 PM UTC-5, Thilo Six wrote: To me absolutely yes. Obviously we will need to discuss and decide some more details/workflows but i think the consensus is broad enough to start getting it productive. Are you fine with using vim-dev as our

Re: [MPF] runtimefiles cpo+=l save

2012-02-08 Fir de Conversatie Charles E Campbell Jr
Thilo Six wrote: Hello ,[ :h syn-pattern ]- Syntax patterns are always interpreted like the 'magic' option is set, no matter what the actual value of 'magic' is. And the patterns are interpreted like the 'l' flag is not included in 'cpoptions'. This was done to

Re: cpo-=l full list

2011-12-27 Fir de Conversatie Charles E Campbell Jr
Thilo Six wrote: Taylor Hedberg wrote the following on 25.12.2011 05:20 Hello Charles, Charles E Campbell Jr, Sat 2011-12-24 @ 22:11:31-0500: If I may repeat myself, what advantage does set cpo-=a cpo-=A have over set cpo-=aA ??? From `:help :set

Re: cpo-=l full list

2011-12-24 Fir de Conversatie Charles E Campbell Jr
Thilo Six wrote: just an status update. ~/build/vim/runtime/autoload/netrw.vim 2011-12-10 s:cpo-=aA:cpo-=a cpo-=A: If I may repeat myself, what advantage does set cpo-=a cpo-=A have over set cpo-=aA ??? Regards, Chip Campbell -- You received this message from the

Re: manpageview rating dive

2011-09-01 Fir de Conversatie Charles E Campbell Jr
Benjamin R. Haskell wrote: On Wed, 31 Aug 2011, Charles Campbell wrote: Charles Campbell wrote: Hello! I recently checked my plugins' ratings: 08/09/11 script 677/279/10776: Manpageview.vim 08/31/11 script -133/1094/10866: Manpageview.vim This seems like an odd thing -- is this

Re: a problem with syntax highlighting in regexp.c

2011-07-16 Fir de Conversatie Charles E Campbell Jr
Ben Schmidt wrote: I extracted a couple of lines from regexp.c (143,144): (vim 7.3.244) #define BRANCH 3 /* node Match this alternative, or the * next... */ and put them in a file junk.c. Then vim -u NONE -N --noplugin junk.c :syn on shows the comment-ending pair of characters, */, in error

Re: Syntax highlighting unreasonable lags

2011-05-04 Fir de Conversatie Charles E Campbell Jr
Дмитрий Франк wrote: Hi. I very like Vim, thank you, but there's one thing in Vim that i really hate. I often use rather old notebook with processor Pentium M 1.6 GHz, and when i use Vim on it, i can't normally edit files *.vim and *.php : syntax highlighting for these filetypes is VERY

Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Charles E Campbell Jr
Yue Wu wrote: How to reproduce: :e c:/ then enter any subdirectory in netrw buffer withenter, then :pwd print current working directory, vim still says c:/ it is. gvim is got from vim offical site, OS is windows 2000. Hello, See if :he netrw_keepdir helps. (the default

Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Charles E Campbell Jr
Yue Wu wrote: Thanks, that's it. I think it should be on by default for convenience, what do you think? I do, too, and that option is used in my own .vimrc. While developing netrw's browser capability, that's how I had it. However, I caught grief about it from those wedded to 6.x's

Re: [patch] match does not Conceal items

2011-04-10 Fir de Conversatie Charles E Campbell Jr
Christian Brabandt wrote: Hi Bram! On So, 10 Apr 2011, Bram Moolenaar wrote: Can you explain what the effect is? Basically, I wanted to create a plugin that uses concealing for something like vertical folding. Perhaps you could look into foldcol.vim and see if that does what

Re: Color Support for :! and :Shell system command execution

2011-03-22 Fir de Conversatie Charles E Campbell Jr
Will Gray (graywh) wrote: On Mar 22, 1:27 pm, Charles Campbellcharles.e.campb...@nasa.gov wrote: Perhaps the AnsiEsc plugin which colorizes text according to ansi escape sequences does what you want; you can get the plugin from:

Re: editing DCL

2010-12-17 Fir de Conversatie Charles E Campbell Jr
Samuel Ferencik wrote: Hi, DCL is a scripting language for OpenVMS, whose lines of code must all start with a $. Here is a code excerpt (from http://www.eight-cubed.com/articles/dcl_standards.html): |||$ on warning then goto nopriv $ set on $ set

Re: saveas - loads ft plugin - changes dir - wrong filename problem

2010-11-15 Fir de Conversatie Charles E Campbell Jr
frabjous wrote: Hi all, I'm here to report what looks like a bug to me. Hopefully I'm not wasting your time. Here are the conditions. 1. Edit a blank file with no ft set (and hence no filetype plugins loaded). 2. Attempt to save the file with an extension which causes a filetype plugin to be

Re: Patch 7.3.050

2010-11-05 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.3.050 Problem:The link script is clumsy. Solution: Use the --as-needed linker option if available. (Kirill A. Shutemov) Files: src/Makefile, src/auto/configure, src/config.mk.in, src/configure.in, src/link.sh On a Centos 5.2

Re: Patch 7.3.024

2010-10-13 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.3.024 Problem:Named signs do not use a negative number as intended. Solution: Fix the numbering of named signs. (Xavier de Gaye) Files: src/ex_cmds.c Hello, This patch is causing vanishing signs syndrome. Here's a test procedure: When in

Re: sort bug?

2010-10-13 Fir de Conversatie Charles E Campbell Jr
Bee wrote: sort bug? vim 7.3.27 Linux vim 7.3.21 Mac 10.4.11 Select the lines between the rules (including the blank lines) and sort: ','sort n 1-2-3-4-5-6 xxx yyy: 0 xxx yyy: 1 xxx yyy: 2 xxx yyy: 3 xxx yyy: 4 xxx yyy: 5 xxx yyy: 6 xxx

Re: make -f make_cyg.mak with vim 7.3

2010-08-28 Fir de Conversatie Charles E Campbell Jr
Christian J. Robinson wrote: On Fri, 27 Aug 2010, Charles E Campbell Jr wrote: gcc: The -mno_cygwin flag has been removed; use a mingw targeted cross-compiler. on the first file it tries to compile (blowfish.o), and, sad to say, no gvim.exe . I had to edit Make_cyg.mak to use gcc-3

make -f make_cyg.mak with vim 7.3

2010-08-27 Fir de Conversatie Charles E Campbell Jr
Hello! I usually build vim myself with cygwin + make -f make_cyg.mak . However, I'm getting a message gcc: The -mno_cygwin flag has been removed; use a mingw targeted cross-compiler. on the first file it tries to compile (blowfish.o), and, sad to say, no gvim.exe . Regards, Chip

Re: make -f make_cyg.mak with vim 7.3

2010-08-27 Fir de Conversatie Charles E Campbell Jr
Charles E Campbell Jr wrote: Charles E Campbell Jr wrote: Hello! I usually build vim myself with cygwin + make -f make_cyg.mak . However, I'm getting a message gcc: The -mno_cygwin flag has been removed; use a mingw targeted cross-compiler. on the first file it tries to compile

Re: Multiple conceals collapse to single character

2010-07-22 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Charles Campbell wrote: I tried the following trick: syn match texGreek '\\alpha\' contained conceal cchar=á nextgroup=texGreek2 syn match texGreek2 '\\alpha\' contained conceal cchar=á nextgroup=texGreek So $\alpha\alpha$ has the first \alpha as texGreek, and the

Re: Unsubscrible vim_dev

2010-05-01 Fir de Conversatie Charles E Campbell Jr
John Beckett wrote: Simson Liu wrote: I have subscrible the list with new gmail box. But I can't unsubscrible the list with my current work mail box. I have sent the vim-dev-unsubscr...@vim.org the empty mail message many times, but have no any effect. So other managers don't have to

Re: mail from new wiki pages

2010-03-22 Fir de Conversatie Charles E Campbell Jr
John Beckett wrote: John Beckett wrote: You can actually watch pages before they are created, however, that's a bit exotic, so I would recommend creating each relevant Script:xxx page then watching it. On second thoughts, it should be pretty easy to watch the pages that are NOT yet

Re: copy a map (in order to restore it later)

2009-09-29 Fir de Conversatie Charles E Campbell Jr
Hari Krishna Dara wrote: I need to be able to create an imap for Tab when my plugin is toggled on, and unmap it when it is toggled off. What I would prefer is to restore the previous map of Tab rather than simply unmap it, but there is no straight-forward way to capture the existing map such

Re: BUG: Vimball: Extra \ in folder names with space under Windows in .VimballRecord

2009-09-28 Fir de Conversatie Charles E Campbell Jr
KF Leong wrote: I am testing to use Vimball to package a plugin and when trying the RmVimball command, the installed plugin files are not removed. Looking through the .VimballRecord file, the delete() entries added extra backslash (\) to the folder names, thus making the delete() command to

Re: scim_bridge_client_imcontext_set_cursor_location -- an annoying error message

2009-06-16 Fir de Conversatie Charles E Campbell Jr
Tony Mechelynck wrote: On 10/06/09 21:31, Charles Campbell wrote: Hello! In running a not too trivial script I've written, I keep getting messages of the following sort (even when the script is quiescent, ie. after its opened its 8 windows): (Centos 5.2/Linux/gtk) CALC/ xorn? An

building vim with perl support

2009-05-31 Fir de Conversatie Charles E Campbell Jr
Hello! I recently got a 64-bit computer; it has perl supported. However, the configure script doesn't appear to be picking up on the location of the header files: (there were about 100 error messages) /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/EXTERN.h

getting dropped from the mailing list

2009-04-26 Fir de Conversatie Charles E. Campbell, Jr.
Hello! This is the second time I've stopped receiving emails from vim_dev (its happened to me once on vim_use) this past week, unless there's actually been no activity on this group for two days. The last time I unsubscribed (successfully) from both vim_use and vim_dev and then

Re: Concel and Ownsyntax patch FINALLY updated...

2009-03-18 Fir de Conversatie Charles E. Campbell, Jr.
John Beckett wrote: Vince Negri wrote: The page on google groups needs a small update to fix the reference to 7.0.35. Good point, but please tell me exactly what text would be appropriate. It currently reads: Status: works, but only in Vim 6.4.10 and 7.0.35 Will we just

Re: Patch 7.2.121

2009-02-21 Fir de Conversatie Charles E. Campbell, Jr.
Bram Moolenaar wrote: Patch 7.2.121 Problem:In gvim !grep a *.c spews out a lot of text that can't be stopped with CTRL-C. Solution: When looping to read and show text, do check for typed characters every two seconds. Files: src/os_unix.c snip

Re: Create vimballs from the command-line

2009-02-11 Fir de Conversatie Charles E. Campbell, Jr.
Gary Johnson wrote: On 2009-02-12, Tony Mechelynck antoine.mechely...@gmail.com wrote: And then there are people like me who can un- .zip files if they have to, but prefer to gunzip them (un- .gz), which is the Unix standard (as opposed to the Microsoft Megabucks LoseDough standard).

Re: Create vimballs from the command-line

2009-02-10 Fir de Conversatie Charles E. Campbell, Jr.
Matt Wozniski wrote: But let's not forget that they have significant disadvantages, too... Vimballs made with new versions of the plugin don't work on older vims. There's been one problem with that -- 7.0 vimball doesn't handle the later vimball versions. 7.1 and has been compatible; newer

Re: Race condition during file saving

2009-01-04 Fir de Conversatie Charles E. Campbell, Jr.
Nikolai Weibull wrote: On Sun, Jan 4, 2009 at 16:26, Adam Osuchowski ad...@zonk.pl wrote: Nikolai Weibull wrote: I haven't really understood what the problem is (I don't believe that there actually is one), There is a non-zero time period between open file and

Re: Race condition during file saving

2009-01-04 Fir de Conversatie Charles E. Campbell, Jr.
Nikolai Weibull wrote: On Sun, Jan 4, 2009 at 23:19, Charles E. Campbell, Jr. drc...@campbellfamily.biz wrote: Nikolai Weibull wrote: No, I mean both O_EXCL (so that a file hasn't been created in between the time the original file has been renamed and the new one opened

Re: mac-osx and open

2008-11-09 Fir de Conversatie Charles E. Campbell, Jr.
Nico Weber wrote: Hi Charles, On 09.11.2008, at 16:32, Charles E. Campbell, Jr. wrote: I was browsing the wiki -- and I noticed the tip Preview current HTML in browser on Mac OS X (well, a comment to it does): let g:netrw_browsex_viewer = 'open' so that the viewer triggered by x

Re: ANNC: Relative Numbering plugin

2008-08-19 Fir de Conversatie Charles E. Campbell, Jr.
Tony Mechelynck wrote: On 18/08/08 22:15, Charles Campbell wrote: Hello! I've issued a new plugin on my website: http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR . It uses the signs capability of huge vim to give relative numbering. After some comment period I expect to

Re: ANNC: Relative Numbering plugin

2008-08-18 Fir de Conversatie Charles E. Campbell, Jr.
sc wrote: On Monday 18 August 2008 15:15, Charles Campbell wrote: Hello! I've issued a new plugin on my website: http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR . It uses the signs capability of huge vim to give relative numbering. After some comment period I expect

Re: netrw v126 testing -- need help!

2008-07-10 Fir de Conversatie Charles E Campbell Jr
Derek Tattersall wrote: On Jul 7, 11:05 pm, Charles E. Campbell, Jr. [EMAIL PROTECTED] wrote: Hello, I'm just beginning a semi-automated test suite -- I expect that that will help enormously sometime in the misty future. I'll be going through the commands and trying to build

netrw v126 testing -- need help!

2008-07-07 Fir de Conversatie Charles E. Campbell, Jr.
Hello, I'm just beginning a semi-automated test suite -- I expect that that will help enormously sometime in the misty future. I'll be going through the commands and trying to build the tests, checking netrw as I go. However, for now: Please test netrw v126g! Its available via my website:

Re: Syntax highlighting through comment hash for sh

2008-06-29 Fir de Conversatie Charles E. Campbell, Jr.
Pascal Christoph wrote: Hello you guys-making-the-most-useful-tool-in-VR (of course I am not speaking only of myself), proud to have found a little thing that, be fixed, would improve the improved vi even a nearly unsubstantial-tiny bit more: If you use syntax highlighting, and programm

Re: [PATCH] fix $(..) and $((..)) syntax highlighting for /bin/sh

2008-06-16 Fir de Conversatie Charles E. Campbell, Jr.
Pádraig Brady wrote: Currently for /bin/sh scripts, $(command) and $((1+1)) are marked as errors. These constructs are POSIX compliant and supported by dash and bash at least. I contend that erroneously warning users away from these valid constructs is much worse than not flagging them as

Re: Updated floating point patch

2008-06-10 Fir de Conversatie Charles E Campbell Jr
Ben Schmidt wrote: Another that could conceivably be useful would be a random number function. A low quality PRNG would do just fine. This could be used in Vim for editing data files for testing purposes, etc. Not that I object to a built-in PRNG to vim; however, writing a plugin to do

Re: Updated floating point patch

2008-06-10 Fir de Conversatie Charles E Campbell Jr
Mikołaj Machowski wrote: Dnia 10-06-2008 o godz. 6:04 Gautam Iyer napisał(a): On Tue, Jun 10, 2008 at 01:55:04PM +1000, John Beckett wrote: It would be a pointless waste of development time to do much more with floats in Vim, IMHO. I *strongly* agree! Apart from the basic

Re: Updated floating point patch

2008-06-10 Fir de Conversatie Charles E Campbell Jr
Tony Mechelynck wrote: On 10/06/08 15:09, Charles E Campbell Jr wrote: [...] Whereas, requiring a vim to include the interfaces to python/ruby/pick-your-poison ... well, now you're talking real bloat (as in increasing the vim executable size). Regards, Chip Campbell Well, like

Re: Updated floating point patch

2008-06-09 Fir de Conversatie Charles E Campbell Jr
Mikolaj Machowski wrote: Things works, thanks :) Few things I'd like to see explained (fixed, implemented?): 1. Once a float, always a float. Don't see way to make float other type of data - string, integer. At least one can convert floats to strings: :let x=1.3 :echo

Re: vimscript compiled

2008-05-29 Fir de Conversatie Charles E Campbell Jr
Milan Vancura wrote: #include stdio.h #include stdlib.h int main() { system(gvim -c script.vim); return 0; } :- Thank you for lenghtening my life with 10 minutes of laugh! It remindes me my favorite IRC citation: A: Hi all, I'm playing with datetime functions. Can someone

Re: vimscript compiled

2008-05-22 Fir de Conversatie Charles E Campbell Jr
epanda wrote: I have done a script but I don't want it to be interpreted. Is it possible to convert [gvim -c script.vim] into [oneExeCompiled.exe] Following provided somewhat facetiously: #include stdio.h #include stdlib.h int main() { system(gvim -c script.vim); return 0; } If

syntax handling of continuations (a proposal for an extra syntax item) -- request-for-comment

2008-04-17 Fir de Conversatie Charles E Campbell Jr
Hello! It always has seemed to me to be a bit of a battle to handle continued lines. So that you know what I mean: C: code line\ more code to be treated as one line Matlab: code line... more code to be treated as one line Vim: code line \ more code to be treated as one line etc. It would

Re: Updated floating point patch

2008-04-16 Fir de Conversatie Charles E Campbell Jr
Ben Schmidt wrote: Charles E Campbell Jr wrote: Ben Schmidt wrote: Ben Schmidt wrote: OTOH, with there is no ambiguity because the various uses of are strictly separated: Actually, there still is ambiguity unless one requires a decimal point

Re: GSOC: On-the-fly Code Checking for Vim - Challenges

2008-04-14 Fir de Conversatie Charles E Campbell Jr
E. Campbell Jr in a related post. A parser would be perfect for syntax- checking, but I think the code checker should also detect errors like a misspelled library name. In my opinion the errors and warnings that are highlighted must be 99% correct. It's very annoying if you get

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Charles E Campbell Jr
Anoop Thomas Mathew wrote: What's your opinion about a project in VIMas an on the fly code checker. I really think you should consider composing a new email thread instead of piggy backing on another email thread; especially one that has nothing to do with your topic and already is full of

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the items I planned to discuss is why Vim has no floating point support. Well, this turned into actually implementing it. The main problem with

ANNC: mkvimball

2008-04-01 Fir de Conversatie Charles E Campbell Jr
Hello! I've written a small C program, mkvimball, which generates vimballs; use it from the .vim/ directory. You may get a copy of it at: http://mysite.verizon.net/astronaut/src/index.html#MKVIMBALL . Its good for use inside shell scripts, for example. Regards, Chip Campbell

Re: ANNC: mkvimball

2008-04-01 Fir de Conversatie Charles E Campbell Jr
Fredrik Gustafsson wrote: On Tue, Apr 01, 2008 at 02:24:58PM -0400, Charles E Campbell Jr wrote: Hello! I've written a small C program, mkvimball, which generates vimballs; use it from the .vim/ directory. You may get a copy of it at: http://mysite.verizon.net/astronaut/src

Re: GSoC: Fixing Bugs

2008-03-27 Fir de Conversatie Charles E. Campbell, Jr.
Christopher Berardi wrote: Any advice and/or suggestions would be welcomed. Well, one thing I've always wished for (but never got around to implementing), was the ability to set watchpoints in vimscript (ie. it would be part of the debugging suite). Just in case you don't know what a

Re: Syntax highlighting problem with vim scripts

2008-03-24 Fir de Conversatie Charles E Campbell Jr
Dasn wrote: On 17/03/08 20:06 +0800, Dasn wrote: The last parenthesis is highlighted wrong. Language: Vim 7.1 script Last Change: Jan 24, 2008 Version: 7.1-76 $ cat test.vim echo printf(%d, \12) Hello! I'll be looking at your two patches, just wanted to let you

Re: upgrading vim on linux

2008-03-04 Fir de Conversatie Charles E Campbell Jr
[EMAIL PROTECTED] wrote: I seem to have a problem where I want to upgrade my version of gvim for linux but am somewhat confused by the site there seems to be a vim-7.1.tar.bz2 but I have no idea what a bz2 file is and the site doesn't explain it (that I can find...). so I tried to

Re: upgrading vim on linux

2008-03-04 Fir de Conversatie Charles E Campbell Jr
Tony Mechelynck wrote: snip This configure step also has advantages: you could say that it has the qualities of its defaults: it allows (almost) common treatment for not only various Linux distributions but also Unix and Unix-like systems which have nothing to do with Linux, such as BeOS,

Re: Porting vim to NetBSD

2008-03-03 Fir de Conversatie Charles E Campbell Jr
gnani wrote: I read this link and your replies. I'm trying to make vim binary for NetBSD-3.0 from CYGWIN_NT-5.0 system. So, i tried cross compiling the vim. It was not successful initially. Then I tried with your patches for configure.in and configure scripts. I get the following error

Re: an idea for plugin development: strict mode

2008-01-24 Fir de Conversatie Charles E Campbell Jr
Tim Pope wrote: On Wed, Jan 23, 2008 at 05:11:53PM -0500, Charles E Campbell Jr wrote: Vim is often quite forgiving of user blunders. However, for plugin development, I'd rather it be more strict. I have a tendency of trying bufnr(.), for example, when I should use bufnr(%). The strange

Re: (possibly known) bug with visual block and searchreplace

2008-01-16 Fir de Conversatie Charles E Campbell Jr
Jürgen Krämer wrote: Hi, James Vega wrote: On Jan 16, 2008 8:39 AM, Jürgen Krämer [EMAIL PROTECTED] wrote: The behaviour you want can be achieved with an additional script by Dr. Chip. You can download it from the following url In Vim7 you can also use the \%V operator as

Re: New features to vote on and sponsoring

2008-01-16 Fir de Conversatie Charles E Campbell Jr
Matthew Winn wrote: (snip) Also, it uses the same tabstops over an entire file. An extended idea is to find some way of specifying different tab widths at different parts of the same file, but that means a heap of empty cans and worms all over the place. You'd probably need to use something

Re: Exposing line/file/function call stack for debugging

2008-01-16 Fir de Conversatie Charles E Campbell Jr
Matt Wozniski wrote: On Jan 16, 2008 3:59 PM, Ben Schmidt wrote: Charles E. Campbell, Jr. wrote: I think it'd be a small thing -- but only Bram knows for sure. I'd like Decho (from my debugging plugin) to be able to report what line/file/function it was called from so I can relate

Re: Patch 7.1.230

2008-01-15 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Citizens are not allowed to attend a movie house or theater nor ride in a public streetcar within at least four hours after eating garlic. [real standing law in Indiana, United States of America] This one I figured I might be able to check on -- I mean, how often

Re: New features to vote on and sponsoring

2008-01-15 Fir de Conversatie Charles E. Campbell, Jr.
I think it'd be a small thing -- but only Bram knows for sure. I'd like Decho (from my debugging plugin) to be able to report what line/file/function it was called from so I can relate Decho output to where it was generated. Something like the following would do the trick: v:call_line --

Re: When will 7.2 come out?

2008-01-11 Fir de Conversatie Charles E Campbell Jr
Edward L. Fox wrote: There are already more than 200 patches. When will 7.2 come out? Any plans? Well, I'm not Bram, but I believe that the todo list still has over 100 items on it. Chip Campbell --~--~-~--~~~---~--~~ You received this message from the

Re: Patch for Unix filename expansion to try out

2008-01-10 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: A couple of problems were detected when the Unix shell is used to expand file names containing characters such as a single quote. This applies to completion on the command line and glob(). I made a patch that defines a function to echo each file name separately. Inspired

Re: Patch 7.1.215

2008-01-10 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.1.215 Problem:It is difficult to figure out what syntax items are nested at a certain position. Solution: Add the synstack() function. Files: runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro, src/syntax.c If you'd like to

Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-08 Fir de Conversatie Charles E Campbell Jr
Nikolai Weibull wrote: I have the following mapping: map g: Esc:set operatorfunc=SIDget_command_mode_rangeCRg@ and have recorded g:}j^M into register 'a'. Running @a now does nothing. Why? (It should run :join from the current line to the end of the current paragraph.) It might help

Re: Patch 7.1.193

2008-01-04 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: The comments in the patch contain non-ASCII characters. I've seen before that these may cause trouble. If you used the path from the e-mail you can first check if it's equal to what is on the ftp site: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.193 Then check the lines in

Re: ftp and rsync errors

2008-01-01 Fir de Conversatie Charles E. Campbell, Jr.
Kazuo Teramoto wrote: On Jan 1, 2008 6:10 PM, Tony Mechelynck [EMAIL PROTECTED] wrote: Apparently, the fact that I succeeded to connect to a server where /pub/vim was a vailable, and even to downloaded all patches till 7.1.180, was a one-time non-repeatable fluke: I cn't do it again.

Re: encrypt/decrypt functions for a session

2007-12-03 Fir de Conversatie Charles E. Campbell, Jr.
Matt Wozniski wrote: Fixing that to use a script-local variable would definitely be a worthwhile change that should be made ASAP, though it still wouldn't protect you from plaintext passwords being in your core files. Yes, I've done that for v116g. While we're at it, what is a reasonable

Re: encrypt/decrypt functions for a session

2007-12-03 Fir de Conversatie Charles E. Campbell, Jr.
Matt Wozniski wrote: On Dec 3, 2007 2:05 PM, Charles E. Campbell, Jr. wrote: Assuming that I have an encrypt/decrypt function pair, the pid could be used as a single-session p/w that would be transparent to the user. I don't see any point in saving a ftp password but requiring the user

Re: encrypt/decrypt functions for a session

2007-11-30 Fir de Conversatie Charles E Campbell Jr
thomas wrote: However, I suspect that there's no way to get vim to feed the p-r-b-password to the builtin encryption/decryption facilities. I thought the :X command does little more than setting the key option? At least from running some (i.e. two) tests, I'd say that you could also

Re: encrypt/decrypt functions for a session

2007-11-30 Fir de Conversatie Charles E Campbell Jr
Tony Mechelynck wrote: Yakov Lerner wrote: On Nov 29, 2007 12:23 AM, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Hello! I don't see any way to encrypt/decrypt strings in the vim function library, but there is a way to encrypt a file buffer. Netrw tries to make use of ftp, etc

Re: assign current line under cursor to extern program

2007-11-30 Fir de Conversatie Charles E Campbell Jr
[EMAIL PROTECTED] wrote: Hi, I want to assign the current line under the cursort to an external program. Example Textfile: 1 foo 2 bar 3 calvin 4 hobbes If the cursor is in line 2, want to assign the line 2 bar to a script, like foo.sh. If I want to call a external script from vim I type in

Re: Bug with )

2007-11-26 Fir de Conversatie Charles E Campbell Jr
Charles E Campbell Jr wrote: Ben Schmidt wrote: [Didn't get any acknowledgement of this; resending. For the to do list perhaps, Bram?] vim -u NONE iA sentence.Esc) The cursor is placed beyond end of line despite virtualedit being blank. I just tried it and saw no problem

Re: non-posix compliant shells

2007-11-16 Fir de Conversatie Charles E Campbell Jr
gour wrote: I hit the problem in vim yesterday when I wanted to run fish shell (http://fishshell.org) within vim and soon got informed that the problem is Exactly what is the problem? Are you trying to use system(), or filters (:!), or what? Please give an example of something you're

Re: Fixes to syntax/sh.vim: escaped quotes, case statements

2007-10-22 Fir de Conversatie Charles E Campbell Jr
Please try http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax (click on sh.vim.gz). I've not submitted this version to Bram because it needs more checkout for side effects. I wish the start= and end= patterns in regions could contain groups not in the rest of the region;

Re: is this a bug or a feature??

2007-10-11 Fir de Conversatie Charles E Campbell Jr
denis wrote: Hello, I am seeing a problem where execution of seemingly unrelated commands causes a problem with resetting 'lines' variable here, lines is set to 23 let g:foo = tempname() call system('touch ' . g:foo) here it is reset to the height of my xterm - in this case 50 eh? is this a

Re: patch 7.1.120

2007-09-25 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.1.120 Problem:Can't properly check memory leaks while running tests. Solution: Add an argument to garbagecollect(). Delete functions and variables in the test scripts. Files: runtime/doc/eval.txt, src/eval.c, src/globals.h, src/main.c,

Re: patch 7.1.120

2007-09-25 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Charles Campbell wrote: Hello! I don't seem to have test63.in or test63.ok for some reason. test62.in, test62.ok, test64.in, and test64.ok are there... test63 was added in patch 7.1.040. Hmm -- the vim I've got has a --version with the following initial

Re: how to regenerate runtime/syntax/vim.vim

2007-09-24 Fir de Conversatie Charles E. Campbell, Jr.
ap wrote: On Sep 21, 2:53 pm, björn [EMAIL PROTECTED] wrote: Hi, I have added new commands to Vim (i.e. to ex_cmds.h) and I would like them to be properly highlighted when I edit .vim files (e.g. .gvimrc). I looked at runtime/syntax/vim.vim and from a comment therein I gather that this

Re: utf-8, strlen(), and virtcol()

2007-09-20 Fir de Conversatie Charles E Campbell Jr
Tony Mechelynck wrote: It all depends on what exactly you want to do. (I haven't read the Align.vim docs.) The length of a UTF-8 string can be counted in several nonequivalent ways: - number of bytes (Latin a + combining circumflex is three bytes): strlen(string) - number of

Re: searching through multiple buffers

2007-09-11 Fir de Conversatie Charles E Campbell Jr
Mikolaj Machowski wrote: Dnia wtorek 11 wrzesień 2007, Ed S. Peschko napisał: hey all, Is there a way of searching through multiple buffers? ie: I'd like a derivative of '/' to be able to span files, ie: if it doesn't find it in one file, it goes to the next in the bufferlist, and so on..

Re: Proposal: Modes for Vim

2007-08-28 Fir de Conversatie Charles E Campbell Jr
krischik wrote: My proposal (if you have not guessed already) is to merge more separate plug ins into modes. What do you think about the idea? Well, it sounds like a mode is a combination of three plugins (syntax, indent, ftplugin), and you want one person to maintain them all for a

Re: Minor fix to a.vim plugin documentation

2007-08-21 Fir de Conversatie Charles E Campbell Jr
Michael Henry wrote: The a.vim (alternate) plugin's[1] documentation file begins with a blank line, preventing it from showing up in the local-additions (:help local-additions) section of Vim's help system[2]. Simply removing the line corrects this minor problem. Changes to plugins

Re: f-args and backslashes

2007-08-17 Fir de Conversatie Charles E Campbell Jr
Charles E Campbell Jr wrote: So, a feature request: how about a p-args that breaks the input arguments at whitespace (but otherwise leaves the arguments alone). The p is to be vaguely reminescent of: pattern-arguments (as in regular expression patterns)? Hello! If anyone's interested

Re: f-args and backslashes

2007-08-17 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Charles Campbell wrote: So, a feature request: how about a p-args that breaks the input arguments at whitespace (but otherwise leaves the arguments alone). The p is to be vaguely reminescent of: pattern-arguments (as in regular expression patterns)? I think

there's undojoin -- how about dotjoin?

2007-08-15 Fir de Conversatie Charles E Campbell Jr
Hello! I'd like to do imap ... = ...=c-o:somethingcr however, . no longer repeats the small change. For example: imap = =c-o:echo hello!cr work with the following file contents: abc; def; Place cursor on the semicolon with abc; -- insert =2 Now put the cursor on the semicolon with

Re: there's undojoin -- how about dotjoin?

2007-08-15 Fir de Conversatie Charles E Campbell Jr
Antony Scriven wrote: Maybe. Could you use something like this as a workaround? fun! Echo() echo 'hello!' sleep 1 | just to make the effect visible return '' endfun imap = =c-r=Echo()cr Hmm -- I definitely have a blind spot with c-r= stuff. Thanks, Antony -- I think it just

Re: patch 7.1.040

2007-07-27 Fir de Conversatie Charles E Campbell Jr
Martin Toft wrote: Maybe somebody wonders why it avoided my attention when writing and testing the patch in the firste place. The reason is that, on my development machine, the problem only occurs in gvim and only when debugging information is not compiled in. I assume you mean compiling