Re: vim9 Equivalence of __FILE__, __LINE__, and __FUNCTION__ usage in C++

2023-07-06 Thread Bram Moolenaar
Yegappan wrote: > On Tue, Jul 4, 2023 at 1:11 PM Lifepillar wrote: > > > > On 2023-07-04, Nicolas wrote: > > > Hi, > > > > > > Is there an equivalence in vim9 of __FILE__, __LINE__, and __FUNCTION__ > > > usage in C++ > >

Re: Error detected while processing /var/lib/vim/addons/plugin/02tlib.vim line 77: E1208: -complete used without allowing arguments

2023-07-06 Thread Bram Moolenaar
r? I don't think we can fix this in Vim. The error is valid, if we skip it then mistakes will go unnoticed. With Vim 9 script we want to find more errors, not less. So long as they are valid errors. -- Women are probably the main cause of free software starvation.

Re: t_fe and t_fd in tmux corrupts split with ^[[O

2023-06-26 Thread Bram Moolenaar
> On Sat, 24 Jun 2023 19:35:47 +0100 > Bram Moolenaar wrote: > > You need to tell Vim to recognize these escape sequences: > > > > execute "set =\[I" > > execute "set =\[O" > > > > Since this is quite common it was m

Re: t_fe and t_fd in tmux corrupts split with ^[[O

2023-06-24 Thread Bram Moolenaar
u only need to define the escape sequences for older Vim versions. -- hundred-and-one symptoms of being an internet addict: 231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner in the front doorway permanently so it always looks like you are actually attempting to

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-21 Thread Bram Moolenaar
issues, but the team working on the Windows Terminal has been responsive. I hope at least one of them is using Vim and fixes any encountered problems. That's why Vim works well in the Chrome secure shell :-). > Should there be smoke coming out of my CPU? No, it's bad for the cooling syste

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-21 Thread Bram Moolenaar
ng this work properly is well worth it. -- Some of the well known MS-Windows errors: ETIME Wrong time, wait a little while ECRASH Try again... EDETECT Unable to detect errors EOVER You lost! Play another game? ENOCLUE

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-21 Thread Bram Moolenaar
nce running in a terminal window, initiated from the Vim instance that has the terminal window. -- hundred-and-one symptoms of being an internet addict: 196. Your computer costs more than your car. /// Bram Moolenaar -- b...@moolenaar

Re: Change cursor shape in command-line mode

2023-06-17 Thread Bram Moolenaar
u CmdlineEnter * call echoraw("\]12;red\x7") au CmdlineLeave * call echoraw("\]12;blue\x7") -- What is the difference between a professional and an amateur? The ark was built by an amateur; professionals gave us the Titanic. /// Bram Moolenaar -- b...@

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-17 Thread Bram Moolenaar
join/split lines, etc.? I hope you can give an example that is simple and reproduces the problem consistently. -- I thought I was eating a crab salad. It turned out to be a crap salad. /// Bram Moolenaar -- b

Re: How to disable and replace Vim's standard formatting of Pascal

2023-06-14 Thread Bram Moolenaar
want. Suggestion: Use "setlocal" instead of "set" to avoid affecting other files. You only want to apply these options locally. -- hundred-and-one symptoms of being an internet addict: 166. You have been on your computer soo long that you didn't realize you had grandchil

Re: documenting my own plugins?

2023-06-12 Thread Bram Moolenaar
use packages, see ":help package-create". This has the advantage that related files for the "foo" plugin are under one directory. That matters if you want to move the plugin. -- hundred-and-one symptoms of being an internet addict: 156. You forget your friend's name but not

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-08 Thread Bram Moolenaar
;broken" for more than a day. -- In a world without fences, who needs Gates and Windows? /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-07 Thread Bram Moolenaar
Christian wrote: > On Di, 06 Jun 2023, Bram Moolenaar wrote: > > > I have created a ticket. Unfortunately the information we have is not > > very specific, that makes it difficult to pinpoint the problem. If you > > notice the problem, plesae gather as muc

Re: luaeval returns number out of float

2023-06-06 Thread Bram Moolenaar
;echo Foo()"? I cannot guess what the problem is, this appears to work fine: def Foo(): float return luaeval('math.pi') enddef -- I have a watch cat! Just break in and she

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-06 Thread Bram Moolenaar
John Beckett wrote: > On Tuesday, June 6, 2023 at 3:31:29 AM UTC+10 Bram Moolenaar wrote: > > > I have see some DB errors the last few days. Usually the problem goes > > away a bit later, e.g. after an hour. I have no clue what might cause this. > > Are

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-05 Thread Bram Moolenaar
Christian wrote: > On Sa, 03 Jun 2023, Lifepillar wrote: > > > On 2023-06-02, Bram Moolenaar wrote: > > > > > You could try using another browser. > > > > I have tried with Safari, Brave, and LibreWolf (~Firefox) on macOS to no > > avail. I have

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-03 Thread Bram Moolenaar
is is about one product, I don't see the relation with "ANY" here. -- hundred-and-one symptoms of being an internet addict: 112. You are amazed that anyone uses a phone without data...let alone hear actual voices. /// Bram Moolenaar -- b...@moolenaar.net --

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-03 Thread Bram Moolenaar
of being an internet addict: 109. You actually read -- and enjoy -- lists like this. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http:

Re: [vim 9 script] String indexing behavior different from legacy Vim

2023-06-03 Thread Bram Moolenaar
ve to try it out to know what happens in your situation. -- hundred-and-one symptoms of being an internet addict: 102. When filling out your driver's license application, you give your IP address. /// Bram Moolenaar -- b...@moolenaar.net --

Re: [vim 9 script] String indexing behavior different from legacy Vim

2023-06-03 Thread Bram Moolenaar
> On 2023-06-03, Bram Moolenaar wrote: > > > >> Legacy Vim script: > >> > >> let text = 'àbc' > >> echo text[2] > >> > >> Result: 'b' > >> > >> Vim 9 script: > >> > >> const text = 'à

Re: [vim 9 script] String indexing behavior different from legacy Vim

2023-06-03 Thread Bram Moolenaar
script the index is in characters. In legacy script it is in bytes. The help for this doesn't have it's own tag, I'll add one. You can find it above ":help vim9-gotchas". -- hundred-and-one symptoms of being an internet addict: 101. U can read htis w/o ny porblm and can

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-06-02 Thread Bram Moolenaar
it... How many of you have made "modem noises" into the phone just to see if it was possible? :-) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote f

Re: Multiple windows get corrupted

2023-06-02 Thread Bram Moolenaar
o dig > > into that plugin." ??? > > Not clear on this. > What does "add pieces" mean? Does it mean pieces of the the vimrc file or > adding plugins one by one or is it

Re: Multiple windows get corrupted

2023-06-01 Thread Bram Moolenaar
of your setup until you find out what piece matters for reproducing the problem. Hopefully not including a whole plugin, since then we would need to dig into that plugin. -- >From "know your smileys": <|-) Chinese <|-( Chinese and doesn't like these kind of jokes /// Bram Moo

Re: Multiple windows get corrupted

2023-06-01 Thread Bram Moolenaar
Note that you need to start Vim with "--clean" to make sure your local setup doesn't change what happens. -- >From "know your smileys": |-(Contact lenses, but has lost them /// Bram Moole

Re: Multiple windows get corrupted

2023-06-01 Thread Bram Moolenaar
ption did change by just > one character increase. Well, does that make the problem go away? -- >From "know your smileys": :-| :-| Deja' vu! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Multiple windows get corrupted

2023-06-01 Thread Bram Moolenaar
eck if the 'columns' and 'lines' options did change. -- I AM THANKFUL... ...for the taxes that I pay because it means that I am employed. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\

Re: The package you uploaded (vim-noweb.tgz) is empty

2023-05-31 Thread Bram Moolenaar
or ":MkVimball" not sufficient? If someone wants to propose an improvement then ask Charles to review it. -- >From "know your smileys": % Bike accident. A bit far-fetched, I suppose; although... o _ _ _ _o /\_ _ \\o (_)\__/o (_

Re: passing vim9 vars to python3

2023-05-31 Thread Bram Moolenaar
ange the first line in this function: b:yml_f = yml_fpath But is this really buffer related? And it does require a runtime lookup by name. Using a script-local variable will work better. -- There's no place like $(HOME)!

Re: passing vim9 vars to python3

2023-05-31 Thread Bram Moolenaar
ill inside the scope of the script file. That means it won't interfere with what happens in other scripts. -- >From "know your smileys": <>:-) Bishop /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Multiple windows get corrupted

2023-05-31 Thread Bram Moolenaar
e. If you see an option with a suspect value, you can possibly find out where it was set with e.g.: :verbose set lines? -- >From "know your smileys": 8<}} Glasses, big nose, beard /// Bra

Re: passing vim9 vars to python3

2023-05-31 Thread Bram Moolenaar
nd use it in Python? No, that is not possible. The class implementation is only halfway, but even when the work has been done a Python script will not be able to access a Vim class directly. You can only use it in a Vim script context, such as using "vim.eval()". -- Do not trust

Re: vim autoformat ?

2023-05-28 Thread Bram Moolenaar
uot;: O:-) Saint /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http

Re: vim autoformat ?

2023-05-27 Thread Bram Moolenaar
orks better. Formatting the whole file may mess things up without you noticing. -- >From "know your smileys": :-)Funny |-)Funny Oriental (-:Funny Australian /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: E123 when referring to function argument

2023-05-23 Thread Bram Moolenaar
names exist in the global namespace where the global variable can also be found: def g:LambdaText(Op: func(): number): void g:ThatFunction = Op func g:ThatFunction unlet g:ThatFunction enddef -- Be thankful to be in a traffic jam, becau

Re: ask Vim why the word under the cursor is misspelled

2023-05-17 Thread Bram Moolenaar
; is not capitalized" would be helpful. I guess I'd prefer the first because > it is unambiguous and ":help SpellCap" works as expected. You can use spellbadword() for that. -- Nothing is fool-proof to a suff

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-05-04 Thread Bram Moolenaar
problem very likely is on their side. -- The fastest way to get an engineer to solve a problem is to declare that the problem is unsolvable. No engineer can walk away from an unsolvable problem until it's solved. (Scott Adams - The Dilbert principle) ///

Re: Bug? E216: No such group or event: filetypedetect BufReadPost msg in 14_XxdBack:

2023-05-03 Thread Bram Moolenaar
> > > > Instead of checking for "did_load_filetypes" a more direct condition > > would be to use: > > > > if exists('#filetypedetect') && exists('#BufReadPost') > > set ft= > > doautocmd filet

Re: Bug? E216: No such group or event: filetypedetect BufReadPost msg in 14_XxdBack:

2023-05-02 Thread Bram Moolenaar
re direct condition would be to use: if exists('#filetypedetect') && exists('#BufReadPost') set ft= doautocmd filetypedetect BufReadPost endif Does that work for you? -- Lower life forms have more fun! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\

Re: How to remove uploaded scripts on vim.org and how to find scriptid and src_id?

2023-05-02 Thread Bram Moolenaar
tle bandage-covered midget corpse at the De Young Museum in San Francisco. I remember thinking how pleased he'd be about the way things turned out in his afterlife. (Scott Adams - The Dilbert principle) /// B

Re: How to remove uploaded scripts on vim.org and how to find scriptid and src_id?

2023-05-02 Thread Bram Moolenaar
tle bandage-covered midget corpse at the De Young Museum in San Francisco. I remember thinking how pleased he'd be about the way things turned out in his afterlife. (Scott Adams - The Dilbert principle) /// B

Re: Bug? E216: No such group or event: filetypedetect BufReadPost msg in 14_XxdBack:

2023-05-02 Thread Bram Moolenaar
re direct condition would be to use: if exists('#filetypedetect') && exists('#BufReadPost') set ft= doautocmd filetypedetect BufReadPost endif Does that work for you? -- Lower life forms have more fun! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\

Re: surprising glob() result on Windows

2023-05-02 Thread Bram Moolenaar
t;.vim"? -- Team-building exercises come in many forms but they all trace their roots back to the prison system. In your typical team-building exercise the employees are subjected to a variety of unpleasant situations until they become either a cohesive team or a ring of car jackers.

Re: Small documentation tweak for :g delimiters

2023-05-01 Thread Bram Moolenaar
TOP OF THE LIST, CROSS OFF THAT STAR SYSTEM, THEN PUT YOUR STAR SYSTEM AT THE BOTTOM OF THE LIST AND SEND IT TO 100 OTHER STAR SYSTEMS. WITHIN ONE TENTH GALACTIC ROTATION YOU WILL RECEIVE ENOUGH HYDROGREN TO POWER YOUR CIVILIZATION UNTIL ENTROPY REACHES ITS MAXIMUM! IT REALLY WORKS! /// Bram Moolenaa

Re: surprising glob() result on Windows

2023-04-29 Thread Bram Moolenaar
adversary. BLACK KNIGHT: (Glancing at his shoulder) 'Tis but a scratch. ARTHUR: A scratch? Your arm's off. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Unable to log in to vim.org

2023-04-17 Thread Bram Moolenaar
information about what was wrong. I hope it won't happen again. -- Men may not be seen publicly in any kind of strapless gown. [real standing law in Florida, United States of America] /// Bram Moolenaar -- b...@moolenaar.net -- http:/

Re: Unable to log in to vim.org

2023-04-15 Thread Bram Moolenaar
ive questions ... GALAHAD: Three questions ... ARTHUR: Three questions ... And we shall watch ... and pray. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...

Re: Save terminal buffer with colors?

2023-04-12 Thread Bram Moolenaar
aps with a negative number? Thus -1 would be the line above the first visible line. Using an absolute number is made difficult by the 'termwinscroll' value, lines at the start may have been deleted. -- Vi beats Emacs to death, and then again! http://linuxtoday.com/stories

Re: Error make vim on termux terminal

2023-04-04 Thread Bram Moolenaar
his might work: #include -- -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed -rwxr-xr-t 4 root 131720 Jan 1 1970 /usr/ucb/vi -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs //

Re: make it auto scroll horizontally

2023-03-27 Thread Bram Moolenaar
ine pence. DEAD PERSON: I'm not dead! MORTICIAN:Here -- he says he's not dead! CUSTOMER: Yes, he is. DEAD PERSON: I'm not! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Mool

Re: [vim9script] Forward declarations for classes?

2023-03-26 Thread Bram Moolenaar
ill you ask your master if he wants to join my court at Camelot?! GUARD #1: But then of course African swallows are not migratory. GUARD #2: Oh, yeah... GUARD #1: So they couldn't bring a coconut back anyway... Th

Re: digraph_get('NU') returns 0xA

2023-03-19 Thread Bram Moolenaar
and she must pay the penalty. And here in Castle Anthrax, we have but one punishment ... you must tie her down on a bed ... and spank her. Come! GIRLS: A spanking! A spanking! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD ///

Re: [vim9script] Default value for object argument?

2023-03-12 Thread Bram Moolenaar
uot;null object of class X"? -- Two fish in a 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,

Re: Augmenting filetype detection for supplemental types

2023-02-26 Thread Bram Moolenaar
d-and-one symptoms of being an internet addict: 182. You may not know what is happening in the world, but you know every bit of net-gossip there is. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Passing python3 file arguments seems failing py3f

2023-02-10 Thread Bram Moolenaar
['argument'] testing end This is on Ubuntu, Python 3.10. -- hundred-and-one symptoms of being an internet addict: 107. When using your phone you forget that you don't have to use your keyboard. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net

Re: Small doc omission: :tabdo in :help :bar

2023-02-08 Thread Bram Moolenaar
:tabdo from the list of commands. I'll add it. Let me know if any other is missing. -- hundred-and-one symptoms of being an internet addict: 99. The hum of a cooling fan and the click of keys is comforting to you. /// Bram Moolenaar -- b..

Re: Using Vim9 for a function

2023-01-20 Thread Bram Moolenaar
loat is expected. We encountered this before, then it was causing an invalid result and it was solved by giving an error message. I'll make another change that actually converts the number to a float, that should better match expectations. -- If you put seven of the most talented OSS developers in

Re: Why does (my) Vim leave the cursor to the last mark even if I don't save the file?

2023-01-20 Thread Bram Moolenaar
e the cursor to the " mark. Something like that. -- What a wonderfully exciting cough! Do you mind if I join you? -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- b...@

Re: [Vim 9 script] Is there a way to get the actual type of an object?

2023-01-15 Thread Bram Moolenaar
oms of 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 -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \

Re: vim9 autoload script modified : How to reload it On-The-Fly

2023-01-11 Thread Bram Moolenaar
on the back of a white van. The world is shocked and wants to know what it means. After months of studies the worlds best linguistic scientists are able to decipher the message: "Wash me!". /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Vim calendar for 2023 available

2022-12-31 Thread Bram Moolenaar
/#Calendar Happy Vimming! -- No man may purchase alcohol without written consent from his wife. [real standing law in Pennsylvania, United States of America] /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net

Neovim conf - where are the recordings?

2022-12-11 Thread Bram Moolenaar
for the second day changed the last moment. When I tuned in there were just two guys talking about things unrelated to Vim and playing video games... Is there at least a link to the keynote? -- Life would be so much easier if we could just look at the source code. /// Bram Moolenaar -- b

Re: What does mean?

2022-12-04 Thread Bram Moolenaar
n some places. -- hundred-and-one symptoms of being an internet addict: 225. You sign up for free subscriptions for all the computer magazines /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \

Re: How to autosave files when terminal is closed

2022-10-29 Thread Bram Moolenaar
> On Sat, 29 Oct 2022 00:03:17 +0100, Bram Moolenaar wrote: > > > > > On Fri, 28 Oct 2022 22:23:31 +0100, Bram Moolenaar wrote: > > > > > > > > > "au VimLeavePre * w" only works when I exit vim with something >

Re: How to autosave files when terminal is closed

2022-10-28 Thread Bram Moolenaar
> On Fri, 28 Oct 2022 22:23:31 +0100, Bram Moolenaar wrote: > > > > > "au VimLeavePre * w" only works when I exit vim with something like > > > ":q!" but not if I close my terminal window. > > > > > > Error detected while proc

Re: Share variables between Two vim9 def functions

2022-10-28 Thread Bram Moolenaar
it whereever you want to use it. That way you have control over where the value is changed, make it a constant, etc. See help for "vim9-scopes" and ":import". -- Westheimer's Discovery: A couple of months in the laboratory can frequently save a couple of hours

Re: How to autosave files when terminal is closed

2022-10-28 Thread Bram Moolenaar
rs Abbott: I'm a paediatrician. Basil: Feet? Mrs Abbott: Children. Sybil: Oh, Basil! Basil: Well, children have feet, don't they? That's how they move around, my dear. You must take a look next time, it's most interesting. (Fawlt

Re: FTP servers can't be reached

2022-10-27 Thread Bram Moolenaar
kes a little while to fix. -- ARTHUR: Old woman! DENNIS: Man! ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there? DENNIS: I'm thirty-seven. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...

Re: Comment auto formatting joins non-comment lines

2022-10-18 Thread Bram Moolenaar
. -- Girls are like internet domain names, the ones I like are already taken. Well, you can stil get one from a strange country :-P /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\

Re: gVim in Windows opens external console for bang ex-commands

2022-10-15 Thread Bram Moolenaar
ll this works depends on what command you execute. -- Lose weight, NEVER Diet again with The "Invisible Weight Loss Patch" (spam e-mail) /// Bram

Re: Play sound on search wrap

2022-10-06 Thread Bram Moolenaar
? No, don't see a way. -- DINGO: You must spank her well and after you have spanked her you may deal with her as you like and then ... spank me. AMAZING: And spank me! STUNNER: And me. LOVELY: And me. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTUR

Re: How to use patches sent to vim_dev?

2022-10-04 Thread Bram Moolenaar
ted files and special character handling. Git diffs normally don't include that, you have to carefully specify what kind of diff it should create (probably called a patch). -- hundred-and-one symptoms of being an internet addict: 271. You collect hilarious signatures from all 250 mailing lists you

Re: [PATCH] fix: powershell :! filter commands

2022-10-01 Thread Bram Moolenaar
be good if this can be turned into a PR. Hopefully with a test. Can you do that, or would this need to be done by someone else? Then it's easier for others to comment and suggest improvements. -- hundred-and-one symptoms of being an internet addic

Re: Fwd: Compiling vim 9.0 with gui

2022-09-21 Thread Bram Moolenaar
o not remember any problem with previous versions. After running configure, look in src/auto/config.log. Search for "GTK". It should tell you what is missing. -- Support your right to bare arms! Wear short sleeves! /// Bram Moolenaar -- b...@moolenaar.net

Re: Gvim message on XDG textedit URL link

2022-09-07 Thread Bram Moolenaar
e window to the foreground, goto Insert mode when 'im' set and > // clear command line. The main problem is that on the server this is received as a command and put in the input buffer, after which it is executed almost as typed. Instead of buildin

Re: [vim9script] Behavior of has_key()

2022-08-17 Thread Bram Moolenaar
~#4 Percent splat waka waka tilde number four, &[]../ Ampersand bracket bracket dot dot slash, |{,,SYSTEM HALTED Vertical-bar curly-bracket comma comma CRASH. Fred Bremmer and Steve Kroese (Calvin Colleg

List of Vim features to vote on

2022-08-15 Thread Bram Moolenaar
uot; - "add flexible tab stops, can be used for tables" Happy voting! -- GUARD #1: What, ridden on a horse? ARTHUR:Yes! GUARD #1: You're using coconuts! ARTHUR:What? GUARD #1: You've got two empty halves of coconut and you're bangin' 'em together.

Re: Build Vim without +vim9script

2022-08-11 Thread Bram Moolenaar
Vim > 9 script in feature.h. Simple answer: no. -- You cannot propel yourself forward by patting yourself on the back. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim,

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-10 Thread Bram Moolenaar
Tim Chase wrote: > On Tue, Aug 09, 2022 at 10:06:37PM +0100, Bram Moolenaar wrote: > > Vim does not include a system-wide vimrc file that would go in > > /usr/local/etc/vim. Does this file source defaults.vim? > > Yes, this file sources defaults.vim > > I w

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-09 Thread Bram Moolenaar
ease revert this)? Vim does not include a system-wide vimrc file that would go in /usr/local/etc/vim. Does this file source defaults.vim? Then that's a problem of FreeBSD. -- Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95" Windows 95:

Re: Setting termcap entries: avoid literal Esc?

2022-08-08 Thread Bram Moolenaar
t;> name: & = "\f" But this does: exe "set =\f" -- GALAHAD: Camelot ... LAUNCELOT: Camelot ... GAWAIN:It's only a model. "Monty Python and the Holy Grail" PYTHO

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Bram Moolenaar
ial key. There is a list in src/keymap.h, "enum key_extra". -- hundred-and-one symptoms of being an internet addict: 269. You receive an e-mail from the wife of a deceased president, offering to send you twenty million dollar, and you are not even surprised. /// Bram Moolenaar

Re: Import vim9 script as that and map that.func fails

2022-08-03 Thread Bram Moolenaar
call that.HLNext(80) > nnoremap N N:call that.HLNext(80) Use ":help import-legacy" and then go up a few lines. -- The term "free software" is defined by Richard M. Stallman as being software that isn't necessarily for free. Confusing? Let's call it "Stallman soft

Re: Control keys not working

2022-07-30 Thread Bram Moolenaar
yboards. What keyboard layout are you using? -- hundred-and-one symptoms of being an internet addict: 193. You ask your girlfriend to drive home so you can sit back with your PDA and download the information to your laptop /// Bram Moolenaar -- b...@moolenaar.n

Re: Highlight character under cursor in visual mode

2022-07-25 Thread Bram Moolenaar
hich is a big problem) the Visual highlighting is not applied to the character under the cursor. That may look a little bit strange (small problem) but you'll get used to it. -- hundred-and-one symptoms of being an internet addict: 113. You are asked about a bus schedule, you wonder if it is 16 o

Re: vim9 _vimrc compatibility with vim8 plugin

2022-07-22 Thread Bram Moolenaar
quired to access script-local variables. -- hundred-and-one symptoms of being an internet addict: 94. Now admit it... How many of you have made "modem noises" into the phone just to see if it was possible? :-) /// Bram Moolenaar -- b...@moolenaar.net -- http://w

Re: How to set mapleader in vim9 script

2022-07-22 Thread Bram Moolenaar
Vim9 syntax. -- >From "know your smileys": C=}>;*{)) Drunk, devilish chef with a toupee in an updraft, a mustache, and a double chin /// Bram Moolenaar -- b...@moolenaar.net

Re: Vim 9.0 generates 8.2 file

2022-07-18 Thread Bram Moolenaar
..for the taxes that I pay because it means that I am employed. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\

Re: how to redirect pipe output to vim in case remote?

2022-07-07 Thread Bram Moolenaar
bar at the right side. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- h

Re: how to redirect pipe output to vim in case remote?

2022-07-07 Thread Bram Moolenaar
the text into a file first, then you can tell the remote gvim to open that file. -- hundred-and-one symptoms of being an internet addict: 76. Your ISP regards you as a business partner rather than as a customer. /// Bram Moolenaar -- b...@moolenaar.net

Re: How to limit amount of memory used by vim?

2022-07-06 Thread Bram Moolenaar
setlocal ul=-1 -- "I don’t know how to make a screenshot" - Richard Stallman, July 2002 (when asked to send a screenshot of his desktop for unix.se) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Vim 9.0 is released!

2022-06-28 Thread Bram Moolenaar
s if possible. See ":help bugs" in Vim. Ideally write a test that reproduces the problem and will pass once it is fixed. Happy Vimming! -- Anyone who is capable of getting themselves made President should on no account be allowed to do the job.

Re: Vim 7.1 under MS-DOS

2022-06-27 Thread Bram Moolenaar
ot;:w file"? What is the :version output, what version do you use exactly? -- "How is your new girlfriend?" "90-60-90 man!" "What, pale purple?" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: Update Runtime/doc/channel.txt -- why LSP section disappeae

2022-06-26 Thread Bram Moolenaar
The same text is found near the end of the file. -- The goal of science is to build better mousetraps. The goal of nature is to build better mice. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\

Re: Ctrl+F or B broken since 8.2 patch 5157 in gui windows

2022-06-25 Thread Bram Moolenaar
> See title. What is your setup? Do you use French perhaps? -- I think that you'll agree that engineers are very effective in their social interactions. It's the "normal" people who are nuts. (Scott Adams - The Dilbert principle) /// Bram M

Re: Can syntax clusters contain other clusters?

2022-06-18 Thread Bram Moolenaar
slConstant Yes, there is an example just above ":help E848". -- BODY:I'm not dead! CART DRIVER: 'Ere. He says he's not dead. LARGE MAN: Yes he is. BODY:I'm not! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Mool

Re: Cursors

2022-06-16 Thread Bram Moolenaar
Dominique wrote: > Bram Moolenaar wrote: > > > > Why cursor shape in terminal neovim can change but in vim not? Maybe > > > something different in here. > > > > It very much depends on the terminal. Neovim assumes a very recent > > terminal, it won'

Re: TERM (was Cursors)

2022-06-15 Thread Bram Moolenaar
> On 6/15/22 2:44 PM, Bram Moolenaar wrote: > > Yes, that is indeed a problem. Lots of terminal emulators keep popping > > up, many with the same or similar base, and adding one more feature. > > They don't bother distributing a correct termcap/terminfo entry and > &

Re: Cursors

2022-06-15 Thread Bram Moolenaar
ed way... and contains large amounts of duplicate and obfuscated information... (Ben Peterson) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.o

Re: Cursors

2022-06-15 Thread Bram Moolenaar
> On 6/15/22 9:58 AM, Bram Moolenaar wrote: > > if =~ "xterm" && $SSH_CLIENT == '' > > Why do you check to see that SSH_CLIENT is unset / empty? > > Wouldn't that preclude SSHing from a shell running in Xterm? > > I'm just curious. The terminal

  1   2   3   4   5   6   7   8   9   10   >