Re: why does :save not work with -stdin-

2007-06-06 Thread Bram Moolenaar
(aborting()) Instead of moving the autocommands, it might be better to move the call to changed() to before the autocommands (with the "if" that checks for read_stdin). The readfile() call also invokes the ReadPost autocommands, this keeps it consistent. -- hundred-and-one symptoms of

Re: VimWiki - released finally

2007-06-05 Thread Bram Moolenaar
wiki/VimTip805 (where 805 is an arbitrary number)? The Tips pages appear to load a bit slow, but otherwise it looks like all the info from the old pages is there. -- I wish there was a knob on the TV to turn up the intelligence. There's a knob called "brightness", bu

Re: Stable Vim version 7.1 has been released

2007-05-15 Thread Bram Moolenaar
if you experiment with various "make" > implementations, you may observe that dependencies are usually build in > sequence, but this should be seen as an accident, and not as a proof. So how do I tell make that I want to build three targets in sequence then? For generice make

Re: MSVC build option about default library MSVCRT

2007-05-15 Thread Bram Moolenaar
indow, revealing the pillaged princess, hand at throat, crown asunder, gaping in frenzied horror at the sated, sodden amphibian lying beside her, disbelieving the magnitude of the frog's deception, screaming madly, "You lied!" - Winner of the Bulwer-Lytton contest (San J

Re: [Patch] proper detection of ProC files.

2007-05-15 Thread Bram Moolenaar
Micah Cowan wrote: > Fixes an apparent typo in filetype.vim. > > Per https://bugs.launchpad.net/ubuntu/+source/vim/+bug/86916. Must have been there for a while. Thanks for the fix! -- In a world without fences, who needs Gates and Windows? /// Bram Moolenaar -- [EMAIL PROTECTED

patch 7.1.002

2007-05-15 Thread Bram Moolenaar
*** *** 1,7 " Vim support file to detect file types " " Maintainer: Bram Moolenaar <[EMAIL PROTECTED]> ! " Last Change:2007 May 10 " Listen very carefully, I will say this only once if exists("did_load_filetypes") --- 1,7

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
David Necas wrote: > (dropping [EMAIL PROTECTED] from cc) > > On Mon, May 14, 2007 at 07:36:30PM +0200, Bram Moolenaar wrote: > > > > > This indeed works strangely; for instance `make -jN' with > > > N > 1 works with freshly unpacked sources, b

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
Davic Necas wrote: > On Mon, May 14, 2007 at 02:24:09PM +0200, Bram Moolenaar wrote: > > > > This is not a bug, an empty src/auto/config.h is included, because > > otherwise "make depend" doesn't work. > > I would rather say this means an additio

patch 7.1.001

2007-05-14 Thread Bram Moolenaar
Add new patch number below this line */ + /**/ + 1, /**/ -- hundred-and-one symptoms of being an internet addict: 127. You bring your laptop and cellular phone to church. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for f

Re: [PATCH] gvim: Fix compilation against GNOME 2.18

2007-05-14 Thread Bram Moolenaar
Mike Kelly wrote: > Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > > Daniel Drake wrote: > > > > > gvim with FEAT_GUI_GNOME fails to compile against GNOME 2.18. See > > > https://bugs.gentoo.org/show_bug.cgi?id=176566 for more

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
epend" doesn't work. The problem is that when running configure the file is overwritten by a non-empty one. When you update from CVS later it fails. But that is OK, just ignore the error. It would be nicer if we have some way to avoid the error message, but I don

Re: Vim 7.1 and aap?

2007-05-13 Thread Bram Moolenaar
ernet addict: 122. You ask if the Netaholics Anonymous t-shirt you ordered can be sent to you via e-mail. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download,

Re: Vim 7.1 and aap?

2007-05-13 Thread Bram Moolenaar
latest > patch number to 000) which seems to work fine. Yeah, that should be all. Using CVS it should already work. -- hundred-and-one symptoms of being an internet addict: 121. You ask for e-mail adresses instead of telephone numbers. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://

Re: Stable Vim version 7.1 has been released

2007-05-13 Thread Bram Moolenaar
ult as the CVS server and the tar archives. -- hundred-and-one symptoms of being an internet addict: 119. You are reading a book and look for the scroll bar to get to the next page. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for f

Stable Vim version 7.1 has been released

2007-05-12 Thread Bram Moolenaar
ing an internet addict: 114. You are counting items, you go "0,1,2,3,4,5,6,7,8,9,A,B,C,D...". /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download

Re: WARNING! Don't update your local svn repository now!

2007-05-12 Thread Bram Moolenaar
Edward L. Fox wrote: > On 5/12/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Nicolas Weber wrote: > > > > > > The directories structure of the Subversion repository has been > > > > changed. Please use this command to checko

Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-12 Thread Bram Moolenaar
s of being an internet addict: 111. You and your friends get together regularly on IRC, even though all of you live in the same city. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: WARNING! Don't update your local svn repository now!

2007-05-11 Thread Bram Moolenaar
o be other ways to get one of these, but that is less relevant. In my opinion we should keep it easy for the downloader to select one of the available versions. The download page would only need one or two alternatives. I have never maintained a SVN repository, thus have no idea how difficult or easy t

patch 7.1b.002

2007-05-11 Thread Bram Moolenaar
7.1b.001/src/version.c Thu May 10 22:19:40 2007 --- src/version.c Fri May 11 20:09:22 2007 *** *** 668,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 2, /**/ -- hundred-and-one symptoms of being an internet addict: 99. The hum of a coo

Re: BUG: wrong recognition of words in Vim7.1b on Windows

2007-05-11 Thread Bram Moolenaar
age and encoding. Or you can use 'encoding' set to "utf-8", because then Vim knows which characters are word characters. -- hundred-and-one symptoms of being an internet addict: 96. On Super Bowl Sunday, you followed the score by going to the Yahoo main page instead o

Re: BUG: wrong recognition of words in Vim7.1b on Windows

2007-05-11 Thread Bram Moolenaar
and where was it set? What if you use "vim -u NONE"? Very likely this is a problem in your setup, not in Vim. So please check your setup carefully before blaming Vim. -- hundred-and-one symptoms of being an internet addict: 95. Only communication in your household is

patch 7.1b.001

2007-05-10 Thread Bram Moolenaar
, if any./* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar *GUI support by Robert Webb --- 1,4 ! /* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar *GUI support by Robert

Vim version 7.1b BETA has been released

2007-05-10 Thread Bram Moolenaar
in Vim. Send me a patch if you can! If something needs discussing with other developers, send a message to the vim-dev mailing list. You need to subscribe first. Happy Vimming! -- >From "know your smileys": C=}>;*{)) Drunk, devilish chef with a toupee in an updraft,

Re: what "feature" is required to return to last editing position?

2007-05-10 Thread Bram Moolenaar
ides to > change ownership as above (if this is decided to be a good idea), or > when it is not created because of non-root, non-HOME-owner effective > user id. :set verbose=1 When ACLs are used there are many ways reading a file can fail. Just mentioning that it failed shoul

Re: 7.1a.001 OSX colour scheme errors?

2007-05-10 Thread Bram Moolenaar
Tony Mechelynck wrote: > Bram Moolenaar wrote: > [...] > > I'll add a specific line to copy rgb.txt. > > > > Just for the record, after reformatting the entries to a common format and > sorting, a diff between my ~/.build/vim/vim71a/runtime/rgb.txt and my &

Re: Two patches against the latest VIM 7.0.x

2007-05-10 Thread Bram Moolenaar
m that is Radu Dineiu. The change to filetype.vim was already included. -- >From "know your smileys": [:-) Frankenstein's monster /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/

Re: Could you please give me the most bleeding-edge sources?

2007-05-10 Thread Bram Moolenaar
eased snapshot. -- >From "know your smileys": % Bike accident. A bit far-fetched, I suppose; although... o _ _ _ _o /\_ _ \\o (_)\__/o (_) _< \_ _>(_) (_)/<_\_| \ _|/' \/ (_)>(_) (_)(_) (_)

Re: [PATCH] vim_is_xterm() and "screen"

2007-05-10 Thread Bram Moolenaar
resence of setaf/setbf (not a given, but...). I think you need to talk to more people than ncurses for changing the termcap/terminfo entries. But it's a good start. - Bram -- >From "know your smileys": :-FBucktoothed vampire with one tooth missing /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\help me help AIDS victims -- http://ICCF-Holland.org///

RE: 7.1a.001 OSX colour scheme errors?

2007-05-10 Thread Bram Moolenaar
ntime files, thus rgb.txt is there. I'll add a specific line to copy rgb.txt. -- I AM THANKFUL... ...for the clothes that fit a little too snug because it means I have more than enough to eat. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor

Re: [PATCH] gvim: Fix compilation against GNOME 2.18

2007-05-10 Thread Bram Moolenaar
Daniel Drake wrote: > gvim with FEAT_GUI_GNOME fails to compile against GNOME 2.18. See > https://bugs.gentoo.org/show_bug.cgi?id=176566 for more info. > > This patch solves the problem. Thanks. Looks safe to include now. -- There's no place like $(HOME)! /// Bram Mo

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Bram Moolenaar
the distribution. Otherwise links to tips can be added. I'm currently working on the 7.1 release and then will go travelling, thus I won't have much time to discuss the tips wiki. I certainly encourage everybody to make it work. After all, a wiki is a collaborative work! -- &

Re: [PATCH] vim_is_xterm() and "screen"

2007-05-09 Thread Bram Moolenaar
der as it was. Looks OK to me. If I understood your other message correctly then using "xterm2" for 'ttymouse' would not work for screen. -- >From "know your smileys": :-DBig smile /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /

Re: 7.1a.001 OSX colour scheme errors?

2007-05-09 Thread Bram Moolenaar
ra archive. Perhaps you didn't unpack it correctly? You must have unpacked it, since it contains src/gui_mac.c. And you must not change the directory structure, otherwise Vim.app can't be generated correctly. -- >From "know your smileys": :-XMy lips are seal

Re: Could you please give me the most bleeding-edge sources?

2007-05-09 Thread Bram Moolenaar
I don't know what you are talking about. The most recent version is the distributed archives plus the patches plus updated runtime files. In CVS is that minus runtime file updates. There are a few changes on my local harddisk, but they are not in a patch yet for good reasons. -- >F

Re: (Doc bug) Error in options.txt

2007-05-09 Thread Bram Moolenaar
Tony Mechelynck wrote: > One word under ":help 'ttymouse'" was obviously forgotten when that > option got more possible settings. See suggested patch, attached. To avoid it being forgotten again, I'll simply remove the count. -- >From "know your smileys

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Bram Moolenaar
. But without that the tips are still very useful. -- >From "know your smileys": O:-) Saint /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribut

Re: surprised by beta

2007-05-08 Thread Bram Moolenaar
;ve got the beta i feel committed, and will commence chasing > after the errors it spews from > > /usr/local/share/vim/vim71a/filetype.vim > > when i run it -- apparently the install created the 71a directory for me What errors? -- How many light bulbs does it take to

Re: vim_is_xterm() and "screen"

2007-05-08 Thread Bram Moolenaar
n this should be relatively simple. It's about time termcap/terminfo gets updated to support the features we need, instead of hacking solutions in all programs. I'm afraid I don't have time for this (the original development of termcap was closely related to the early development

Re: Compiling vim in mingw.

2007-05-08 Thread Bram Moolenaar
Markus Trenkwalder wrote: > Suresh Govindachar wrote: > > Bram Moolenaar wrote: > > > Markus Trenkwalder wrote: > > > > > >>checked out vim-7.1a.001 today from svn (#263) and tried to > > >>compile it with mingw-gcc an

Re: Vim version 7.1a BETA -- runtime files ?

2007-05-08 Thread Bram Moolenaar
Yakov Lerner wrote: > > > On 5/5/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Announcing: Vim (Vi IMproved) version 7.1a BETA > > > > > > I compared runtime files form ftp [1] and from svn [2]. > > > Both vims are labeled vim71

Re: Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Bram Moolenaar
Yakov Lerner wrote: > On 5/5/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Announcing: Vim (Vi IMproved) version 7.1a BETA > > I compared runtime files form ftp [1] and from svn [2]. > Both vims are labeled vim71a. But many runtimes are different. > In svn, many

Re: patch 7.1a.001

2007-05-07 Thread Bram Moolenaar
bed a whole bunch of files)? I don't know what happened. When I checkout the files from CVS now I don't see a problem in gui_w32.c. Was this a temporary problem? -- hundred-and-one symptoms of being an internet addict: 83. Batteries in the TV remote now last for mo

Re: Where to find 7.1a patchlevels & runtimes? (Was: patch 7.1a.001)

2007-05-07 Thread Bram Moolenaar
Tony Mechelynck wrote: > Bram Moolenaar wrote: > > Patch 7.1a.001 > > Problem:Crash when downloading a spell file. (Szabolcs Horvat) > > Solution: Avoid that did_set_spelllang() is used recursively when a new > > window is opened for the download. > &

Re: syntax highlighting addition

2007-05-07 Thread Bram Moolenaar
statement. > > fixed > > >> let b:current_syntax = "recipe" > > > > This should be > > > > let b:current_syntax = "conaryrecipe" > > fixed The only thing that I now spot is that the syntax items start with "conary&qu

Re: Compiling vim in mingw.

2007-05-07 Thread Bram Moolenaar
, which certainly is an odd number of legs for a horse. (4) But the only number that is both odd and even is infinity. (5) Therefore, horses must have an infinite number of legs. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http

patch 7.1a.001

2007-05-06 Thread Bram Moolenaar
Maintainer: Bram Moolenaar <[EMAIL PROTECTED]> ! " Last Change:2006 Aug 29 if !exists('g:spellfile_URL') let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' --- 1,6 " Vim script to download a missing spell file " Maintainer:

Re: Patch: virtcol([123,'$'])

2007-05-06 Thread Bram Moolenaar
Michael Schaap wrote: > On 26-Mar-2007 18:25, Bram Moolenaar wrote: > > Michael Schaap wrote: > > > >> Here's a patch to make virtcol([123, '$']) do the right thing. > >> If it looks good to you, can you include it? > >> >

Re: Vim version 7.1a BETA -- svn ?

2007-05-06 Thread Bram Moolenaar
Yakov Lerner wrote: > On 2007-05-05, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Announcing: Vim (Vi IMproved) version 7.1a BETA > > I tried to build vim7.1 from svn. But all I get from usual > svn location (https://svn.sourceforge.net/svnroot/vim/vim7), is >

Re: Vim version 7.1a BETA has been released

2007-05-06 Thread Bram Moolenaar
ere are many items I still didn't have time for, unfortunately. I assume you have properly tested this change. I'll include this one now. -- Q: Should I clean my house or work on Vim? A: Whatever contains more bugs. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net

Vim version 7.1a BETA has been released

2007-05-05 Thread Bram Moolenaar
t addict: 53. To find out what time it is, you send yourself an e-mail and check the "Date:" field. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribu

patch 7.0.243 (extra)

2007-05-05 Thread Bram Moolenaar
l you picked up was only a jpeg. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\help me help AIDS

patch 7.0.242 (extra)

2007-05-04 Thread Bram Moolenaar
8,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 242, /**/ -- Microsoft is to software what McDonalds is to gourmet cooking /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/spons

patch 7.0.241

2007-05-03 Thread Bram Moolenaar
me from nothing, you go back to nothing... What have you lost? Nothing! -- Monty Python: The life of Brian /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: [patch] search() flag to not use smartcase

2007-05-03 Thread Bram Moolenaar
the end of the file > 'W' don't wrap around the end of the file > If neither 'w' or 'W' is given, the 'wrapscan' option applies. Looks a bit inconsistent. Why not also add a flag to ignore 'ignorecase&

Re: Bug: windo and exceptions

2007-05-02 Thread Bram Moolenaar
(eap->cmdidx == CMD_tabdo) -- The 50-50-90 rule: Anytime you have a 50-50 chance of getting something right, there's a 90% probability you'll get it wrong. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim,

Re: Regex performance - SoC

2007-05-02 Thread Bram Moolenaar
ive it a shot, I think it'd be fun. Yes, two students were selected to work on this. Russ Cox volunteered to mentor them. - Bram -- Bumper sticker: Honk if you love peace and quiet. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote

patch 7.0.240

2007-05-02 Thread Bram Moolenaar
/**/ -- Just remember...if the world didn't suck, we'd all fall off. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org

patch 7.0.239

2007-05-02 Thread Bram Moolenaar
May 1 22:06:41 2007 --- src/version.c Tue May 1 23:21:32 2007 *** *** 668,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 239, /**/ -- Those who live by the sword get shot by those who don't. /// Bram Moolenaar -- [EMAIL PROTE

patch 7.0.238

2007-05-01 Thread Bram Moolenaar
= 0) *** ../vim-7.0.237/src/version.cTue May 1 19:06:39 2007 --- src/version.c Tue May 1 21:39:48 2007 *** *** 668,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 238, /**/ -- Change is inevitable, except from a ve

patch 7.0.237

2007-05-01 Thread Bram Moolenaar
.txt Tue Oct 10 18:43:50 2006 --- runtime/doc/options.txt Tue May 1 13:29:08 2007 *** *** 1,4 ! *options.txt* For Vim version 7.0. Last change: 2006 May 04 VIM REFERENCE MANUAL by Bram Moolenaar --- 1,4 ! *options.txt* For Vim version 7.0

patch 7.0.236

2007-05-01 Thread Bram Moolenaar
lim_cur; } # endif if (mem > 0) ! return mem; ! return (long_u)0x7fff; # endif } #endif --- 509,526 # ifdef RLIM_INFINITY && rlp.rlim_cur != RLIM_INFINITY # endif ! && ((long_u)rlp.rlim_cur >&g

Re: feedkeys() allowed in sandbox

2007-05-01 Thread Bram Moolenaar
Tony Mechelynck wrote: > Bram Moolenaar wrote: > [...] > > Modelines are default off when you are root. The mail filetype plugin > > also switches it off. > [...] > > Are you sure? In a terminal logged-in as root, using vim 7.0.235: > > vim -u NONE -N &g

Re: feedkeys() allowed in sandbox

2007-05-01 Thread Bram Moolenaar
type plugin also switches it off. > If I am overlooking something, or am overly alarmist, please > tell me. For anyone new to this, enter following in Google: > vim vulnerability modeline Thanks for the advertisement! :-). -- Give a man a computer program and you give him a headache, but t

Re: wish: show search progress on slow searches

2007-05-01 Thread Bram Moolenaar
[This is development, removed the Vim maillist] Yakov Lerner wrote: > On 4/29/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: > > On 4/29/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > > > Yakov Lerner wrote: > > > > > > &

Re: wish: show search progress on slow searches

2007-04-29 Thread Bram Moolenaar
-- Arthur Dent and Ford Prefect in Douglas Adams' "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: wish: collaboration of N vim instances editing same file

2007-04-29 Thread Bram Moolenaar
re of authentication. Perhaps such a server already exists? > Can this be added to SOC ? Too late. -- What a wonderfully exciting cough! Do you mind if I join you? -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTEC

Re: valgrind filetype detection

2007-04-29 Thread Bram Moolenaar
fferent? -- 'Well, here's something to occupy you and keep your mind off things.' 'It won't work, I have an exceptionally large mind.' -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- htt

Re: feedkeys() allowed in sandbox

2007-04-29 Thread Bram Moolenaar
Ciaran McCreesh wrote: > On Sat, 28 Apr 2007 21:52:07 +0200 > Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > I don't like this solution. Opening some files would be OK in the > > sandbox, e.g., for reading. readfile() would be OK in the sandbox, > > right?

Re: Dictionary functions & function() & Funcrefs & & E120

2007-04-29 Thread Bram Moolenaar
) It's a matter of name spaces. Inside a dictionary there is no conflict with Vim functions. In the global namespace Vim functions start with a lower case character, user functions with an upper case character. That's completely consistent. -- I am also told that there is a logic

Re: Viminfo & dictionaries

2007-04-29 Thread Bram Moolenaar
t; he cried. "What? Where?" cried Arthur, twisting around. "No, I was only fooling," said Ford, "we are going to die after all." -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http

Re: Syntax error: let a1 = 1 | let b = [1,2,3] | echo b[a1:-1] => Undefined variable a1:

2007-04-29 Thread Bram Moolenaar
or scopes and Sublist is not ideal. But it's hard to think of something that is better. Just always put a space before the ":" used for a Sublist. -- I'm not familiar with this proof, but I'm aware of a significant following of toddlers who believe that peanut butter

patch 7.0.235

2007-04-29 Thread Bram Moolenaar
e goes on to prove that black is white and gets himself killed on the next pedestrian crossing. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features

Re: feedkeys() allowed in sandbox

2007-04-28 Thread Bram Moolenaar
Andrew Maykov wrote: > On 4/28/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > >It's better to make sure the sandbox works as it should. > Yet another function to disable in sandbox: > vi: fdm=expr fde=writefile([""],"phantom_was_here") Yep,

Re: feedkeys() allowed in sandbox

2007-04-28 Thread Bram Moolenaar
John Beckett wrote: > Bram Moolenaar wrote: > > That's pretty nasty. I'll make a patch right away. > > Thanks. However, perhaps the modeline concept needs > more safety - defence in depth. > > Perhaps modelines should only allow a VERY limited set >

Re: vim 7.1?

2007-04-28 Thread Bram Moolenaar
Ian Tegebo wrote: > On 4/27/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Jonathan Smith wrote: > > > > > With the insane number of patches collecting against 7.0, and > > > presumably the new features accumulating in the devel tree, is a

Re: [PATCH] new ex command :lscscope

2007-04-27 Thread Bram Moolenaar
todo list. And await comments from others. -- How To Keep A Healthy Level Of Insanity: 2. Page yourself over the intercom. Don't disguise your voice. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vi

Re: possible bug: lowercase dotless "i" and langmap

2007-04-27 Thread Bram Moolenaar
This only works for 8-bit characters. The value of 'langmap' may be specified with multi-byte characters (e.g., UTF-8), but only the lower 8 bits of each character will be used. I guess most Turkish characters are in latin1, only the ones that are not won't work with

Re: feedkeys() allowed in sandbox

2007-04-27 Thread Bram Moolenaar
;. > > Now this is what I think it "ought" to do. How does it "actually" > behave? Did you try your example? Did it "touch" the file? That was the idea: The "sandbox" flag is checked when the keys are executed. However, the sandbox flag may have be

Re: vim 7.1?

2007-04-27 Thread Bram Moolenaar
Keep A Healthy Level Of Insanity: 4. Put your garbage can on your desk and label it "in". /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and

Re: feedkeys() allowed in sandbox

2007-04-27 Thread Bram Moolenaar
it infinitives that no man had split before -- and thus was the Empire forged. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://w

patch 7.0.234

2007-04-27 Thread Bram Moolenaar
" -- Marvin, the Paranoid Android in Douglas Adams' "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\

Re: syntax highlighting addition

2007-04-26 Thread Bram Moolenaar
> >> "HiLink pythonRepeat Repeat > >> "HiLink pythonString String > >> "HiLink pythonRawString String > >> "HiLink pythonEscape Special > >> "HiLink pythonOperatorOp

patch 7.0.233 (extra)

2007-04-26 Thread Bram Moolenaar
%x,%x\n",sb->id, val, size, max); #endif *** ../vim-7.0.232/src/version.cThu Apr 26 18:22:12 2007 --- src/version.c Thu Apr 26 18:41:08 2007 *** *** 668,669 --- 668,671 ---- { /* Add new patch number below this line */ + /**/ + 233, /**/ -- hundred-and

patch 7.0.232 (extra)

2007-04-26 Thread Bram Moolenaar
u Apr 26 17:23:28 2007 --- src/version.c Thu Apr 26 18:17:42 2007 *** *** 668,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 232, /**/ -- hundred-and-one symptoms of being an internet addict: 24. You realize there is not a sound in the ho

patch 7.0.231

2007-04-26 Thread Bram Moolenaar
hu Apr 26 17:08:16 2007 --- src/version.c Thu Apr 26 17:11:38 2007 *** *** 668,669 --- 668,671 { /* Add new patch number below this line */ + /**/ + 231, /**/ -- hundred-and-one symptoms of being an internet addict: 23. You can't call your mother...she doesn't h

patch 7.0.230

2007-04-26 Thread Bram Moolenaar
/doc/usr_41.txt Sun May 7 17:02:39 2006 --- runtime/doc/usr_41.txt Thu Apr 26 17:06:48 2007 *** *** 1,4 ! *usr_41.txt* For Vim version 7.0. Last change: 2006 Apr 30 VIM USER MANUAL - by Bram Moolenaar --- 1,4 ! *usr_41.txt* For Vim version 7.

patch 7.0.229

2007-04-26 Thread Bram Moolenaar
f being an internet addict: 20. When looking at a pageful of someone else's links, you notice all of them are already highlighted in purple. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\

patch 7.0.228

2007-04-26 Thread Bram Moolenaar
-- hundred-and-one symptoms of being an internet addict: 19. All of your friends have an @ in their names. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribu

patch 7.0.227

2007-04-26 Thread Bram Moolenaar
t your parents have moved and you don't have a clue when it happened. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute

patch 7.0.226

2007-04-26 Thread Bram Moolenaar
new patch number below this line */ + /**/ + 226, /**/ -- hundred-and-one symptoms of being an internet addict: 15. Your heart races faster and beats irregularly each time you see a new WWW site address in print or on TV, even though you've never had heart problems before.

patch 7.0.225

2007-04-26 Thread Bram Moolenaar
umber below this line */ + /**/ + 225, /**/ -- hundred-and-one symptoms of being an internet addict: 14. You start introducing yourself as "Jim at I-I-Net dot net dot au" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features --

Re: coredump with match by lines-range (7.0.222); highlighting is not painted fully.

2007-04-24 Thread Bram Moolenaar
:match Search /\%4078l\(\n\|.\)*\%4200l/ > and scroll down with ArrowDown, > vim crashes with SIGABRT after several presses of ArrowDown. I get "E363: pattern uses more memory than 'maxmempattern'", but also other errors. I'll see if that can be fixed. -- hundred-and

Re: [PATCH] Determining whether a window used :lcd

2007-04-24 Thread Bram Moolenaar
vim.vim as well to recognize that function? The > comment under the function syntax keyword specification indicates that > it is auto-generated, so I left it alone. Charles Campbell will send me an updated Vim syntax file later. I don't think this change is important enough to patch it

Re: [PATCH] Determining whether a window used :lcd

2007-04-24 Thread Bram Moolenaar
Bob Hiestand wrote: > On 4/20/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > It was still in my pile of messages to read. > > I apologize for my impatience. > > > I agree that a different function would be more useful. I prefer > > haslocaldir().

Re: search() and smartcase

2007-04-24 Thread Bram Moolenaar
case'. -- hundred-and-one symptoms of being an internet addict: 2. You kiss your girlfriend's home page. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\downl

Re: Vim's ole functionality

2007-04-22 Thread Bram Moolenaar
ce only bothers other people and therefore it is not worth optimizing. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: syntax highlighting addition

2007-04-20 Thread Bram Moolenaar
mail. Getting better. Nikola's comments also apply (thanks Nikola!). -- Sometimes you can protect millions of dollars in your budget simply by buying a bag of cookies, dropping it on the budget anylyst's desk, and saying something deeply personal such as "How was your wee

Re: [PATCH] Determining whether a window used :lcd

2007-04-20 Thread Bram Moolenaar
ou change your patch? -- The only way the average employee can speak to an executive is by taking a second job as a golf caddie. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sp

Re: Gvim blinking on processing netbeans commands

2007-04-20 Thread Bram Moolenaar
care of redrawing. -- At some point in the project somebody will start whining about the need to determine the project "requirements". This involves interviewing people who don't know what they want but, curiously, know exactly when they need it. (Scot

Re: Multi-byte in the special key

2007-04-19 Thread Bram Moolenaar
o reengineering like frat boys to a drunken cheerleader. (This analogy wasn't necessary, but I'm trying to get my mind off that Hammer and Champy thing.) (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar

  1   2   3   4   5   6   7   8   9   >