Re: Patch: Remove invalid keywords from syntax/vim.vim

2013-07-21 Fir de Conversatie Charles E Campbell
Hello! Please try syntax/vim.vim at my website: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM Regards, C Campbell -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: Vim syntax file should not require interpreter support to highlight :{interp}EOF

2013-08-15 Fir de Conversatie Charles E Campbell
ZyX wrote: I see that all g:vimsyn_embed flags say things like “embed … **(but only if vim supports it)**”. This is ridiculous: Ah, I disagree -- not ridiculous at all. What's ridiculous is to assume that one will be writing code for an interpreter embedded in vimscript without being able to

Re: [bug] netrw with netrw_liststyle = 3

2013-10-02 Fir de Conversatie Charles E Campbell
Bruno Sutic wrote: Hi, I discovered netrw liststyle=3 aka tree style listing a couple days ago. (I love it!) Ever since, I've had a weird issue where I would open a file and it would be completely blank. snip I'll look into it (and I was able to duplicate it -- thanks for the good

Re: extremely bad 7.4 regex performance for syntax highlighting

2013-10-09 Fir de Conversatie Charles E Campbell
Ben Fritz wrote: On Wednesday, October 9, 2013 10:09:05 AM UTC-5, Julian Taylor wrote: Is easytag just doing the highlight regex wrong or is this a issue in the new engine? the regex used looks like this: syntax match cFunctionTag

Re: Segmentation fault when opening a README file

2013-10-14 Fir de Conversatie Charles E Campbell
claudelepois...@gmail.com wrote: echo /** README I put a au BufNewFile,BufReadPost README setf asciidoc line into my .vim/filetype.vim so opening README would cause vim to use asciidoc highlighting. I'm

Re: Problem with netrw and diffing files

2014-02-15 Fir de Conversatie Charles E Campbell
Felix Herrmann wrote: Hey folks :) I just stumbled upon a problem with netrw (which truly is great btw. I mean netrw is great. The problem: not so much ;) ) and making diffs. When I use netrw and mark two files, and then do md to diff them, I always get: Error detected while processing

Re: vim doesn't open some directories

2014-02-26 Fir de Conversatie Charles E Campbell
Yuri Vic wrote: Beginning few months ago, vim behavior changed for this command: 'vim /some/dir/' It opens some directories with Netrw, and it doesn't open some other directories. But it always prints in the bottom: /some/dir/ Illegal file name. Directories it opens successfully tend to be

Re: Netrw shows directory structure wrong: always shows directory inside itself

2014-03-15 Fir de Conversatie Charles E Campbell
Yuri Vic wrote: Netrw shows the entry with the current directory name inside itself. For example: There are two directories /some/dir and /some/dir/other-dir Command 'cd /some/dir vim .' shows this: ../ dir/ | other-dir/ And command 'cd /some/dir/other-dir vim .' shows this: ../ other-dir/

Re: Need support for opening files via HTTPS

2014-03-21 Fir de Conversatie Charles E Campbell
C Campbell On Mar 21, 2014, at 12:46 AM, tooth pik toothp...@gmail.com wrote: On Thu, Mar 20, 2014 at 11:55:29AM -0400, Charles Campbell wrote: Bohr Shaw wrote: ehttps://raw.github.com/tpope/vim-sensible/master/plugin/sensible.vim Hello! Please try netrw v151n, available from my

Re: [patch] add sortuniq() function

2014-03-25 Fir de Conversatie Charles E Campbell
LCD 47 wrote: On 19 March 2014, Cade Forester ahx2...@gmail.com wrote: Looks like you made a copy of f_sort() and modified it a bit. That's a lot of duplicate code. Better move the common stuff into a function that's used by both sort() and sortuniq(). Fixed How about separating it

Re: SL6.4: can't compile os_unix.c due to patch#238

2014-04-09 Fir de Conversatie Charles E Campbell
Christ van Willegen wrote: On Wed, Apr 9, 2014 at 4:07 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: Hello: I'm getting some compiler errors with Scientific Linux 6.4: This is configured with: ./configure --with-features=huge --enable-gui=yes --enable-gui=gtk2 --enable-perlinterp

Re: delete just left netrw buffer after opening file

2014-05-26 Fir de Conversatie Charles E Campbell
Enno wrote: Le vendredi 23 mai 2014 10:42:55 UTC+2, Enno a écrit : Can one configure netrw so that when opening a file in netrw the just left netrw buffer is automatically deleted? For example type :e ., navigate to a file, hit CR. Then there is the netrw buffer, created by :e . that we just

Re: delete just left netrw buffer after opening file

2014-06-01 Fir de Conversatie Charles E Campbell
Enno wrote: Am Freitag, 23. Mai 2014 10:42:55 UTC+2 schrieb Enno: Can one configure netrw so that when opening a file in netrw the just left netrw buffer is automatically deleted? For example type :e ., navigate to a file, hit CR. Then there is the netrw buffer, created by :e . that we just

Re: Issue 230 in vim: Vim: Caught deadly signal SEGV

2014-06-12 Fir de Conversatie Charles E Campbell
Charles Campbell wrote: v...@googlecode.com wrote: Comment #4 on issue 230 by brammool...@gmail.com: Vim: Caught deadly signal SEGV http://code.google.com/p/vim/issues/detail?id=230 The errors in the libfontconfig.so look like a library problem: reading 4 bytes where there are only 2.

Re: Issue 230 in vim: Vim: Caught deadly signal SEGV

2014-06-12 Fir de Conversatie Charles E Campbell
Bram Moolenaar wrote: Charles Campbell wrote: Charles Campbell wrote: v...@googlecode.com wrote: Comment #4 on issue 230 by brammool...@gmail.com: Vim: Caught deadly signal SEGV http://code.google.com/p/vim/issues/detail?id=230 The errors in the libfontconfig.so look like a library problem:

Re: Patch 7.4.335

2014-06-21 Fir de Conversatie Charles E Campbell
Bram Moolenaar wrote: Patch 7.4.335 Problem:No digraph for the new rouble sign. Solution: Add the digraphs =R and =P. Files: src/digraph.c, runtime/doc/digraph.txt Hello, Bram: This patch isn't on ftp.home.vim.org yet. Chip Campbell -- -- You received this message from the

Re: latex spell check disabled if set filetype=latex

2014-06-24 Fir de Conversatie Charles E Campbell
a texDocZone by the syntax highlighting), and it does work for the letter document classes without sectioning. Regards, Chip Campbell Hello, there is c:\Program Files\Vim\vim74\syntax\tex.vim that says Maintainer: Charles E. Campbell Last Change: Mar 20, 2014 Version: 81 URL

Re: nowait is not highlighted (syntax/vim.vim)

2014-06-27 Fir de Conversatie Charles E Campbell
Kenichi Ito wrote: Hi Chip, I tried vim.vim v7.4-30 in your website, but nowait is not highlighted. This patch fixes it. --- diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index e86611a..b9b815c 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -327,7 +327,7 @@

Re: Patch: Optimise ascii char classificaton

2013-06-11 Fir de Conversatie Charles E Campbell
Mike Williams wrote: So with my setup, nerdtree takes a while to start in large directory of files, such as VIM's src directory. On Windows the profiler shows a large amount of time is being spent in the CRT's isalnum(), isalpha() and islower() internals, coping with locale handling. With

Re: netrwBrowseX should use cfile, not cWORD

2013-07-13 Fir de Conversatie Charles E Campbell
Jonas Diemer wrote: Hi, working on windows, I found that opening files externally using gx does not work well for filenames with spaces. I added space to the filename characters (:set isfname=+32), which fixes gf. However, I still cannot open files with spaces using gx The fix is rather

warnings while compiling vim 7.4a.14

2013-07-13 Fir de Conversatie Charles E Campbell
Hello! Got two warnings: regexp.c: In function ‘match_follows’: regexp_nfa.c|3814 warning| will never be executed ui.c: In function ‘clip_gen_owner_exists’: ui.c|1471 warning| will never be executed Two nearly trivial patches attached. Regards, Chip Campbell -- -- You received this message

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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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 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: (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: 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: 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: 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: 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: 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

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: 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

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: 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

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: 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

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: 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: 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: [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: 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

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: 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

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: 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: 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: 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: 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: 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: Issue 49: netrw reports modified buffers and no buftype

2012-01-14 Fir de Conversatie Charles E Campbell
Sent from my iPad On Jan 13, 2012, at 6:16 PM, Matt Sacks boarder4...@gmail.com wrote: Don't think it's MacVim specific as I can reproduce it from the Vim binary inside of the MacVim application. This is replicable on Snapshot 64 which is up to patch 7.3.401 -- You received this

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: 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: 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: 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: 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: Netrw failure with latest Vim

2012-12-01 Fir de Conversatie Charles E Campbell
John Little wrote: On Saturday, December 1, 2012 8:54:16 PM UTC+13, John Little wrote: Attempting to install the latest netrw... I downloaded netrw 147b from http://www.drchip.org/astronaut/vim/index.html#NETRW but it didn't work at all, home/john/ was prepended to every filename, note no

Re: Netrw failure with latest Vim

2012-12-01 Fir de Conversatie Charles E Campbell
John Little wrote: John Little wrote: I downloaded netrw 147b from http://www.drchip.org/astronaut/vim/index.html#NETRW but it didn't work at all, home/john/ was prepended to every filename, note no leading / (yes, my home directory is /home/john). and DrChip replied: I haven't been able

subscribe

2013-01-09 Fir de Conversatie Charles E Campbell
subscribe -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: if/else/end broken in netrw.vim

2013-01-21 Fir de Conversatie Charles E Campbell
mattn wrote: Typing o in netrw occur error. https://gist.github.com/4583859 Thank you for your patch. The error was still in netrw, although the key is now O rather than o. Please try the copy of netrw available from my website: http://www.drchip.org/astronaut/vim/index.html#NETRW .

Re: New feature: absolute line number in relativenumber for the current line

2013-01-31 Fir de Conversatie Charles E Campbell
Ben Fritz wrote: I only rarely edit files with 1 or more lines. Most of the time for me, my 'rnu' column takes 4 columns, and my 'nu' column takes 5. I don't care about the extra width, and would probably never turn off the option to show the absolute number on the current line if there

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

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: 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

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

  1   2   3   >