Re: Problem setting 'fileformat'

2017-01-23 Thread Bram Moolenaar
ning > > only that autocommand and I moved aside my ~/.vim directory. I even > > ran vim as "vim -N --noplugin", all with the same results. > > Yeah, readfile() does not expect autocommands to change those values. > > Attached is a patch that fixes it. Thanks! -- A

Re: annoying PasteStart/PasteEnd

2017-01-23 Thread Bram Moolenaar
LAUNCELOT races through into the castle screaming. SECOND SENTRY: Hey! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- h

Re: Command-line Window crashing Vim after v8.0.0159

2017-01-11 Thread Bram Moolenaar
ybe it contains something harmful. -- hundred-and-one symptoms of being an internet addict: 245. You use Real Audio to listen to a radio station from a distant city rather than turn on your stereo system. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor V

Re: Command-line Window crashing Vim after v8.0.0159

2017-01-10 Thread Bram Moolenaar
using the command-line window. Can someone > help? Try 8.0.0160. -- hundred-and-one symptoms of being an internet addict: 244. You use more than 20 passwords. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- h

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

2017-01-08 Thread Bram Moolenaar
newer versions that could be a problem, especially early minor releases of a major release. These quite often have quirks or bugs. -- hundred-and-one symptoms of being an internet addict: 227. You sleep next to your monitor. Or on top of it. /// Bram Moolenaar -- b...@moolenaar.net -- http://www

Re: 'maxfuncdepth' ignored

2017-01-02 Thread Bram Moolenaar
imply to boost > 'maxfuncdepth' long enough to recurse the tree. If there's no way around the > 200 maximum, I'll probably have to rewrite the algorithm to use breadth-first > traversals, rather than the much more natural (and simple) tree recursion. I think that we can also used

Re: Fold-related bug and pointer to fix

2016-12-16 Thread Bram Moolenaar
e a while. -- The difference between theory and practice, is that in theory, there is no difference between theory and practice. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exc

Re: job_start the make command

2016-12-16 Thread Bram Moolenaar
to review this, so that it fits the need of more than just me. -- hundred-and-one symptoms of being an internet addict: 123. You ask the car dealer to install an extra cigarette lighter on your new car to power your notebook. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Mool

Re: job_start the make command

2016-12-14 Thread Bram Moolenaar
e the same arguments as :make and use the 'makeprg' option. Only that the quickfix list is set much later. Could call it :MakeBackground. My wishlist: - When using it again before the previous job is finished, prompt the user if he wants to abort the already running job. I quite often ru

Vim 25 birthday presentation

2016-12-14 Thread Bram Moolenaar
find it here: https://youtu.be/ayc_qpB-93o Happy Vimming! -- hundred-and-one symptoms of being an internet addict: 115. You are late picking up your kid from school and try to explain to the teacher you were stuck in Web traffic. /// Bram Moolenaar -- b...@moolenaar.net -- http

Vim calendar for 2017

2016-12-10 Thread Bram Moolenaar
://jeffshan.blogspot.ch/2016/11/famine-relief.html Happy Vimming! -- Facepalm reply #9: "Speed up, you can drive 80 here" "Why, the cars behind us are also driving 60" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote

Re: Hiding cursor with t_ve in terminal

2016-11-20 Thread Bram Moolenaar
as displayed. Now that text is drawn instantly, updating the cursor just becomes flickering. So Vim disables the cursor before drawing text, and switches it back on when done. The setting is termcap thing, telling Vim what escape sequence to use. -- A day without sunshine is like, we

Re: default.vim getting sourced even when vimrc is present

2016-11-07 Thread Bram Moolenaar
have different objectives when it comes to social interaction. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Updated Vim 8.0 available with 69 patches

2016-11-06 Thread Bram Moolenaar
coating would make showering unnecessary. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org

Re: after vim 8 installation, yanking (yy) doesn't work in global command and macros

2016-11-05 Thread Bram Moolenaar
ortunately I can't reproduce the problem... Does this only happen on MS-Windows? -- Female engineers become irresistible at the age of consent and remain that way until about thirty minutes after their clinical death. Longer if it's a warm day. (Scott Adams - The

Re: Can I count on buffer numbers never being re-used within a session?

2016-11-03 Thread Bram Moolenaar
OUR CIVILIZATION UNTIL ENTROPY REACHES ITS MAXIMUM! IT REALLY WORKS! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org

Re: E117: Unknown function, dict member called as timer's handler

2016-10-22 Thread Bram Moolenaar
timers') > let s:timer = timer_start(1000, > \ FuncName, {'repeat': 10}) > else > echo "timers not supported by your version of vim" > endif > endfu Yeah, that doesn't work. Why turn the function ref

Re: Different colors on -t vs :ta

2016-10-13 Thread Bram Moolenaar
t; in surprise and alarm! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming

Re: Spam on vim.org

2016-10-01 Thread Bram Moolenaar
Paul wrote: > http://www.vim.org/scripts/script.php?script_id=5455 looks like spam to me. Yeah, looks weird. I have deleted it. -- Seen on the back of a biker's vest: If you can read this, my wife fell off. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.

Re: syntax match bug: 'keepend' not officially supported, but required in some cases

2016-09-29 Thread Bram Moolenaar
ended. When using a transparent item, checking for contained items ignores that transparent item. So the "containedin=A" applies every time. This can be avoided by add "contains=NONE to the Inside item: syn match Inside /[A-Z]\+/ transparent contained containedin=A co

Re: Cursor doesn't move to top of screen when issuing a 'zt'

2016-09-24 Thread Bram Moolenaar
olloff to 5 in defailts.vim if you don't have your own vimrc. -- Not too long ago, compress was something you did to garbage... /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciti

Re: syntax match bug: 'keepend' not officially supported, but required in some cases

2016-09-19 Thread Bram Moolenaar
g > something about contained and containedin? Something seems wrong. Also try this: syn match A /A/ syn match Inside /[A-Z]/ transparent contained containedin=A hi A guifg=green ctermfg=green Now every fourth character is highlighted. Hmm. -- Facepalm statement #8: "Drive faster, th

Re: Value of $VIM differs 7.4 2344 vs 8

2016-09-15 Thread Bram Moolenaar
uot;. -- Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95" Windows 95: "Press CTRL-ALT-DEL to reboot" Windows NT 4.0: "Press CTRL-ALT-DEL to login" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.ne

Re: Vim 8 64-bit for windows 10? -> run 32bit

2016-09-14 Thread Bram Moolenaar
eegee/generic/vim_x64/# > but there currently is no build for Vim 8. Yes, if your interfaces are 64 bit you should use 64 bit Vim. It uses a lot more memory, that's why the 32 bit version is the default. -- A cow comes flying over the battlements, lowing aggressively. The cow lan

Re: Vim 8.0 released!

2016-09-13 Thread Bram Moolenaar
tank. One says to the other: "Do you know how to drive this thing?" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.o

Re: Vim 8.0 released!

2016-09-12 Thread Bram Moolenaar
Paul wrote: > The intro page still says: > > type :help version7 for version info Good point. Nice first patch for 8.0 :-). -- If you're sending someone Styrofoam, what do you pack it in? /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Vim 8.0 released!

2016-09-12 Thread Bram Moolenaar
wants to live in an institution?" - Groucho Marx /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org/// \\\help

Re: Syntax highlighting error with Bibtex files

2016-09-12 Thread Bram Moolenaar
without making a single reference to Star Trek!" (Scott Ambler, reviewing the UML User Guide) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new p

Vim 7.4y ready for beta testing

2016-09-06 Thread Bram Moolenaar
nce it is fixed. See https://github.com/vim/vim Happy Vimming! -- hundred-and-one symptoms of being an internet addict: 187. You promise yourself that you'll only stay online for another 15 minutes...at least once every hour. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net

Re: Vimfest Berlin

2016-09-02 Thread Bram Moolenaar
Christian Brabandt wrote: > On Do, 01 Sep 2016, Bram Moolenaar wrote: > > > Hello Vim users, > > > > If you are interested in meeting Vim users: Vimfest is happening in > > Berlin Sept. 16-18. > > > > The schedule is now available: http://vi

Vimfest Berlin

2016-09-01 Thread Bram Moolenaar
. -- "A clear conscience is usually the sign of a bad memory." -- Steven Wright /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programmin

Vim 7.4x ready for beta testing

2016-08-28 Thread Bram Moolenaar
will pass once it is fixed. See https://github.com/vim/vim Happy Vimming! -- Q: What kind of stuff do you do? A: I collect hobbies. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ a

Re: Changing the defaults with Vim 8

2016-08-20 Thread Bram Moolenaar
rly. But one second is indeed too much. I have it set to 200, this still has some lag. I think 100 would work for just about everyone. -- Latest survey shows that 3 out of 4 people make up 75% of the world's population. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \

Re: Vim 8 pre-announcement

2016-08-18 Thread Bram Moolenaar
d a text-based web browser. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org/// \\\help me help AIDS vict

Re: Vim 8 pre-announcement

2016-08-17 Thread Bram Moolenaar
ny solutions were suggested for this problem, but most of these were largely concerned with the movements of small green pieces of paper, which is odd because on the whole it wasn't the small green pieces of paper that were unhappy. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

Vim 8 pre-announcement

2016-08-16 Thread Bram Moolenaar
report bugs you find. Happy Vimming! PS. If you are interested in meeting Vim users: Vimfest is happening in Berlin Sept. 16-18. http://vimfest.org -- How To Keep A Healthy Level Of Insanity: 9. As often as possible, skip rather than walk. /// Bram Moolenaar -- b...@moolenaar.net -- http

Re: How does one load plugin-specific settings after a plugin with the new packages feature?

2016-08-13 Thread Bram Moolenaar
kages and then load the > > entries ending in "after". > > > > Is that not too weird? > > > > I'll use whatever is intuitive and implemented. :-) This has been implemented and nobody complained. That usually means it works well. -- hundred-and-one sy

Re: How does one load plugin-specific settings after a plugin with the new packages feature?

2016-08-05 Thread Bram Moolenaar
THUR: The Britons. OLD WOMAN: Who are the Britons? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: vim.exe: shortens Command Prompt window

2016-08-02 Thread Bram Moolenaar
. SOLDIER: Found them? In Mercea. The coconut's tropical! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\

Re: Changing the defaults with Vim 8

2016-07-26 Thread Bram Moolenaar
Tony Mechelynck wrote: > On Mon, Jul 25, 2016 at 10:10 PM, Christian Brabandt <cbli...@256bit.org> > wrote: > > Hi Bram! > > > > On So, 24 Jul 2016, Bram Moolenaar wrote: > > > >> > please no hlsearch. That is most often annoying. > >>

Re: Changing the defaults with Vim 8

2016-07-25 Thread Bram Moolenaar
on the Kung Fu and karate-type films ensues, in which some four KNIGHTS are comprehensively killed.] ARTHUR: Run away! Run away! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\

Re: Changing the defaults with Vim 8

2016-07-24 Thread Bram Moolenaar
ser does > not expect it) OK. > and possibly also: > :set laststatus=2 That takes an extra line from the screen. I suppose it's useful if you have a plugin for a super status line. -- The Law of VIM: For each member b of the possible behaviour space B of program P, there exists a finite time t before whi

Changing the defaults with Vim 8

2016-07-24 Thread Bram Moolenaar
l') packadd matchit endif Comments? -- TALL KNIGHT: When you have found the shrubbery, then you must cut down the mightiest tree in the forest ... with a herring. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b.

Re: Recent version of vim for windows?

2016-07-17 Thread Bram Moolenaar
. -- FATHER:Who are you? PRINCE:I'm ... your son ... FATHER:Not you. LAUNCELOT: I'm ... er ... Sir Launcelot, sir. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net

Re: Difficulty with Packages

2016-06-29 Thread Bram Moolenaar
gin(). -- hundred-and-one symptoms of being an internet addict: 164. You got out to buy software, instead of going out for a beer. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an excit

Re: Difficulty with Packages

2016-06-28 Thread Bram Moolenaar
Although the scythe isn't pre-eminent among the weapons of war, anyone who > > has been on the wrong end of, say, a peasants' revolt will know that in > > skilled hands it is fearsome. > > -- (Terry Pratchett, Mort) > > > > /// Bram Mo

Re: Difficulty with Packages

2016-06-27 Thread Bram Moolenaar
ing and what you see happens? -- Although the scythe isn't pre-eminent among the weapons of war, anyone who has been on the wrong end of, say, a peasants' revolt will know that in skilled hands it is fearsome. -- (Terry Pratchett, Mort) /// Bram Moolenaar -

Re: Continuation line doesn't work when executing from register

2016-06-26 Thread Bram Moolenaar
n source is like selling water. There are water companies like Perrier and Poland Spring, but you're competing with something that's free." -- Carl Howe /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- htt

Re: Channel commands: special characters, quotes and escaping

2016-05-25 Thread Bram Moolenaar
call feedkeys("ggOHello, world!\\e")'] does not Yes, you must use double quoted strings. And then take care of what Python does with the backslashes. -- hundred-and-one symptoms of being an internet addict: 10. And even your night dreams are in HTML. /// Bram Moolenaar -- b...@moolen

Re: Channel commands: special characters, quotes and escaping

2016-05-24 Thread Bram Moolenaar
dkeys("ggOHello, world!\e") And then Vim will interpret the \e in double quotes as an escape. -- Bad fashion can discourage normal people from interacting with the engineer and talking about the cute things their children do. (Scott Adams - The Dilbert pr

Re: dictionary completion for words including `@' sign

2016-05-20 Thread Bram Moolenaar
here it applies in different situations. But that didn't get realized yet. A workaround is to remap certain keys, e.g. Tab, to set the option, perform the operation, and restore the option. -- Hacker: Someone skilled in computer programming (good guy). Cracker: A hacker that uses his skills to crack soft

Re: Missing symbols file (pdb) for current gvim windows build (gvim74-1024.exe)

2016-05-17 Thread Bram Moolenaar
Christian Brabandt wrote: > On Mo, 16 Mai 2016, Bram Moolenaar wrote: > > > 99% of users will never use the file, there is not much point in > > including it in the installer. It can be made available separately, so > > that when someone wants to debug the exe

Re: Argument complaint

2016-05-17 Thread Bram Moolenaar
Oh, very nice. King, eh! I expect you've got a palace and fine clothes and courtiers and plenty of food. And how d'you get that? By exploiting the workers! By hanging on to outdated imperialist dogma which perpetuates the social and economic differences in our society!

Re: Missing symbols file (pdb) for current gvim windows build (gvim74-1024.exe)

2016-05-16 Thread Bram Moolenaar
Christian Brabandt wrote: > On Sa, 14 Mai 2016, Bram Moolenaar wrote: > > > > > Christian Brabandt wrote; > > > > > On Fr, 13 Mai 2016, Ken Takata wrote: > > > > > > > Hi, > > > > > > > > 2

Re: Missing symbols file (pdb) for current gvim windows build (gvim74-1024.exe)

2016-05-14 Thread Bram Moolenaar
Christian Brabandt wrote; > On Fr, 13 Mai 2016, Ken Takata wrote: > > > Hi, > > > > 2016/5/13 Fri 4:59:07 UTC+9 Bram Moolenaar wrote: > > > Gabriele Fava wrote; > > > > > > > Hello, I was looking for the symbols file of the latest

Re: Missing symbols file (pdb) for current gvim windows build (gvim74-1024.exe)

2016-05-12 Thread Bram Moolenaar
s it? -- I used to wonder about the meaning of life. But I looked it up in the dictionary under "L" and there it was - the meaning of life. It was less than I expected. - Dogbert /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: SIGBUS in Vim 7.4

2016-05-11 Thread Bram Moolenaar
exp_nfa.c:7354, rmp pointer is copied in > global variable reg_mmatch. That's dangerous since > rmp pointed to a variable in the stack in regmatch > at syntax.c:1904. So when regmatch(...) function > returns, there is a danger that global variable > reg_mmatch still points to an unw

Re: Understanding job_start()

2016-05-08 Thread Bram Moolenaar
t;nl" or "raw", but the result is the same. Ditto for "err_io":"buffer". > > This still behaves the same. Am I misunderstanding how this feature is meant > to be used? Somehow the test for this passes, but your example fails. Try the next patch. -- We a

Vim charity: visit report

2016-05-07 Thread Bram Moolenaar
://goo.gl/photos/ukDzUAtNWQXDxfzY7 And a short video: http://youtu.be/5N0pcT6g5A4 -- An SQL statement walks into a bar. He approaches two tables and says, "Mind if I join you?" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote fo

Re: Understanding job_start()

2016-05-07 Thread Bram Moolenaar
left corner of the screen. Surprisingly I can reproduce this. Will have to find out what goes wrong, I thought this was working. I also see the job with "defunc" status. -- Did Adam and Eve have navels? /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Understanding job_start()

2016-05-06 Thread Bram Moolenaar
It appears on Windows it just skips creatting the pipes, but doesn't connected them to /dev/null (if such a thing exists on Windows). You mention a callback, but your code doesn't show any callback. If you mean the exit_cb for the job, that is indeed called after some delay. You can speed it up by

Re: Capture columns nummers of matches ending with double byte chars

2016-04-26 Thread Bram Moolenaar
Who Say Ni! ONE KNIGHT: Ni! OTHERS: Sh! ONE KNIGHT: (whispers) Sorry. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vi

Re: Standard plugins in next Vim release

2016-04-24 Thread Bram Moolenaar
ake it easier to load and update them. For the plugins that are loaded by default it doesn't really have an advantage to have them in a package. It can break some things, so let's just leave them where they are. -- It's not hard to meet expenses, they're everywhere. /// Bram Moolenaar -- b...@mool

Re: how I can quickly change number like this

2016-04-18 Thread Bram Moolenaar
use/tET37NdW7LM > > The one I use a lot from it (credit to OP of course) would be to do this > > :let i = 13 > :g/13/s//\=i/|let i+=1 If all the "13" are alligned there is a simpler way: Use CTRL-V to visually select every "13", then type g CTRL-A. -- You had

Re: Load all opt plugins in a package at once?

2016-04-02 Thread Bram Moolenaar
other optional plugins that the user may want to load or not. :packaddall sounds more like "load everything that happened to be in that archive". Might work now, but with the next update it might add a plugin for debugging that you don't want. -- hundred-and-one symptoms of being an

Re: Packages and plugin's subdirectories

2016-03-30 Thread Bram Moolenaar
se kicks in. Good point, we don't want this to work differently. -- If Apple would build a car... ... it would be powered by the sun, be reliable, five times as fast and twice as easy to drive; but would only run on five percent of the roads. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moo

Re: Packages and plugin's subdirectories

2016-03-29 Thread Bram Moolenaar
also search in subdirectories, let's hear it. -- You're as much use as a condom machine at the Vatican. -- Rimmer to Holly in Red Dwarf 'Queeg' /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www

Re: Packages: best practices?

2016-03-26 Thread Bram Moolenaar
Andy Wokula wrote: > Am 26.03.2016 um 19:31 schrieb Nicola: > > On 2016-03-26 17:56:34 +0000, Bram Moolenaar said: > > >> I suppose there is no easy way to know if VimEnter already fired. > > >> Perhaps we need a flag that indicatest this, so you can do:

Re: Packages: best practices?

2016-03-26 Thread Bram Moolenaar
it() endif Something like that? -- All true wisdom is found on T-shirts. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zi

Re: Packages

2016-03-19 Thread Bram Moolenaar
quot; directory in a package? -- Q: What is a patch 22? A: A patch you need to include to make it possible to include patches. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an excit

Vim charity: financial report 2015

2016-03-10 Thread Bram Moolenaar
made President should on no account be allowed to do the job. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.o

Re: Packages

2016-03-08 Thread Bram Moolenaar
econd that. That was a very nice explanation. The more I think about it, the more I think we should relate it to when the directories are used. That is during startup. So we could use "start" and "opt". Makes sense? -- hundred-and-one symptoms of being an internet addict:

Re: Packages

2016-03-07 Thread Bram Moolenaar
every directory under ~/.vim > > > and ~/.vim/after to be searched recursively for an "ever" directory. I > > > don't see anything special about the "pack" directory in the help, but > > > just putting a new "ever" directory unde

Re: Packages

2016-03-07 Thread Bram Moolenaar
g for always, or automatically. Perhaps "auto" is better? Could be confused with "autoload" though. It's also related to startup and initialization. "init" doesn't seem right though. -- A)bort, R)etry, P)lease don't bother me again /// Bram Moolenaar -- b...@moolenaa

Re: Packages

2016-03-05 Thread Bram Moolenaar
Ben Fritz wrote: > > > On Thursday, March 3, 2016 at 2:02:52 PM UTC-6, Bram Moolenaar wrote: > > > > Matthew Desjardins wrote: > > > > > > > > > On Friday, February 26, 2016 at 9:20:00 AM UTC-5, Matthew Desjardins > > > > > wrot

Re: Packages

2016-03-05 Thread Bram Moolenaar
Eric Christopherson wrote: > On Fri, Mar 04, 2016, Matthew Desjardins wrote: > > On Friday, March 4, 2016 at 12:37:08 PM UTC-5, Bram Moolenaar wrote: > > > It does add the extra directory level, so that groups of plugins can be > > > installed together. Some instal

Re: Packages

2016-03-04 Thread Bram Moolenaar
Lcd wrote: > On 4 March 2016, Nikolay Aleksandrovich Pavlov <zyx@gmail.com> wrote: > > 2016-03-04 14:25 GMT+03:00 LCD 47 <lcd...@gmail.com>: > > > On 3 March 2016, Bram Moolenaar <b...@moolenaar.net> wrote: > > > [...] > > >> I reali

Re: Packages

2016-03-04 Thread Bram Moolenaar
Ben Fritz wrote: > On Thursday, March 3, 2016 at 2:02:52 PM UTC-6, Bram Moolenaar wrote: > > Matthew Desjardins wrote: > > > > > On Friday, February 26, 2016 at 9:20:00 AM UTC-5, Matthew Desjardins > > > wrote: > > > > There have been a coupl

Re: Packages

2016-03-03 Thread Bram Moolenaar
and loaded manually with > ":packadd"? Either that or create an empty plugin file. I realize several people who have previously been using Pathogen are confused. Perhaps we can just put every directory under "pack/*/ever" in 'runtimepath'? -- It is too bad that the

Re: Packages

2016-03-01 Thread Bram Moolenaar
er. Therefore, VI is perfect. QED -- Arthur Tateishi /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming lan

Re: Packages

2016-02-27 Thread Bram Moolenaar
Ben Fritz wrote: > On Friday, February 26, 2016 at 12:02:42 PM UTC-6, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > > > > Really a plugin directory is necessary? That sounds awkward. What about > > > colorschemes, indent or ftplugins and syntax

Re: Packages

2016-02-26 Thread Bram Moolenaar
Christian Brabandt wrote: > On Fr, 26 Feb 2016, Bram Moolenaar wrote: > > > > > Matthew Desjardins wrote: > > > > > There have been a couple of people posting about how the new package > > > feature can, in its current state, replace Pathogen. &g

Re: Packages

2016-02-26 Thread Bram Moolenaar
r jailing. [real standing law in Florida, United States of America] /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.

Re: Newbie Setup Advice

2016-02-23 Thread Bram Moolenaar
all doc/tags files And perhaps: :PackUpdate find all git/mercurial repositories under 'packpath' and update them. These can be done with Vim script. Any volunteers? -- There are three kinds of people: Those who can count & those who can't. /// Bram Moolenaar -- b...@moolenaar

Re: How to get rounded bullet list character

2016-02-20 Thread Bram Moolenaar
:-P) > so it's suggestion of /usr/X11R6/lib/X11/... is wrong. On my system, it > is in /usr/share/X11/locale/..., but the Compose file for my locale only > has a few entries, and there are many more combinations that work. I > haven't found any way to get the complete li

Re: gF doesn't work with latest vim on Windows

2016-02-19 Thread Bram Moolenaar
s instead the same as v_gf, and just edits a file. > > Is there a good reason for that discrepancy? The visual selection is used to locate the file name. Then how do we find the line number after it? Perhaps we can make both work better if we have characters for "gF" that can

Re: How to get rounded bullet list character

2016-02-19 Thread Bram Moolenaar
by "li" in insert mode to get the character. Is this "li" some standard? I notice this entry is missing from the Vim digraphs, perhaps that list needs to be updated. -- You had connectors? Eeee, when I were a lad we 'ad to carry the bits between the computer and the terminal w

Re: inclusive-linewise: Is the help topic wrong?

2016-02-10 Thread Bram Moolenaar
soft.com: ERROR_SUCCESS 0 (0x0) The operation completed successfully. I have always suspected that for Microsoft success is an error. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting

Re: Feature or bug? dw oddities

2016-02-08 Thread Bram Moolenaar
Christian Brabandt wrote: > Hi Bram! > > On Sa, 06 Feb 2016, Bram Moolenaar wrote: > > > There are a few more places in the docs that need to point to this flag. > > > > Is there a better character than "_" to use for this? > > Updated patch

Re: Feature or bug? dw oddities

2016-02-06 Thread Bram Moolenaar
two different behaviors. Is there a better character than "_" to use for this? -- hundred-and-one symptoms of being an internet addict: 149. You find your computer sexier than your girlfriend /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor

Re: Multi-language support broken with patch 1165

2016-01-27 Thread Bram Moolenaar
ne symptoms of being an internet addict: 51. You put a pillow case over your laptop so your lover doesn't see it while you are pretending to catch your breath. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://ww

Re: Tcl code breaks the build after patch 1182

2016-01-27 Thread Bram Moolenaar
proto\channel.pro(5) : see declaration of > 'channel_close' > if_tcl.c(1653) : warning C4113: 'void (__cdecl *)(int)' differs in > parameter lists from 'Tcl_DriverCloseProc (__cdecl *)' Should be fixed now. -- hundred-and-one symptoms of being an internet addict: 50. The last girl you picke

Re: Percentage of distros using Python enabled Vim?

2016-01-19 Thread Bram Moolenaar
ne) and install the first vim package they find. Nice graph. I'm not sure if it's fair, but "emacs" does not get close.. -- hundred-and-one symptoms of being an internet addict: 8. You spend half of the plane trip with your laptop on your lap...and your child in the overhead compart

Re: Something's broken in gvim74-1024.exe

2016-01-12 Thread Bram Moolenaar
sight of a MAN falling into a well. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting

Re: Try this with release gvim74-1024.exe

2016-01-12 Thread Bram Moolenaar
aning of life. It was less than I expected. - Dogbert /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org///

Re: Make vim use hunspell?

2016-01-12 Thread Bram Moolenaar
;I've been teaching myself to play the piano for about 5 years and now write most of my songs on it, mainly because I can never find any paper." Jeff Lynne, ELO's greatest hits /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vo

Re: (inconsistent?) behavior of environment variables

2016-01-02 Thread Bram Moolenaar
c runes, upon the very living rock, the last words of Olfin Bedwere of Rheged make plain the last resting place of the most Holy Grail. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.ne

Re: When is an xterm's t_Co detected?

2015-12-31 Thread Bram Moolenaar
quot;Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org//

Re: When is an xterm's t_Co detected?

2015-12-31 Thread Bram Moolenaar
ackground'. And if "nested" > was used, it would trigger a ColorScheme event. > > That all seems OK. I'll look at creating a patch. The color schemes are reloaded when t_Co changes, perhaps you can set a color scheme that checks the value of t_Co? -- There are three kinds

Re: Apparent regex bug involving `\_.' (and other newline-matching constructs)

2015-12-28 Thread Bram Moolenaar
not to be the case: the submatch errors are simply a > consequence of the incorrectly determined start locations. Also, it appears > the results would have been the same with * as they were with \{-}. > Finally, the unexpected behavior is not limited to \_., but is seen even > when

<    1   2   3   4   5   6   7   8   9   10   >