Re: problem to create a shortcut

2024-05-25 Thread Christian Brabandt
Note: The very first message to this list is always moderated, so 
sometimes it takes a bit of time until a moderator notices a new message 
in the queue waiting for approval.

On Sa, 25 Mai 2024, Andreas Otto wrote:

> the following  code does NOT work.
> The goal is to use a shortcut like "Gmx" to jump to a mark "MARK_X" in the 
> test.
> to make it more useable U want to create a function with the last string (in 
> the case above "X" as argument.
> 
> question: HOW I write a "goto-mark" function in vim?

In its simplest form the following should work:

function GotoMark(str)
 exe 'g/MARK_' .. a:str
endfunction


Thanks,
Christian
-- 
Line Printer paper is strongest at the perforations.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZlGiAQGXJ6%2B98wsy%40256bit.org.


Re: Mark special characters

2024-05-22 Thread Christian Brabandt


On Mi, 22 Mai 2024, Igor wrote:

> Hi, I use latest vim v9.1.0429 on Windows 11.
> 
> In the file I have received I was convinced there are spaces between
> words, but there were some special characters and so when I tried to
> execute the commands in my cmd I have got very strange syntax errors.
> Probably some special character has been copied from Microsoft Word.
> 
> I would like to distinguish normal spaces with characters that are in
> vim displayed as spaces, but are some non-space characters. Is there a
> way to display those characters so that I will spot them as special
> characters?

Someone shared the following on the list a few years ago 
https://groups.google.com/g/vim_use/c/FuEGojGwKCM/m/V1K8VAWWKrEJ

and since then I have it in my .vimrc even so I should probably change 
it to a WinEnter autocommand.

" Highlight special white space
hi def link WhiteSpaceError Error
match WhiteSpaceError 
/[\x0b\x0c\u00a0\u1680\u180e\u2000-\u200a\u2028\u202f\u205f\u3000]/

Thanks,
Christian
-- 
Almost anything derogatory you could say about today's software design
would be accurate.
-- K. E. Iverson

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zk3sfp1p1qA1crbG%40256bit.org.


Re: Termdebug for Windows: why a "prompt" buffer instead of a terminal buffer?

2024-05-09 Thread Christian Brabandt


On Do, 09 Mai 2024, Ubaldo Tiberi wrote:

> Ok! Makes sense! Thanks! 
> 
> But that lead me to the following question: why use gdb mi instead of
> term_sendkeys, jobs and channel? 

jobs and channels will always be used. Using term_sendkeys sounds 
brittle however.


Thanks,
Chris
-- 
Moon, n.:
1. A celestial object whose phase is very important to hackers.  See
PHASE OF THE MOON.  2. Dave Moon (MOON@MC).

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zjx648DK4ZLE4nch%40256bit.org.


Re: Termdebug for Windows: why a "prompt" buffer instead of a terminal buffer?

2024-05-09 Thread Christian Brabandt


On Mi, 08 Mai 2024, Ubaldo Tiberi wrote:

> Hi! 
> 
> I thanks  for your reply.
> have already read it but It didn’t answer any of my questions. 

I think the reason is, that on Windows using a pty may not always work. 
This is briefly mentioned at :h 'termwintype'.  If you sure it works for 
you (because your Windows is new enough or you have winpty), you could 
give it a shot in termdebug with the following patch applied and then 
setting the termwintype option:

```patch
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 
b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 50833f0df..8236fc2b0 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -196,7 +196,7 @@ func s:StartDebug_internal(dict)
   elseif exists('g:termdebug_use_prompt')
 let use_prompt = g:termdebug_use_prompt
   endif
-  if has('terminal') && !has('win32') && !use_prompt
+  if has('terminal') && (!has('win32') || !empty()) && !use_prompt
 let s:way = 'terminal'
   else
 let s:way = 'prompt'
```

Thanks,
Chris
-- 
Confess your sins to the Lord and you will be forgiven;
confess them to man and you will be laughed at.
-- Josh Billings

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zjx2WJlua8j1jQAa%40256bit.org.


Re: Why vimscript instead of another language? A philosophical or a technical question?

2024-04-28 Thread Christian Brabandt


On So, 28 Apr 2024, Jose Caballero wrote:

> Thanks a lot for such a fast response. 
> However, I realise now I was not clear in my first post. I didn't mean to use 
> a language that VIM is compiled with. I was simply talking about passing the 
> selected text to your custom script with 
> 
> <.>! my_script.py

Yes you can do this. And what was your question now again?


Thanks,
Christian
-- 
"What are we going to do tonight, Bill?"
"Same thing we do every night Steve, try to take over the world!"

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zi6qSXwi0v5xGBtg%40256bit.org.


Re: gdb -p $(pidof vim)

2024-04-28 Thread Christian Brabandt


On So, 28 Apr 2024, Oleg Zadorozhnyi wrote:

> okay i solved
> next question is can you give me hint to quickly debugging
> like main functions and how to understand which functions are responsible for
> which tasks

Well, it would help if you would tell us, what problem you are actually 
trying to solve.

Best,
Christian
-- 
Real programmers disdain structured programming.  Structured programming is
for compulsive neurotics who were prematurely toilet- trained.  They wear
neckties and carefully line up pencils on otherwise clear desks.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zi6p69nTYm2218st%40256bit.org.


Re: Registration issue

2024-04-15 Thread Christian Brabandt


On So, 14 Apr 2024, Gordon Zar wrote:

> Hello,
> Today I wanted to create an account at vim.org to upload a plugin I made.
> 
> But I am stopped by this message upon sending a request to create an account:
> 
> POST has been used more than 500 times within 5 hours. Assuming bot
> attack. Retry again later. If you continue having trouble write to the
> mailing list.
> 
> Someone in the IRC suggested to use a different IP but In my country
> the ISPs dont change IPs so frequently.
> 
> I'd prefer not to use a vpn just to sign up.
> Thanks for your help.

Hi,
thanks for reaching out, but I am unsure what you want me to do here. 
I'd prefer if I can keep the rate limit, since it is there for a reason. 
I don't know what else to suggest.

Thanks,
Christian
-- 
Virtue is a relative term.
-- Spock, "Friday's Child", stardate 3499.1

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zh0WjfD4nWE8eMos%40256bit.org.


Re: Registration Payments

2024-04-06 Thread Christian Brabandt


On Sa, 06 Apr 2024, Christian Brabandt wrote:

> 
> On Sa, 06 Apr 2024, Al SW Moreau wrote:
> 
> > > As mentioned, the paypal account should still work
> > 
> > Sorry, I can't find where this is mentioned. I think the above discussion
> > continued off-line. As the OP asked, where do these donations go now?
> 
> Nothing changed with regard to the donations. They still go to the ICCF.
> 
> > > at the same time, the voting feature is no longer useful
> > 
> > OK, perhaps this should be mentioned on vim.org. I'm not sure who
> > maintains it; 
> 
> I maintain it.
> 
> > https://www.vim.org/huh.php links to https://www.vim.org/community.php
> > which links to the mailing lists and IRC channel.
> 
> Sorry, I don't follow. The community channels are still active.
> 
> > As things stands now, it's impossible to tell by visiting the site
> > whether any particular page has been updated after January 2024 (and
> > more generally if what it says is still true -- a simple "last updated
> > on" would help somewhat).
> 
> Well, what exactly do you expect on updates? there wasn't anything that 
> needs to be update since the 9.1 release

I removed mentioning of the voting system from the Vim Homepage.

Thanks,
Christian
-- 
Actors will happen even in the best-regulated families.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZhF2DNSQa4D/tJJV%40256bit.org.


Re: Registration Payments

2024-04-06 Thread Christian Brabandt


On Sa, 06 Apr 2024, Al SW Moreau wrote:

> > As mentioned, the paypal account should still work
> 
> Sorry, I can't find where this is mentioned. I think the above discussion
> continued off-line. As the OP asked, where do these donations go now?

Nothing changed with regard to the donations. They still go to the ICCF.

> > at the same time, the voting feature is no longer useful
> 
> OK, perhaps this should be mentioned on vim.org. I'm not sure who
> maintains it; 

I maintain it.

> https://www.vim.org/huh.php links to https://www.vim.org/community.php
> which links to the mailing lists and IRC channel.

Sorry, I don't follow. The community channels are still active.

> As things stands now, it's impossible to tell by visiting the site
> whether any particular page has been updated after January 2024 (and
> more generally if what it says is still true -- a simple "last updated
> on" would help somewhat).

Well, what exactly do you expect on updates? there wasn't anything that 
needs to be update since the 9.1 release


Thanks,
Christian
-- 
Patience is a minor form of despair, disguised as virtue.
-- Ambrose Bierce, on qualifiers

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZhFx75cOQUR5NnF4%40256bit.org.


Re: Registration Payments

2024-04-06 Thread Christian Brabandt


On Sa, 06 Apr 2024, Al SW Moreau wrote:

> Actually what is the correct way to register / sponsor now? The links from
> vim.org still take you to a PayPal form sending payments to Bram. I've been
> wondering about that for a while and this discussion seems to imply this
> information exists elsewhere.

As mentioned, the paypal account should still work. Unfortunately, 
no-one can anylonger relate the donators to the respective vim.org 
accounts. That's why the accounts are no longer updated. And at the same 
time, the voting feature is no longer useful. 

Thanks,
Christian
-- 
The human race never solves any of its problems.  It merely outlives them.
-- David Gerrold

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZhFGY/3CjY/r6%2BjM%40256bit.org.


Re: First things first

2024-04-05 Thread Christian Brabandt


On Do, 04 Apr 2024, Jorge Ventura wrote:

> a) Where can I see the new address for registering and sending money?
> 
> I sent this morning money and PayPal showed me Bram’s mail. I am not
> 
> asking for my money back, rather some pointers to the new registering and
> 
> voting processes.


Thanks for sponsoring. I think the paypal address still works and the 
money is well received by the ICCF. This may change in the future, but I 
don't know the details. 

> b) is there any database with all supported Platforms/OS?
> 
> For a side project, I am gathering such data formation.

It's probably in the help documents somewhere. I struggle to find this 
always and have thought of adding a specific section to the help files, 
if it isn't there already. 

> c) What would be the future of Vim?
> 
> I believe that Bram has become an institution for the software community,
> 
> if he was not already. Therefore, what are the next steps for Vim? I really
> 
> do not want that due to politics, lack of ideas, over compromising, or simply
> 
> for whatever reason Vim falls apart.

The Vim community is healthy and we are continuing the development of 
Vim. You can follow it on github or on the vim-dev mailing list. We try 
to slowly improve Vim and fix bugs as we can. No big plans however.

You are welcome to help with whatever you can (doc updates, cleaning up 
the issue list, code, add tests, etc).


Thanks,
Christian
-- 
Using words to describe magic is like using a screwdriver to cut roast beef.
-- Tom Robbins

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zg%2BhefE2jirQEvHu%40256bit.org.


Re: Tweaking syntax highlighting

2024-03-15 Thread Christian Brabandt


On Fr, 15 Mär 2024, A. Wik wrote:

> I have:
> colorscheme blue
> set background=dark
> hi Error guifg=darkgrey guibg=lightred gui=underline
> \ctermfg=darkgrey ctermbg=lightred
> in my .vimrc
> 
> Normally, errors are highlighted in lightred foreground on lightred
> background, which is, of course, unreadable.  Hence the "hi ..."
> statement in the .vimrc.
> 
> The problem is that the "hi ..." doesn't seem to work if run from
> .vimrc, but it works when I run this manually:
> :hi Error ctermfg=darkgrey ctermbg=lightred

What exactly do you mean with "doesn't seem to work" ? What does :hi 
Error show? Or even :verbose :hi Error

Thanks,
Christian
-- 
The bigger the theory the better.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZfSMbj2PjUIAbLlR%40256bit.org.


Re: Problems with the plugin description

2024-03-15 Thread Christian Brabandt


On Mi, 13 Mär 2024, Heiko Schröder wrote:

> Dear list,
> 
> I consulted the description posted in vim/runtime/doc/repeat.txt on
> github very carefully.  I wanted to install the calendar-vim script
> which was originally designed (last version) for vim7.2.  I now use vim
> 9.0.
> 
> I created a directory ~/.vim/pack/calendar/start and unpacked
> calendar-vim.zip there which creates the usual autoload/ doc/ and
> plugin/ directories there.

You are missing a directory.

You should create a directory (let's call it calendar) below 
~/.vim/pack//start/

So you would run the following commands:
mkdir -p ~/.vim/pack/dist/start/calendar &&
git clone git clone git://github.com/mattn/calendar-vim git clone 
git://github.com/mattn/calendar-vim

Then restart Vim and you have the :Calendar ex command available.

Thanks,
Christian
-- 
"The one charm of marriage is that it makes a life of deception a necessity."
-- Oscar Wilde

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZfP2cBUN25hs/E6E%40256bit.org.


Re: Registration Payments

2024-03-12 Thread Christian Brabandt


On Mo, 11 Mär 2024, Trev wrote:

> Hello,
> 
> I regret to inform you all that since Bram's passing, I had never
> updated my registration fee payments in PayPal.  I have made months of
> payments to regis...@moolenaar.net.  Not only are my payments perhaps
> piling up where they are not helpful, but I am missing out on valuable
> contributor clout!  I honestly can't recall the last time I was sent a
> registration "key" and my amount "contributed" does not match the number
> I've actually donated.
> 
> I hope you can recover the donations.  What should I do from here?

Just wanted you all know, I am taking this off-list and checking with 
Trey and the ICCF directly.

Thanks,
Christian
-- 
The best way to preserve a right is to exercise it, and the right to
smoke is a right worth dying for.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Ze//S9eazWT%2Bsr0t%40256bit.org.


Re: fancy config editing with vim for json?

2024-03-07 Thread Christian Brabandt
Hi,
I am not sure what exactly you want and what you mean with loading the 
schema and setting the options for auto complete. I guess you may want 
to look at the following plugin however. https://github.com/Quramy/vison

Thanks,
Chris

On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote:

> Ping
> is there another way to get this behavior?
> Regards Sebastian
> 
> Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke <
> simpsone...@googlemail.com>:
> 
> > Hi there,
> > is there a way to load a schema for json in vim and then have the right
> > options in autocomplete?
> >
> > Thanks in advance.
> >

Mit freundlichen Grüßen
Christian
-- 
Telling the truth to people who misunderstand you is generally promoting
a falsehood, isn't it?
-- A. Hope

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zem6RtT8Gwm95A5/%40256bit.org.


Re: "iabbrev" erratic behaviour

2024-02-20 Thread Christian Brabandt


On Mo, 19 Feb 2024, 'Ottavio Caruso' via vim_use wrote:

> Hi,
> 
> I have this is in my .vimrc:
> 
> iabbrev mdate =strftime("%a %d/%m/%Y")
> 
> 
> It used to work fine, but as of recently (3 or 4 weeks or so), this
> abbreviation only works if it is the first thing that I input on any
> file. If I edit a file, type some characters and then I type "mdate",
> it doesn't get expanded. I have to save and exit the file, then
> re-open it and then type "mdate".
> 
> Is there a way to troubleshoot that?

Make sure you do not have paste mode left enabled.

Thanks,
Christian
-- 
Official Project Stages:
(1) Uncritical Acceptance
(2) Wild Enthusiasm
(3) Dejected Disillusionment
(4) Total Confusion
(5) Search for the Guilty
(6) Punishment of the Innocent
(7) Promotion of the Non-participants

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZdR0HvhTBukfYb5D%40256bit.org.


Re: Termdebug does not show messaged back from openocd.

2024-01-28 Thread Christian Brabandt


On So, 28 Jan 2024, Ubaldo Tiberi wrote:

> I am working with a microcontroller (stm32f4) and I am attempting to debug it 
> by connecting Termdebug to openocd.
> 
> Everything works nicely with the exception that the messages sent back from 
> openocd (server) to Termdebug (client) are not displayed in any Termdebug 
> window (I expected them to be displayed in the gbd window).
> 
> For example, if I run (gdb) monitor reg I would expect to have the content of 
> the microcontroller's registers displayed in the Termdebug's gdb window, but 
> unfortunately that does not happen.
> 
> This is what is in my .vimrc
> 
> g:termdebug_config = {} var debugger_path = 
> "/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.macos64_1.1.100.202310310803/tools/bin/"
>  g:termdebug_config
> ['command'] = debugger_path .. "arm-none-eabi-gdb"
> 
> If instead of using Termdebug I use another terminal window (I am using 
> iTerm2) running as arm-none-eabi-gdb client connected to the same openocd 
> server, then the messages sent back from the server are correctly displayed.
> 
> I am using MacVim 9.1.

I am afraid you would have to debug the Termdebug plugin and find out 
where exactly it fails. I don't think anybody here knows about the 
specifics of "arm-non-eabi-gdb"


Thanks,
Christian
-- 
"You stay here, Audrey -- this is between me and the vegetable!"
-- Seymour, from _Little Shop Of Horrors_

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zba49Yo77m6RK/ay%40256bit.org.


Re: [Discussion] GitHub as the canonical source or not

2024-01-28 Thread Christian Brabandt


On So, 28 Jan 2024, Sukima wrote:

> Recently there has been a percolating trend to be concerned over GitHub. 
> Specifically the
> Give up GitHub plea.

Hm, I might be missing something, but what is the Github plea?

> Since Vim is a FOSS project I was curious what the community thought about 
> this.
> 
>  1. Pros/Cons?

I don't plan on moving away from Github in particular since this is the 
first time I hear some doubts.  I like it's UI, but I don't think we are 
so too much in a walled garden. The homepage is separate, we are not 
relying on the release feature. However I would miss the issue tracker 
and the CI integration.  In fact, I think Github has served us quite 
well, but if we would need to find a new home, it should be possible 
with some work.

>  2. Is the Vim License worded well enough to weather any CoPilot bubble?

Please expand, why it wouldn't.

>  3. Do the tools compare to other contribution models?

What tools?

>  4. How do other FOSS projects approach the monolithic use of GH?

GH is only part of the Vim project, we are not relying too much on GH 
for development of Vim.  I have no idea about other FOSS projects.

>  5. Other praises or concerns?
> 
> To quote the famous “Coffee Talk” SNL skit… “talk amongst yourselves.”


Thanks,
Christian
-- 
We are all so much together and yet we are all dying of loneliness.
-- A. Schweitzer

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/Zba4kmx7nYr3jFqJ%40256bit.org.


Re: Remapping crtl+backspace to delete previous word in insert mode!

2024-01-24 Thread Christian Brabandt


On Mi, 24 Jan 2024, Anirudh Singh Bhadauria wrote:

> Yes, I'm using nvim with lazyVim config

Then please ask in a neovim forum.


Thanks,
Christian
-- 
Linus?  Whose that?
-- clueless newbie on #Linux

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZbEafR/tIHRLebWF%40256bit.org.


Re: Remapping crtl+backspace to delete previous word in insert mode!

2024-01-24 Thread Christian Brabandt


On Mi, 24 Jan 2024, Anirudh Singh Bhadauria wrote:

> Problem - Remapping crtl+backspace to delete previous word in insert mode! 
> 
> I am finding it really hard to do this, I have tried many combinations but it 
> just doesn't work.
> (however, I was able to remap just backspace to delete the previoius word, 
> but that's not practical) Therefore, If anybody has a solution, that would be 
> great! 

Are you trying this in a terminal or in the gui. Ctrl-Backspace may not 
universally work.

> 
> Remapping combinations that I tried so far, 
> -- vim.keymap.set("i", "", "", { desc = "delete whole word" })
> -- vim.keymap.set("i", "", "dB", { noremap = true, silent = 
> true })
> -- vim.keymap.set("i", "", "db", { noremap = true, silent = 
> true })
> -- vim.api.nvim_set_keymap('i', '', 'db', { noremap = true, 
> silent = true }) (remaps backspace to delete the previoius word)

This is neovim config. Are you using Neovim?


Thanks,
Christian
-- 
The fact that people are poor or discriminated against doesn't necessarily
endow them with any special qualities of justice, nobility, charity or
compassion.
-- Saul Alinsky

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZbEEhosUk6QC44G%2B%40256bit.org.


Re: How to make gvim/vim-gtk3 behave exactly like vim

2024-01-19 Thread Christian Brabandt


On Fr, 19 Jan 2024, 'Ottavio Caruso' via vim_use wrote:
> I also use vim on xterm on Linux. It just is difficult cut/copy/paste
> data to/from, for example a web browser. Yes, it is possible, it is
> just not that neat.

And why would those be different between terminal Vim and Gui Vim?

Thanks,
Christian
-- 
Pilfering Treasury property is paticularly dangerous: big thieves are
ruthless in punishing little thieves.
-- Diogenes

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZaqoQ9O4h%2Bz3aMjH%40256bit.org.


Re: How to make gvim/vim-gtk3 behave exactly like vim

2024-01-19 Thread Christian Brabandt


On Fr, 19 Jan 2024, 'Ottavio Caruso' via vim_use wrote:

> I have installed and uninstalled gvim many times. I have to re learn
> some (many) keyboard combinations. Is there a safe way to mod gvim to
> make it behave exactly like vim on the terminal?

Like what? There are some fundamental differences between a GUI and the 
terminal version, some of it being that the terminal may not understand 
all key combinations. But I really wonder what you mean with you have to 
re-learn some key combinations?

Best,
Christian
-- 
Everything you read in newspapers is absolutely true, except for that
rare story of which you happen to have first-hand knowledge.
-- Erwin Knoll

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZapyH6Eoj1xlSwI7%40256bit.org.


Re: Commit: patch 9.1.0009: Cannot easily get the list of matches

2024-01-08 Thread Christian Brabandt


On So, 07 Jan 2024, Yegappan Lakshmanan wrote:

> To demonstrate the use of the new matchbufline() function, I have created
> the following script.  This does search text completion from the list of words
> in the current buffer.  After typing a few letters in the "/" prompt, if you
> press
> Tab, it will complete the word from the current buffer.  If you press Tab
> again,
> then it will go to the next match.  If you press Shift-Tab, it will go back to
> the previous match.

That is great, thanks for sharing!

Thanks,
Christian
-- 
Two is not equal to three, even for large values of two.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZZv4x7GlVWgIfnAn%40256bit.org.


Re: vim9 exported functions not recognized by ctags

2023-12-29 Thread Christian Brabandt
Hi,
perhaps someone :) should send a PR to 
https://github.com/universal-ctags/ctags to add support for Vim9 Script?

Thanks,
Chris 
-- 
An investment in knowledge always pays the best interest.
-- Benjamin Franklin

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZY6PWe4L0DsM064o%40256bit.org.


Re: Using Vim's logo for a tabletop game

2023-12-10 Thread Christian Brabandt


On Sa, 09 Dez 2023, try catch it wrote:

> Dear Vim community,
> 
> We hope this message finds you well. We are Clara Jiménez Recio and Celia 
> Velasco Martínez and we are excitedly embarking on a personal project to 
> create a tabletop game with a focus on the dev community.
> 
> The mechanics of our game, tentatively titled "try {} catch (it)", involve 
> working with more than 50 logos of different programming tools. Multiple 
> logos will appear on each card, and the gameplay is centered around 
> identifying the
> matching logo in each pair of cards.
> 
> We are wondering whether it would be okay to include Vim's logo within the 
> game. Of course, any required disclaimer would be included.

I'd like to see the game first. Unless it's some un-ethical usage of the 
game play (or of the other logos used), that should be fine however.

It would be great, if you could link to the Vim.org homepage.

Thanks,
Christian
-- 
Sell by date stamped on bottom.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZXXK5iOEzoTEZQEO%40256bit.org.


Re: Importing values from vim to python in vim9

2023-12-05 Thread Christian Brabandt


On Di, 05 Dez 2023, rameo wrote:

> I installed vim 9 but still have multiple functions written in old vimscript.
> 
> I've read that functions written in old vimscript still work.
> 
> However I noticed that importing variables into Python 
> `vim.eval("a:myvariable")` no longer works
> 
> I don't always get the right values imported.
> 
> Example :
> 
> :call MyFunction("12", "14") 
> 
> function! MyFunction("variable1, variable2") 
> python3 << endpython 
> variable1 = vim.eval("a:variable1") 
> variable2 = vim.eval("a:variable2") 
> print(variable1 + " " + variable2) 
> endpython 
> 
> endfunction
> 
> What's wrong in above code?
> 
> Or better... why doesn't it work anymore in vim9?

Do you get an error message? Which one? If this doesn't work anymore, 
when did it stop working?

Thanks,
Christian
-- 
Driver does not carry cash.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZW%2Bgsu3Q23sAczgm%40256bit.org.


Re: Track changes to readonly

2023-11-17 Thread Christian Brabandt


On Do, 16 Nov 2023, 'Aaron Heifetz' via vim_use wrote:

> I wonder how it is possible to react to changes to a buffer's readonly flag 
> both,
> - after starting vi, e.g. with gvim -c "set ro" (not gvim -R), and
> - when changing the flag via the command line.

I don't understand the difference between those two checks. For the 
first one, you can call a function on VimEnter, check the flag and set 
your background color, see also the 'wincolor' setting.  But how do you 
change the flag via the command line, if not during startup?

You may also trigger a function on an OptionSet autocommand, that reacts 
to setting those option values after startup.

Thanks,
Christian
-- 
Hell is empty and all the devils are here.
-- Wm. Shakespeare, "The Tempest"

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZVdUIe6%2BOcRjjXrZ%40256bit.org.


Re: Regular expression tokens to identify *screen* lines?

2023-10-31 Thread Christian Brabandt


On Mo, 30 Okt 2023, Tim Chase wrote:

> I was playing around with tokens like
> 
>   :help /\%l
> 
> and was curious if there was a way to identify *screen* lines rather
> than *file* lines.  So imagining something like "\%5H" or "\%3L"
> would match the fifth-from-top line or the third-from-bottom line
> of the screen.

I am pretty sure we do not have regex atoms for screen lines.

> The initial idea was some sort of focused-writing where the top/bottom
> lines were dark-gray, getting progressively brighter in white-ness
> moving toward the center of the screen where the cursor-line (done
> with underline) would be kept in the middle with a high 'scrolloff'
> value.  Maybe using syntax highlighting or :match-style invocations.
> 
> It was mostly an boondoggle idea, so please nobody spend vast amounts
> of time on this silliness, but if there something obvious I've
> missed for "fade out text around the cursor" sort of functionality.
> 
> Thanks for any thoughts, pointers, ideas though. :-)

Perhaps with some reasonable nice looking highlighting group, you can 
use :set cursorlineopt=screenline. Or perhaps one can script something 
by throwing in marks to delimit the region and then match it using the 
\%'m atom (or possibly you don't even need the marks you can just try to 
get the virtcol for the region and then use the \%v atom instead).

Thanks,
Christian
-- 
Drop in any mailbox.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZUEHlcze%2Bns5svVf%40256bit.org.


Re: Licensing question: compatibility between Vim license and GPL

2023-10-16 Thread Christian Brabandt


On So, 15 Okt 2023, Tony Mechelynck wrote:

> On Sun, Oct 15, 2023 at 7:29 PM Lifepillar  wrote:
> >
> > Can code released under Vim license include third-party code released
> > under GPLv2 or GPLv3?
> >
> > I have read that Vim license is "GPL-compatible", but it is not clear to
> > me which way such compatibility works.
> >
> > Thanks for providing legal advice for free ;)
> > Life
> 
> I am not a lawyer, nor do I play one on TV; but I believe that the
> following (at the bottom of the ":help license" text) is relevant:
> 
> - According to Richard Stallman the Vim license is GNU GPL compatible.
>   A few minor changes have been made since he checked it, but that should not
>   make a difference.
> 
> - If you link Vim with a library that goes under the GNU GPL, this limits
>   further distribution to the GNU GPL.  Also when you didn't actually change
>   anything in Vim.
> 
> - Once a change is included that goes under the GNU GPL, this forces all
>   further changes to also be made under the GNU GPL or a compatible license.
> 
> - If you distribute a modified version of Vim, you can include your name and
>   contact information with the "--with-modified-by" configure argument or the
>   MODIFIED_BY define.

Thanks, that is also my understanding of the compatibility of the 
licenses.

Thanks,
Christian
-- 
 "Someone's been mean to you! Tell me who it is, so I can punch him tastefully."
-- Ralph Bakshi's Mighty Mouse

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSzwiYGTdj8mi2rF%40256bit.org.


Re: Licensing question: compatibility between Vim license and GPL

2023-10-16 Thread Christian Brabandt


On Mo, 16 Okt 2023, Ruben Safir wrote:

> no
> 
> don't use google mail.  It sucks

Wow, we all enjoy your constructive contribution to the question asked.

Thanks,
Christian
-- 
I want you to organize my PASTRY trays ... my TEA-TINS are gleaming in
formation like a ROW of DRUM MAJORETTES -- please don't be FURIOUS with me --

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSzwS3B27O856PE%2B%40256bit.org.


Re: Is uploading new scripts to vim.org possible?

2023-10-16 Thread Christian Brabandt


On So, 15 Okt 2023, Gary Johnson wrote:

> I have a cron job that checks for new and changed scripts by
> comparing certain sections of the scripts page to the previously
> downloaded page.  I was concerned that changes to the site might
> break that cron job, but I am happy to report that it still works.

good to hear, thanks.

Christian
-- 
QOTD:
"If you keep an open mind people will throw a lot of garbage in it."

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSzwAqEtAwoVvdFh%40256bit.org.


Re: Is uploading new scripts to vim.org possible?

2023-10-15 Thread Christian Brabandt


On Sa, 14 Okt 2023, Lifepillar wrote:

> Now, after pressing "upload" I'm sent back to the form page, but the
> script is still not uploaded.

I tried it yesterday and it worked. I now tried it again and it still 
works.

Let's take this off-list. Can we connect around 14:00 EST so I can watch 
the log files while you are trying to do it?

Thanks,
Christian
-- 
Mary Tyler Moore's SEVENTH HUSBAND is wearing my DACRON TANK TOP in a
cheap hotel in HONOLULU!

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSuXIH0XUs1CL0Dy%40256bit.org.


Re: Is uploading new scripts to vim.org possible?

2023-10-14 Thread Christian Brabandt


On Sa, 14 Okt 2023, Lifepillar wrote:

> On 2023-10-14, Christian Brabandt  wrote:
> >
> > On Sa, 14 Okt 2023, Lifepillar wrote:
> >
> >> I am not able to upload new scripts to www.vim.org. The "type" drop-down
> >> is empty and there is no "upload/submit" button or similar. Is that
> >> intentional?
> >
> > of course not :) Sorry should be fixed now.
> 
> Thanks, the page now look fine, but after pressing "upload",
> add_script.php send me to an empty page and the plugin is not uploaded.

Ah okay, I did not try to upload a new script. This also should work 
now.

Thanks,
Christian
-- 
"You've got to have a gimmick if your band sucks."
-- Gary Giddens

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSrKK2NwVueSiPvO%40256bit.org.


Re: Is uploading new scripts to vim.org possible?

2023-10-14 Thread Christian Brabandt


On Sa, 14 Okt 2023, Lifepillar wrote:

> I am not able to upload new scripts to www.vim.org. The "type" drop-down
> is empty and there is no "upload/submit" button or similar. Is that
> intentional?

of course not :) Sorry should be fixed now.

Thanks,
Christian
-- 
ADA:
Something you need only know the name of to be an Expert in
Computing.  Useful in sentences like, "We had better develop
an ADA awareness.
-- "Datamation", January 15, 1984

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSq1jLir/J254WMT%40256bit.org.


Re: Vim9 class implementation update

2023-10-07 Thread Christian Brabandt
CC'ing: vim_use mailing list.

Hi Yegappan,

On Sa, 07 Okt 2023, Yegappan Lakshmanan wrote:

> Hi all,
> 
> The following Vim9 class features have been implemented so far:
> 
> 1. Class definition and object creation
> 2. Class variables and methods
> 3. Object variables and methods
> 4. Read-only, Read-write and private access control for class/object variables
> 5. Extending a class (overriding methods)
> 6. Defining an interface
> 7. Implementing an interface
> 8. Defining an abstract class
> 9. Extending an abstract class
> 
> The list of known issues is here:
> https://github.com/vim/vim/issues?q=is%3Aopen+is%3Aissue+label%3Avim9class
> 
> We need to freeze the Vim9 class specification for the Vim 9.1 release.
> It will be helpful if folks can try these features out and report any issues.
> 
> We are mainly looking for any modifications to the specification
> that will break backward compatibility.  Bug fixes and new features can
> be addressed after the Vim 9.1 release.
> 
> It is also helpful to get some feedback on the documentation:
> https://github.com/vim/vim/blob/master/runtime/doc/vim9class.txt
> 
> The Vim9 class todo list is here:
> https://github.com/vim/vim/blob/master/runtime/doc/todo.txt#L124

Thanks for that. I appreciate your hard work here. Please anybody 
interested in using the new Vim9 class implementation test it out and 
provide feedback.


Thanks,
Christian
-- 
Murphy was an optimist.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZSF8vySN8yJrSZjJ%40256bit.org.


Re: syntax files: how to prevent embedded syntax from leaking out of a region?

2023-10-04 Thread Christian Brabandt


On Mi, 04 Okt 2023, Edward McGuire wrote:

> This question got no replies. Did it fail to be circulated? Does nobody know 
> the answer? Is it a stupid question? :)

Either nobody knows the answer or nobody understood the problem.

Thanks,
Christian
-- 
There is never time to do it right, but always time to do it over.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZR21MlwibqavLbR/%40256bit.org.


Re: Vim explained in 6 Kbyte - Translation

2023-10-02 Thread Christian Brabandt


On Mo, 02 Okt 2023, Harvey R wrote:

> That's wonderful. Thank you ever so much.
> 
> And my apologies for posting twice. At first, I used groups.google.com to 
> post, but then nothing appeared (so, I thought that emailing was a must)
> 
> But anyway, it's sorted now. Thank you once again for your hard work.

That is no problem. It is here now: https://www.vim.org/6kbyte.php

Thanks,
Christian
-- 
Outside of a dog, a book is man's best friend.  Inside of a dog, it is too
dark to read.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRszqPHaT8QIcn8U%40256bit.org.


Re: Vim explained in 6 Kbyte - Translation

2023-10-02 Thread Christian Brabandt


On Mo, 02 Okt 2023, Harvey R wrote:

> Hello,
> 
> 
> I hope all is well.
> 
> First of all, I am deeply saddened to hear about the loss of Mr. Moolenaar.
> Please accept my heartfelt condolences.
> 
> Unfortunately, I am not a good programmer, and so I decided that it may be
> better to spread the word about Vim by translating the "Vim explained in 6
> Kbyte" into Arabic (my Arabic friends have helped me with the translation).
> 
> So, I am writing to inform you that I have successfully completed the
> translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the
> translation process, I made sure to maintain the accuracy and integrity of the
> original documents while adapting them to cater to an Arabic-speaking 
> audience.
> Please find the translated content, which is now ready for your review.
> 
> I have followed the steps on https://vimonline.sourceforge.net/, but I am not
> sure if my emails get through to Sourceforge. So, I decided to post it here in
> the hopes that someone can advise me.
> 
> Thank you for your hard work, as always.
> 
> Wishing you the best.
> 
> 
> Harvey

Thanks, I can place it here: https://www.vim.org/6kbyte.php

Best,
Christian
-- 
Since when has the purpose of debian been to appease the interests of the
mass of unskilled consumers?-- Steve Shorter

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRrxMAeZbp7wJuMe%40256bit.org.


Re: E325 ATTENTION message wrapping/formatting problem

2023-09-30 Thread Christian Brabandt


On Fr, 29 Sep 2023, 'Trey Blancher' via vim_use wrote:

> I'm using vim 9.0.1850 on macOS Ventura 13.6, installed via Homebrew.  I 
> have a problem with the E325 ATTENTION message, informing me of an existing 
> swap file.  It appears that every line in the message is inordinately long, 
> such that most of the message scrolls off the top of my terminal emulator 
> window (and I can't scroll up to see it since I'm using vim in a tmux 
> session/window/pane in Alacritty).  This looks like a formatting or a text 
> wrapping*s* problem.
> 
> Here's a link to what I've copied out to the visible window, to try and 
> demonstrate what I'm running into:  https://paste.rs/TUl2R (it doesn't 
> appear I can attach files to this Google Groups message). Here's a 
> screenshot from my vertical rotated monitor: [image: Screenshot 2023-09-29 
> at 15.22.48.png]
> 
> This has been going on for quite some time, I don't know exactly when it 
> started.  Is there any way to fix this?

This is surprising and I have never seen this issue. Does it only happen 
in Alacritty? Always? Can you check in different terminal emulators and 
also in the GUI? What once it shows up, you abort vim, and restart using 
`vim --clean` and then open the exact same file (so the E325 should 
trigger again)?

Thanks,
Christian
-- 
Look at it this way: Your daughter just named the fresh turkey you brought
home "Cuddles", so you're going out to buy a canned ham.  And you're still
drinking ordinary scotch?

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRiOdoDKSjKXWmP5%40256bit.org.


Re: Replace spaces with underscore after some pattern in line

2023-09-27 Thread Christian Brabandt


On Mi, 27 Sep 2023, Igor wrote:

> How to replace all of the spaces in each line after XXX string?
> 
> Input sample data:
> aa bb  XXX a bbb
>  ee XXX aaa   ddd
>   ddd ee XXX aaa bbb  eee
> 
> Output sample data:
> aa bb  XXX_a_bbb
>  ee XXX_aaa___ddd
>   ddd ee XXX aaa_bbb__eee

That is a bit tricky. I would probably use something like this:

:%s/\(XXX.*\)$/\=substitute(submatch(1), ' ', '_', 'g')/

Which basically grabs everything after the 'XXX' and replaces in that 
submatch all whitespaces using a sub-replace-expression (see :h 
sub-replace-expression and :h sub-replace-special).

Thanks,
Christian
-- 
Don't go surfing in South Dakota for a while.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRQdNCkqwetPL1%2BV%40256bit.org.


Re: Moving the Vim Homepage on 26.09.2023

2023-09-26 Thread Christian Brabandt
Dear all,
the homepage has been moved to our new provider wavestack. It should be 
much more stable and performant again.

There may still be some problems with the old php code, so if you notice 
anything, please let me know and I'll fix it.

Best,
Christian
-- 
The fancy is indeed no other than a mode of memory emancipated from the order
of space and time.  -- Samuel Taylor Coleridge

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRM5ktY07Wq26wGQ%40256bit.org.


Moving the Vim Homepage on 26.09.2023

2023-09-24 Thread Christian Brabandt
Dear all,
as you all know, we have had quite a few issues with our current hosting 
provider for the vim.org homepage.  Therefore, I'd like to announce, 
that we'll be moving to a new hoster on tuesday, September 26th, 2023.

I will set the database on the current OSDN instance at 20:00 CEST 
(14:00 EST) o'clock to readonly mode and so should be the old homepage.
I'll also add a banner that this is the old homepage. Hopefully the 
switch will be done fast enough, that nobody notices it and we can 
finally continue to use the new homepage with proper database 
connections and ssl certificates.

However, the code is at the same time switched from the current php 5 
version to a new php 8 installation, which required a rewrite of some of 
the php pages and sql queries. Hopefully everything will still work as 
expected.  The new IP address should then be 31.172.117.18

In case of any questions, please redirect them to the vim_dev mailing 
list.

Finally, I'd like to thank a few people involved:

- First of all, I'd like to thank Marc Schöchlin, who offered to take 
  care of the new Vim.org homepage hosting and at the same time, spend 
  some considerable amount of time to rewrite the homepage to php8. 

- I'd also like to thank Shuji Sado who supported us with the old 
  OSDN.net hosting. 

- I'd also like to thank Jeff Chousterman and wavestack cloud for 
  offering the infrastructure of the vim.org homepage. This should give 
  us a modern and reliable base for the future.

- And last but not least, thanks to Stefan Zehl for maintaining the DNS 
  for such a long time.


With all of your support this wouldn't be so easily possible!

Thanks,
Christian

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZRBzdaD7AuBxXplR%40256bit.org.


Fwd: Moving the Vim Homepage

2023-09-21 Thread 'Christian Brabandt' via vim_use
Hi all,
just as fyi it seems google blocked my message to the vim-use mailing list, 
for Spam reasons.

Hopefully this goes through.

-- Weitergeleitete Nachricht -
Von: Christian Brabandt 
Datum: Donnerstag, 21. September 2023 um 14:42:37 UTC+2
Betreff: Moving the Vim Homepage
An: v...@vim.org , vim_annou...@googlegroups.com 



Dear all, 
as you may have noticed, we have had some issues with the Vim.org 
Homepage and https:// access (see also issue 
https://github.com/vim/vim/issues/13079). It's actually even getting 
worse as there does no longer seem to be any valid ssl certificate 
available, while previously, only 1 out of 2 requests used an old ssl 
cert. 

I have no idea what is actually going on and my request for help to 
osdn.net and the OSChina did not succeed :( 

So we will be moving the Vim Homepage again. It depends a bit how fast 
we can get the infrastructure up and running and then we need to move 
the DNS record. I hope it should be doable until the end of the month 
*fingerscrossed*. 

In any case, once I know more details, I'll announce a maintenance 
window for the vim.org homepage here and on vim.org so that we can 
migrate the database properly and hopefully from then on, we will have a 
better maintained vim.org homepage again. 

@CC to our future homepage maintainer and the DNS admin so they know 
that something will be coming. 

Thanks, 
Christian 

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/8972b5c3-b00e-4b9c-9a67-236d89603a9fn%40googlegroups.com.


Re: Vim after Bram?

2023-09-21 Thread Christian Brabandt


On Do, 21 Sep 2023, 'Sebastian Gödecke' via vim_use wrote:

> and vim.org -> scripts? The mysql server seems down ...
> Does anyone has access to this system?

Yes, working on it. Sorry for the inconvenience.

https://groups.google.com/g/vim_announce/c/itcFF4DNj4A/m/xRWhNM7UDQAJ

Best,
Christian
-- 
Langsam's Laws:
(1) Everything depends.
(2) Nothing is always.
(3) Everything is sometimes.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZQw8Li/gQnDzE6yf%40256bit.org.


Re: Documentation error for command :UnicodeName

2023-09-20 Thread Christian Brabandt


On Mi, 20 Sep 2023, Tony Mechelynck wrote:

> In helpfile unicode.txt (Version: 0.21 Tue, 26 Sep 2017 14:21:42
> +0200) at line 108 it is said that if there are several digraphs for a
> character, all will be shown *separated by commas* (emphasis mine).
> Actually, as shown in the example at line 114 and as can be checked by
> experiment, the digraphs (if there are several) are separated by
> spaces.
> 
> I've tried to check what was the most recent version of that script
> (and its helpfile) but couldn't find it.

Thanks, verified using the Rouble sign. Fixed as of Commit 
bc20d0fb3331a7b41708388c56bb8221c2104da7 
https://github.com/chrisbra/unicode.vim/blob/master/doc/unicode.txt

Best,
Christian
-- 
It is difficult to produce a television documentary that is both
incisive and probing when every twelve minutes one is interrupted by
twelve dancing rabbits singing about toilet paper.
-- Rod Serling

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZQsCk2n2oOGf3QrU%40256bit.org.


Re: Vim after Bram?

2023-09-19 Thread Christian Brabandt


On Di, 19 Sep 2023, Salman Halim wrote:

> I might be mistaken, but I haven't seen any patches lately (I look at
> the list of patches on the FTP site readme). Is there another
> mechanism by which changes are being incorporated?

The FTP Server is retired. you can check the github Commits page for the 
latest versions.

Best,
Christian
-- 
Endless the world's turn, endless the sun's spinning
Endless the quest;
I turn again, back to my own beginning,
And here, find rest.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZQmbFixIKozJI/2U%40256bit.org.


Re: texts in a cpp file are highlighted as comments while they are not comments

2023-09-18 Thread Christian Brabandt


On Sa, 16 Sep 2023, Henrik Lin wrote:

> image.png
> 
> 
> As show in the picture, my texts are highlighted as comments
> 
> The OS is windows, vim version 8.2
> 
>  
> 
> Note: I also checked the texts are not within /**/
> 
> 
> anything wrong with vim setting / encoding ?

It looks like you have `:set hls` enabled and pressed '*'  on the text 
`*` in the file.

See if the highlighting goes away with `:set nohls`

Best,
Christian
-- 
If the human brain were so simple that we could understand it,
we would be so simple we couldn't.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZQgC0d1AyxJFgXWd%40256bit.org.


Re: Vim9 script performance vs. legacy

2023-08-29 Thread Christian Brabandt


On Di, 29 Aug 2023, Salman Halim wrote:

> Hello,
> 
> I've been writing my scripts using Vim 9 recently (though without classes) and
> was wondering if anybody had any performance metrics/benchmarks they would be
> willing to share that compare Vim 9's speed compared to the same thing written
> in legacy code.
> 
> I find that a significant amount of my script-writing time is used in calling
> functions such as matchlist, popup_create and the such, which seem to me to be
> identical (unless you tell me that Vim 9 has access to more optimised version
> of these).
> 
> Maybe the 'for' loop where I iterate over a list of strings is faster in Vim 9
> because it's both compiled and statically typed?
> 
> One of the things that caught me recently was that popup_create takes a
> parameter called 'line' which can be either a number or the word 'cursor'. It
> cannot be the STRING '2', it has to be the NUMBER 2 while 'cursor' is a 
> string.
> In legacy script, no problem. Here, I had to make it a string variable and 
> then
> see do something like 'lineNumber != "cursor" ? str2nr(lineNumber) :
> lineNumber' to convert it to a number if needed. i'm trying to figure out
> whether there is a measurable speed advantage to going through these motions 
> or
> if I should just write my scripts in legacy Vim script.
> 
> What do people use for their own stuff these days?

I haven't done any measurements but I noticed converting to Vim9 script 
helps, if you are calling your scripts many times.

So I have rewritten parts of vim-airline for those parts, that are 
executed many many times and that are known to cause performance 
degrations (see https://github.com/vim-airline/vim-airline/wiki/FAQ)

Best,
Christian
-- 
 add a GF2/3, a sizable hard drive, and a 15" flat panel and
   you've got a pretty damned portable machine.
 a GeForce Two-Thirds?
 Coderjoe: yes, a GeForce two-thirds, ie, any card from ATI.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZO4BnSEOwkNkw7Hj%40256bit.org.


Re: Patch 1766 doesn't exist

2023-08-20 Thread Christian Brabandt


On So, 20 Aug 2023, Tony Mechelynck wrote:

> With all patches in, :version (or vim --version) includes the line
> 
> Included patches: 1-1765, 1767-1769
> 
> meaning that there is no patch 1766. I suppose that this is just an
> oversight and that no Vim user should be alarmed by it.
> 
> I'm sending this to vim_use to let all users of Vim know that this
> "missing patch" should probably be no cause for alarm.

Sorry, I must have messed it up when adding the Commit prefix to the 
script. Somehow the mercurial mirror lost some changes. They should now 
be in sync again, but some patches between 1766 - 1775 are probably be 
not in sync with the git patches :/

I apologize for this mess.

Best,
Christian
-- 
I am not a politician and my other habits are also good.
-- A. Ward

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZOJ0PkjPShNtdLJ/%40256bit.org.


Re: SOLVED: Vim error message when opening .ini file

2023-08-20 Thread Christian Brabandt


On So, 20 Aug 2023, Melvin Q. Watchpocket wrote:

> OK!  This works! 
> I've replaced the old dosini.vim file with yours posted above. 

Great to hear.

> 
> Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I can 
> open a .ini file WITHOUT getting any error messages.
> 
> Thank you, Christian!  
> 
> One question: should I be seeing some syntax coloring in a .ini file like the 
> one I've opened in Vim?  Here is the file, which appears in "black & white": 
> 
>   1 127.0.0.53             localhost                                          
>                                                                        2 
> 4.2.2.2                   b.resolvers.level3.net
>   3 4.2.2.4                   d.resolvers.level3.net
>   4 4.2.2.6                   f.resolvers.level3.net
>   5 64.69.98.35           spr-resolv3-sun.onecommunications.net
>   6 64.80.255.251       ··· no official Internet DNS name ···
>   7 64.215.98.148       dns1.lon.gblx.net
>   8 66.6.65.5               ··· no official Internet DNS name ···
>   9 66.28.0.45             res1.dns.cogentco.com
>  10 66.92.159.2          dns.wdc1.speakeasy.net
>  11 66.109.229.4        dns3.dejazzd.com
>  12 66.153.50.66        dns1-nyc.paetec.net
>  13 68.237.161.12      nsnyny01.verizon.net
>  14 74.82.42.42          ordns.he.net
>  15 129.250.35.250    x.ns.gin.ntt.net
>  16 129.250.35.251    y.ns.gin.ntt.net
>  17 151.197.0.37        world4.bellatlantic.net
>  18 151.198.0.38        nsnwrk.bellatlantic.net
>  19 151.198.0.39        home5.bellatlantic.net
>  20 151.201.0.38        nspitt.bellatlantic.net

this does not seem to be a typical ini file. Not sure why you are using 
the .ini file extension.

Best,
Christian
-- 
You will be winged by an anti-aircraft battery.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZOJQB4M59ASRpUDJ%40256bit.org.


Re: Vim error message when opening .ini file

2023-08-20 Thread Christian Brabandt


On So, 20 Aug 2023, Melvin Q. Watchpocket wrote:

> --> patch --dry-run -ruN NEW-dosini.vim < the-patch
> checking file NEW-dosini.vim
> patch:  malformed patch at line 6: finish
> 
> I'm likely not applying the patch correctly.  I've never applied a patch
> before.  What am I doing wrong?

You are likely running vim in compatible mode. Try the following syntax 
file instead:

,
| " Vim syntax file
| " Language:   Configuration File (ini file) for MSDOS/MS Windows
| " Version:2.3
| " Original Author:Sean M. McKee 
| " Previous Maintainer:Nima Talebi 
| " Current Maintainer: Hong Xu 
| " Homepage:   http://www.vim.org/scripts/script.php?script_id=3747
| " Repository: https://github.com/xuhdev/syntax-dosini.vim
| " Last Change:2023 Aug 20
| 
| 
| " quit when a syntax file was already loaded
| if exists("b:current_syntax")
|   finish
| endif
| 
| " using of line-continuation requires cpo
| let s:cpo_save = 
| set cpo
| 
| " shut case off
| syn case ignore
| 
| syn match  dosiniLabel"^.\{-}\ze\s*=" nextgroup=dosiniNumber,dosiniValue
| syn match  dosiniValue"=\zs.*"
| syn match  dosiniNumber   "=\zs\s*\d\+\s*$"
| syn match  dosiniNumber   "=\zs\s*\d*\.\d\+\s*$"
| syn match  dosiniNumber   "=\zs\s*\d\+e[+-]\=\d\+\s*$"
| syn region dosiniHeader   start="^\s*\[" end="\]"
| syn match  dosiniComment  "^[#;].*$"
| syn region dosiniSection  start="\s*\[.*\]" end="\ze\s*\[.*\]" fold
|   \ 
contains=dosiniLabel,dosiniValue,dosiniNumber,dosiniHeader,dosiniComment
| 
| " Define the default highlighting.
| " Only when an item doesn't have highlighting yet
| 
| hi def link dosiniNumber   Number
| hi def link dosiniHeader   Special
| hi def link dosiniComment  Comment
| hi def link dosiniLabelType
| hi def link dosiniValueString
| 
| 
| let b:current_syntax = "dosini"
| 
| let  = s:cpo_save
| unlet s:cpo_save
| 
| " vim: sts=2 sw=2 et
`

Filed at https://github.com/xuhdev/syntax-dosini.vim/pull/6

Once this is approved and you confirm it works, I guess we can
merge it into the runtime files.



Best,
Christian
-- 
Harris's Lament:
All the good ones are taken.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZOI/0wXTjPVgyyS1%40256bit.org.


Re: Vim error message when opening .ini file

2023-08-20 Thread Christian Brabandt


On Sa, 19 Aug 2023, Melvin Q. Watchpocket wrote:

>  
> 
> Vim shows the following long error message when I open a file with a dot-ini 
> (.ini) file extension:
> 
> Error detected while processing 
> /usr/share/vim/vimrc[25]../usr/share/vim/vim90/syntax/syntax.vim[44]..BufRead 
> Autocommands for "*~"..BufRead Autocommands for "*.ini"..FileType 
> Autocommands for "*"..Syntax Autocommands for "*"..function
> 3_SynSet[25]..script /usr/share/vim/vim90/syntax/dosini.vim: line 28: 
> E10: \ should be followed by /, ? or &
> 
> Following that "\" on line 28 with any one of "/", "?" or "&" resulted in an 
> even longer error message.

Please try the following patch:

diff --git a/runtime/syntax/dosini.vim b/runtime/syntax/dosini.vim
index 751a12f4b..42e9b7fd6 100644
--- a/runtime/syntax/dosini.vim
+++ b/runtime/syntax/dosini.vim
@@ -14,6 +14,9 @@ if exists("b:current_syntax")
   finish
 endif

+let s:cpo_save = 
+set cpo
+
 " shut case off
 syn case ignore

@@ -39,4 +42,7 @@ hi def link dosiniValueString

 let b:current_syntax = "dosini"

+let  = s:cpo_save
+unlet s:cpo_save
+
 " vim: sts=2 sw=2 et


Best,
Christian
-- 
A stitch in time saves nine.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZOHTNh/QtaVpyZTr%40256bit.org.


Re: Vim sponsorship subscriptions and the ICCF

2023-08-11 Thread Christian Brabandt


On Fr, 11 Aug 2023, Larry Clapp wrote:

> I sponsor Vim via a "subscription" where Paypal sends Bram €17 every quarter. 
> I was billed yesterday.  (Which is fine.)  Usually I get an email (automated, 
> I
> assume) from Bram 2-3h after Paypal sends the billing statement.  This time I
> didn't.  So maybe not automated, or maybe it broke.
> 
> Do we know what's going to happen with that yet?
> 
> I'm not in any hurry, though.  I'm sure this is well down everybody's priority
> list.  I just hope it is on somebody's list.
> 
> Thanks.
> 
> RIP, Bram, we miss you!

Hi Larry,
thank you very much for sponsoring ICCF quarterly. That is clearly 
appreciated. As far as I know, the donations via paypal are handled 
automatically and keep on working. However I do not know, what the 
current status of the ICCF is. I believe this is still being worked on 
by the family.

Best,
Christian
-- 
We come to bury DOS, not to praise it.
-- Paul Vojta, vo...@math.berkeley.edu

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZNZzZuYvNuTuNJm4%40256bit.org.


Re: Prevent copying of pasted-over text to register.

2023-08-10 Thread Christian Brabandt


On Do, 10 Aug 2023, Tim Chase wrote:

> The typical way is to yank the text you want which puts it in the
> "0 register, and you can then paste that over visual selections
> explicitly with
> 
>   "0p
> 
> which doesn't overwrite the "0 register, so you can do that multiple
> times.

With some newer Vims, you can use `P` from visual mode without changing 
the unnamed register.

Best,
Christian
-- 
I have a rock garden.  Last week three of them died.
-- Richard Diran

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZNUC6/aN7FOSMMec%40256bit.org.


Re: Where is Bram?

2023-08-05 Thread Christian Brabandt

Am 2023-08-05 16:30, schrieb Yegappan Lakshmanan:

On Sat, Aug 5, 2023 at 5:53 AM Maxim Kim  wrote:


https://groups.google.com/g/vim_announce/c/tWahca9zkt4



I am truly saddened and shocked to hear this news.

I have been following him for more than 25 years and have interacted
with him for more than 22 years.  He has been an inspiration to me and
many others.  He has really changed the world for the better.  He has
single handedly improved the productivity of countless developers and
companies around the world.  He dedicated his entire life to work on
Vim.  His vision and ability to design some of the most complex 
features

(such as the vim9script compiler, spell check, syntax highlighting,
channels, tab pages, virtual text, and many others) have always amazed
me.

We will all miss him deeply. Rest In Peace, Bram, and thank you for
everything.



As all of you, so was I deeply shocked when I heard the news. Bram was a 
great leader
to the Vim community and I really enjoyed working with him over the past 
years, since I became

involved with the development of Vim almost 20 years ago.

Bram was of great inspiration in creating a great community, helping 
people with his charity and
he was a great mentor. And now he left too soon. We lost a great leader 
and I regret never having

met him in person...

However to all of the community: I will continue and I hope all of the 
other contributors will
also keep up the good work. I do have access to the Vim homepage and the 
Vim organization (not sure
if all the rights, but I am sure we will work on the details in the near 
future.


Once I return from vacation, I'll go through the PRs and review them 
(and also commit the missing

patch to github). I'll welcome anybody to contribute to make Vim better.

I still don't know all the internals of the various areas (vim9, virtual 
text, syntax highlighting to name
a few) and I don't know how much time I can dedicate, but I hope 
together we will be able to continue

successfully.


Thanks,
Chris

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/68a89d5d3f93091be4606f81fcc2656e%40256bit.org.


Re: Insert non-rectangular selection

2023-07-23 Thread Christian Brabandt


On Sa, 22 Jul 2023, Andre Tann wrote:

> Probably a bit late, but I have just found that I never responded to this
> improvement. It does exactly what I need, and it is great to have it
> working.
> 
> So thanks Christian & Bram, better late than never :D

No problem :) Please check also out the zy normal mode command.

Best,
Christian
-- 
Der Mann braucht zum vollkommenen Glück einen zuverlässigen Freund,
die Frau eine zuverlässige Feindin.
-- Tennessee Williams

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLz%2BmVKTSkGrtKax%40256bit.org.


Re: E474 invalid argument with Unicode MATH BOLD characters. help please

2023-07-20 Thread Christian Brabandt


On Do, 20 Jul 2023, Lasse Hillerøe Petersen wrote:

> Oh, and shame on me for using the .h example instead of copying one I 
> actually had tried verbatim. ".h" works fine. Add an "e" :iab he hello - 
> and it gives E474.

There are only certain kinds of Abbreviations allowed. Please read the 
help at `:h abbreviation` and check the section about "three types of 
abbreviations".

Note: if you place your commands into a buffer, turn on search 
highlighting (:set hls) and search for `/\k` Vim will highlight all 
keyword characters so you can easily see if you are using an allowed 
form of abbreviation.

Best,
Christian
-- 
Man ist niemals zu schwer für seine Größe, aber man ist oft zu klein
für sein Gewicht.
-- Gert Fröbe

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLjiQZ5yUVlrk/s4%40256bit.org.


Re: E474 invalid argument with Unicode MATH BOLD characters. help please

2023-07-20 Thread Christian Brabandt


On Mi, 19 Jul 2023, Lasse Hillerøe Petersen wrote:

> I am trying to add am iabbrev ".h" for 퐡퐞퐥퐥퐨.
> I type
> :iabbrev .h 퐡퐞퐥퐥퐨
> (Yes, I have a Linux xkb layout so I can type this.)
> I get E474 Invalid argument.
> Other Unicode characters, like æøå or ¬ also don't seem to work.
> 
> I have tried setting encoding to utf-8
> :set enc=utf-8
> :set tenc=utf-8
> 
> Searching for the error code came up with nothing useful. Where can I find 
> doc on what is actually *valid* arguments?

Hm, that should work and certainly does here. Does it work when you use 
vim --clean?

What is your vim version please?


Mit freundlichen Grüßen
Christian
-- 
Wie man sein Kind nicht nennen sollte: 
  Anna Kasse 

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLjXrmlP/PdamHM9%40256bit.org.


Re: Improving vim startuptime

2023-07-17 Thread Christian Brabandt


On Mo, 17 Jul 2023, Manas wrote:

> Also, David (hyperfine creator ig) found the missing 2s.
> https://github.com/vim/vim/blob/4c0089d696b8d1d5dc40568f25ea5738fa5bbffb/src/main.c#L2802-L2807
> 
> Passing `/dev/null` as script file doesn't halt the execution and
> instantly shows the actual startuptime.

You can also use `--not-a-term` IIRC.

Best,
Christian
-- 
In Rücksicht der Geschlechtsünden scheint auch der offenste Mensch ein
Heuchler zu sein; aber bloß weil er verbirgt, was alle verbergen,
sogar das Erlaubte, und weil jeder weniger sinnlich scheinen muß, als
er ist.
-- Jean Paul

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLWHP/Z21MnSwPFj%40256bit.org.


Re: Improving vim startuptime

2023-07-17 Thread Christian Brabandt


On Mo, 17 Jul 2023, Manas wrote:

> `startuptime` surprisingly shows me a mere 656ms, while hyperfine shows
> me 2.7s. I am not sure how this discrepancy is arising. Here is the full
> log. https://pastebin.mozilla.org/uTrJ7i8N

HTTP 404 Snippet not found

Best,
Christian
-- 
Dem Alltagsstreß kannst Du entgeh'n.
wenn Du vermeidest aufzusteh'n.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLUTlDV2LPdwAcdX%40256bit.org.


Re: Improving vim startuptime

2023-07-17 Thread Christian Brabandt


On Mo, 17 Jul 2023, Manas wrote:

> $ time vim -cq
> 
> real0m0.396s
> user0m0.346s
> sys 0m0.047s

So now that you are at .3s startup time, is this okay or not?

Best
Christian
-- 
Kleine Seelen fühlen in ihrem Unglück nur ihren Zustand, große noch
Zusammenhang, ihr Ich.
-- Jean Paul

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLUTLhgfQdELY25O%40256bit.org.


Re: Improving vim startuptime

2023-07-17 Thread Christian Brabandt


On So, 16 Jul 2023, Gary Johnson wrote:

> On 2023-07-17, Manas wrote:
> > $ hyperfine "vim -N -u NONE -i NONE -X -cq"
> > Benchmark 1: vim -N -u NONE -i NONE -X -cq
> >   Time (mean ± σ):  2.047 s ±  0.006 s[User: 0.032 s, System: 0.010 
> > s]
> >   Range (min … max):2.039 s …  2.056 s10 runs
> 
> Interesting!  That's crazy.  It should not take nearly that long to
> execute that last command.  Vim is not doing anything but starting
> without loading any files, then immediately exiting.
> 
> Is that what you observe without using hyperfine?
> 
> I've never used hyperfine; I've just read about it since your post.
> I usually run a command with the time command, throw away the first
> run because it includes the time time to fill caches, then average
> the next three.

I have never heard about hyperfine¹ before, but it always seems to spawn 
a new shell and even so it is supposed to correct the shell spawning 
time, perhaps there is something going wrong? I would try using `-N` to 
disable the intermediate shell and probably open a new ticket about 
this.

¹https://github.com/sharkdp/hyperfine

Best,
Christian
-- 
Leute, die immer nur mitfahren, sind stolz darauf, keine Unfälle zu
verschulden.
-- Gabriel Laub

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZLUSv1KLduK6EyBj%40256bit.org.


Re: vim: revert a specific change in the undo history

2023-07-11 Thread Christian Brabandt


On Di, 11 Jul 2023, ping song wrote:

> say I've done 3 changes A, B, C.
> but I realized B is a big mistake. A and C is good.
> can I just delete change B, but keep A and C?

I believe this is not possible. What you can do is, copy the whole 
buffer at state C, move back to state A and clear the buffer and paste 
the content from State C (effectively creating a new change A->D)

Best,
Christian
-- 
Spielen ist eine Tätigkeit, die man gar nicht ernst genug nehmen kann.
-- Jacques Yves Cousteau

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZK2s5grxjaeJSaMa%40256bit.org.


Re: Win32 Vim inside MSYS Tmux doesn't interpret C-h

2023-07-08 Thread Christian Brabandt


On Sa, 08 Jul 2023, Enan Ajmain wrote:

> This is an edgecase.  I am using win32 version of Vim (built with gcc of
> mingw-w64) inside Tmux provided by msys.  In it C-h isn't interpreted as
> it is done outside Tmux.  I have this keymap:
> 
> nnoremap  h
> 
> And it doesn't take effect in win32-vim in tmux.

Have you tried explicitly typing ?

> I also have an unix version of vim, built with gcc from msys.  By "unix
> version," I mean it runs on msys shell with its unix layer.  This
> version of vim, unix-vim, interprets  inside tmux properly.  Vim
> inside Tmux on native Linux also interprets  properly.
> 
> Although few if anyone use win32 Vim inside Tmux, so this issue is not
> really an issue, but I am curious as to what's going on, if anyone here
> can shed some light.

Well, it may be, that Vim just receives  instead of . Vim even 
has its own method of fixing this by using the :fixdel command. Nowadays 
one usually uses stty erase ^?  or similar to configure the backspace 
thing (or one configures the terminal directly what it should send for 
backspace).

Long are the times gone, when I needed to fiddle with that ;)

So I would first try inside vim, what is actually printed when typing in 
insert mode  and from there we can continue.

Best,
Christian
-- 
Zu viel Zeit mit Studieren verbringen, ist Faulheit; es nur als
Schmuck zu verwenden - Affektiertheit; nur danach zu urteilen -
Gelehrtenwahn.
-- Francis Bacon

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZKmVXfGyPprE3zcP%40256bit.org.


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

2023-07-03 Thread Christian Brabandt


On So, 02 Jul 2023, Guy Ka wrote:

> I had GVim 8.2 installed on a Ubuntu 20.04 machine (WSL2) and everything was
> working fine. After updating to Ubuntu 22.04, 
> I am getting the following error when I start gvim   
> Error detected while processing /var/lib/vim/addons/plugin/02tlib.vim line  
> 77: E1208: -complete used without allowing arguments
> I have no clue on how to start debugging this issue. 

Hm, my guess is, that in the past you used Debians/Ubuntus 
vim-addon-manager to manage system plugins and at one time you had 
installed the tlib package.

You should be able to get rid of that (especially, if you do not need 
it), by running sudo vim-addon-manager -w remove 

The package name you should be able to see by running vim-addon-manager
where the third column shows "installed"

#v+
# Name User Status  System Status
espeak  removed   removed
#v-


Best,
Christian
-- 
Wenn wir keine Fehler hätten, würden wir nicht mit so großem
Vergnügen Fehler bei anderen entdecken.
-- François de La Rochefoucauld

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZKJ9Btqvjgo9HTMP%40256bit.org.


Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-21 Thread Christian Brabandt



> Am 21.06.2023 um 18:13 schrieb Enan Ajmain <3nan.ajm...@gmail.com>:
> 
> On Wed, 21 Jun 2023 13:41:03 +0100
> Bram Moolenaar  wrote:
>> Can we assume that MS Terminal is included with the distribution, or
>> installed most widely?  If so, then investing time in making this work
>> properly is well worth it.
> 
> Windows 11 comes with MS Terminal and is the default [1].  


Is this true? I thought I had to manually install it on my win 11 system.

Thanks 
Chris

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/043EABA3-907D-4888-BCAF-0979F8A173BA%40256bit.org.


Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-19 Thread Christian Brabandt


On Sa, 17 Jun 2023, Robert Solomon wrote:

> Windows 10
> 
> My quick testing involved me starting take command and using the mouse to 
> size the window.   Take command shows the window size in the bottom right 
> corner. 
> 
> After setting the window  size, I start vim using my _vimrc as I usually do.  
>  I did not change anything from within vim.

So, can you reproduce the issue using `vim --clean` to disable any of 
your usual customizations? What exactly is this `take` command. Does it 
reproduce without it?

What terminal did you use, you said?

Best,
Christian
-- 
Wohl dem, der seiner Väter gern gedenkt.
-- Johann Wolfgang von Goethe (Iphigenie I)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZJAJaAz7Y1b98UU4%40256bit.org.


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

2023-06-08 Thread Christian Brabandt


On Do, 08 Jun 2023, Owajigbanam Ogbuluijah wrote:

> Hey Bram,
> 
> I've been following this thread for a while now. Is there a team handling the
> vim.org site? Maybe we can collect a few people interested enough to 
> volunteer?
> I'm interested for one. That team could be responsible for ensuring issues 
> like
> these are fixed, and the general updates of the site.
> 
> Let me know what you think.

I don't think there is much we can do. Even with access to the vim.org 
host, we have no way to inspect logfiles and analyze this further. I 
tried, but no permissions. It's up to the hoster to analyze/debug/fix 
this unfortunately, which is osdn.net

Best,
Christian
-- 
Wer andern in den Hintern schlüpft, daran meist eine Hoffnung knüpft.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZIHYdtg42nBa%2BtrE%40256bit.org.


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

2023-06-07 Thread Christian Brabandt


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 much information as you can,
> especially the exact time, and let me know.  I can add that to the
> ticket.

There must still be something wrong, because after logging into vim.org, 
I only get the following error message
query failed IX3

I suppose some issue with the DB connection still?

Best,
Christian
-- 
Gemeinsame Erinnerungen sind manchmal die besten Friedensstifter.
-- Marcel Proust

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZIB5R4GkLE8Wx%2Bxx%40256bit.org.


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

2023-06-05 Thread Christian Brabandt


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 taken care to disable ad blockers and, afaics, only
> cross-site cookies are blocked.

FWIW: I wanted to have a second look today, but it seems the webpage is 
down currently (not being able to connect to the db).

Best,
Christian
-- 
Stilblüten aus Schreiben von Versicherungsnehmern:
Der andere Wagen war absolut unsichtbar, und dann verschwand er wieder.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZH2PYyBSUYTSpRQ5%40256bit.org.


Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-05 Thread Christian Brabandt


On Sa, 03 Jun 2023, Robert Solomon wrote:

> My point is different. It's isn't working correctly on ANY of them.

That is hardly correct. I haven't heard from many complaints about using 
Vim terminal in neither Windows nor Linux.

> see https://github.com/microsoft/terminal/issues?q=vim+in%3Atitle+

I guess, if those were Vim issues, they would have been reported (or at 
least linked) to Vims issues. So that doesn't necessarily prove 
anything.


Best,
Christian
-- 
Wir sollten Teile von Behörden für ein Jahr schließen und hinterher
fragen, ob es irgend jemand gemerkt hat.
-- Helmuth Frahm

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZH1/DBAaS/j1P3BZ%40256bit.org.


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

2023-06-02 Thread Christian Brabandt


On Fr, 02 Jun 2023, Lifepillar wrote:

> On 2023-05-26, Edward McGuire  wrote:
> > I offered a tarball containing an ftdetect, a syntax, and a README and
> > LICENSE.
> > The site replied: "The package you uploaded (vim-noweb.tgz) is empty".
> 
> I am getting the same error, e.g.:
> 
> vim-solarized8-1.5.0.tar.gz is empty, are you sure you specified the 
> correct path?
> 
> I have tried to upload both a .tar.gz and a .zip file: no difference.
> 
> Script IDs I've tried: 5575 (WWDC17 colorscheme) and 5388 (Solarized 8).
> 
> URLs:
> https://www.vim.org/scripts/script.php?script_id=5575
> https://www.vim.org/scripts/add_script_version.php?script_id=5388

Hm, I see the same, when trying to push a vimball. I can see in the 
browser it is uploaded successfully, but in the php script, it seems the 
variables are not filled correctly.

No idea what is going on.

Best,
Christian
-- 
Bei schönen Stellen im Theater hustet niemand, es ist also
willkürlich.
-- Jean Paul

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZHnmVFCRK32WwJMh%40256bit.org.


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

2023-05-31 Thread Christian Brabandt


On Di, 30 Mai 2023, Edward McGuire wrote:

> On Tuesday, May 30, 2023 at 12:38:34 PM UTC Christian Brabandt wrote:
> > What is the script id? I might be able to check it on the server (no 
> > promises
> however).
> 
> Originally "vim-noweb", and also when I ran into the problem I tried making 
> the
> ID the same as the filename "vim-noweb.tar.gz" and "vim-noweb.tgz".

No, I was referring to the vim.org URL, which should contain a script id.
> 
> > Also is there a reason, you are using the tgz/tar.gz extension?
> 
> I was following "https://www.vim.org/scripts/add_script.php;. There I see the
> example, "if I was writing a script foo.vim that also had vim help file and a
> README file I would name the script foo.vim but my script package would be
> foo.tar.gz". So of course that is the example I followed.

I would just call it "foo" or in your case "vim-noweb"

> > Just curious if this works with a zip extension or a simple .vmb for 
> > vimball.
> 
> Great question. I had not heard of vimball. I will try it and see if that gets
> around the error.

See :h vimball

> Is vimball the most portable format? Should the example be updated on vim.org?

I think vimball format was invented to have a nice way to distribute 
plguins in some kind of archive form (but only works well for text 
files). Nowadays, it seems it is rarely used and github plugin links 
have become the de-facto standard.

That document should shows an example. It may make sense to update this: 
ping @bram

Best,
Christian
-- 
In der Realität ist die Wirklichkeit ganz anders.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZHdZA15n4Qv2c7OU%40256bit.org.


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

2023-05-30 Thread Christian Brabandt


On Fr, 26 Mai 2023, Edward McGuire wrote:

> This is my first time to try to contribute a Vim plugin to vim.org.
> Where is this newbie going wrong?
> 
> I offered a tarball containing an ftdetect, a syntax, and a README and 
> LICENSE.
> The site replied: "The package you uploaded (vim-noweb.tgz) is empty".
> 
> I have already extracted my own tarball to double check the contents.
> I have also tried renaming to vim-noweb.tar.gz, in case it was to do with 
> naming .
> 
> The plugin I'm trying to contribute lives at
> https://metaed.com/papers/vim-noweb/
> and the actual tarball is there.

Hi,
I am not sure. What is the script id? I might be able to check it on the 
server (no promises however).

Also is there a reason, you are using the tgz/tar.gz extension? That is 
always a bit troublesome to extract on Windows, so just curious if this 
works with a zip extension or a simple .vmb for vimball.

Thanks,
Chris
-- 
Wenn jeder Mensch ahnte, von wie vielen er durchschaut wird!
-- Elias Canetti (Die Provinz des Menschen. 1942-1972)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZHXuQuCqARVAs0C5%40256bit.org.


Re: What to use for....

2023-04-24 Thread Christian Brabandt


On Mo, 24 Apr 2023, 'Sebastian Gödecke' via vim_use wrote:

> Hi there,
> i'm running into issue if i don't get solution for getting older
> I'm working with config files for an application that is using DN's
> In this config-file the ldap-dn has to be written in one (long) line.
> Actually it's 1779 counts long and for this, i don't see the missing "=".
> So how could i improve vim to "show" me that in my config-file is something
> missing.
> Could this be done with a template, syntax-checking or what else?
> Any hints for this would be great :D

Not sure I understand the problem. I think using numbered lines with 
wrapping (possibly with breakindent/showbreak setting enabled) enabled 
should allow you to show everything. So something like this:

:set wrap number breakindent showbreak=>>

For very long lines, smoothscroll feature could also be helpful (:set 
smoothscroll) and then scroll using Ctrl-E/CTRL-Y

Best,
Christian
-- 
Humor ist nicht erlernbar. Neben Geist und Witz setzt er vor allem ein
großes Maß an Herzensgüte voraus, an Geduld, Nachsicht und
Menschenliebe.
-- Curt Goetz

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZEZmDb9YGtrtmFIQ%40256bit.org.


Re: Unexpected cterm-colors

2023-04-21 Thread Christian Brabandt


On Fr, 21 Apr 2023, Enan Ajmain wrote:

> I know colorschemes have been a source of issue for ignorant vimmers
> for a long time.  This is not an attempt to restart old conversation.  I
> am looking for pointers where to research this question.
> 
> From ':h cterm-colors':
> 
>   NR-16   NR-8COLOR NAME
>   0   0   Black
>   1   4   DarkBlue
>   2   2   DarkGreen
>   3   6   DarkCyan
>   4   1   DarkRed
>   5   5   DarkMagenta
>   6   3   Brown, DarkYellow
>   7   7   LightGray, LightGrey, Gray, Grey
>   8   0*  DarkGray, DarkGrey
>   9   4*  Blue, LightBlue
>   10  2*  Green, LightGreen
>   11  6*  Cyan, LightCyan
>   12  1*  Red, LightRed
>   13  5*  Magenta, LightMagenta
>   14  3*  Yellow, LightYellow
>   15  7*  White
> 
> The color codes for NR-16 don't make sense to me.  Take Yellow, for example.
> Why is it numbered 14?  16-bit terminals use 11 for bright yellow [1].  Why is
> it different inside Vim?

It's not like Vim chose a different color, it's more like this documents
"standard" behaviour back in the time.

I believe this is just documenting the CGA standard. You can find it 
e.g. here: https://en.wikipedia.org/wiki/Color_Graphics_Adapter and 
check the Full CGA 16-color palette chart.

Best,
Christian
-- 
Die Zahl derer, die durch zu viele Informationen nicht mehr informiert
sind, wächst.
-- Rudolf Augstein

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZEJytsJ8KkIaRXiH%40256bit.org.


Re: What are some alternatives of vim-surround

2023-04-19 Thread Christian Brabandt


On Mi, 19 Apr 2023, Tim Chase wrote:

> Strange in its inconsistency, that one would remember that part of
> the source-text was from a register while the other doesn't.
> 
> Is there documentation on why this difference?  I poked around at
> 
>   :help "-
>   :help i_CTRL-R  (and following on its variants)
>   :help .
>   :help simple-change
> 
> but didn't see anything noting this small-delete peculiarity.

Well, it was a small annoyance of me in particular :) 
https://github.com/vim/vim/pull/7527

You are right, it's not documented. Do you have an idea on how to 
improve the documentation?


Best,
Christian
-- 
Die Jugend ist etwas Wundervolles. Es ist eine wahre Schande, daß man
sie an Kinder vergeudet.
-- George Bernard Shaw

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZD/snMMEdzwBqOSt%40256bit.org.


Re: What are some alternatives of vim-surround

2023-04-19 Thread Christian Brabandt


On Di, 18 Apr 2023, Tim Chase wrote:

> On 2023-04-18 07:29, 'Devin Weaver' via vim_use wrote:
> > leads me to wonder what are the "vim --clean" ways to perform the
> > same actions that vim-surround offers.
> 
> vim-surround offers a number of features, some easier to replicate,
> others more challenging.
> 
> I commonly use
> 
>c'"'
> 
> to wrap  in quotes, using control+r followed by
> double-quote to enter the text of the most recent deletion/yank.
> It's not repeatable with "." (well, it is, but it repeats the
> original replacement, not with the second text). 

If you use the small delete register, it is dot-repeatable. So for e.g. 
quoting a single word, cw'-'  works quite well, which for me is the 
main surround use case.


Best,
Christian
-- 
Konsequent ist nur der, der sich selber mit den Umständen wandelt.
-- Winston Spencer Churchill

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZD/gDZYsx8GyPBDt%40256bit.org.


Re: Unable to log in to vim.org

2023-04-17 Thread Christian Brabandt


On Mo, 17 Apr 2023, cjsmall wrote:

> I have just found out that vim.org is not accessible.  Firefox reports:  "We 
> can’t connect to the server at vim.org. Did you mean to go to www.vim.org?"
> 
> Indeed, www.vim.org does allow access to the main site.  When I attempt to 
> ping vim.org:
> 
> # ping vim.org
> ping: vim.org: Name or service not known
> 
> Pinging www.vim.org attempts to work, but it never completes.  Maybe you have 
> ping blocked to avoid other networking problems.
> 
> In any event, it looks like vim.org is not properly forwarding to www.vim.org 
> and not properly DNS registered..

This has been discussed several times. TLDR: always use www.vim.org

But this is a different issue than the one reported before, which was an 
issue with the database connection at the vim.org server side.

> [Note: I tried sending this message as a reply from my news reader and it 
> disappeared - likely because I had the moderator address as v...@vim.org.  
> This post was made on Google Groups, so
> apologies if the duplicate ever shows up.]

I did not see any message in the moderation queue. Usually posting via a 
NNTP News Reader does not work.

Best,
Chris 
-- 
Man kann sich das menschliche Geschlecht als einen Polypen denken, so
kommt man schon auf mein System von Seelenwanderung.
-- Georg Christoph Lichtenberg

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZD3IqpFjhz8YX/45%40256bit.org.


Re: Unable to log in to vim.org

2023-04-17 Thread Christian Brabandt


On Mo, 17 Apr 2023, 'Sebastian Gödecke' via vim_use wrote:
> Hm, now it's complete offline?

It seems to work now again. I can login and do not see issues with the 
database anymore.

Best,
Christian
-- 
Bei der Schürze liegt die Würze in der Kürze.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZD0oLFokqAub6de0%40256bit.org.


Re: What's the point of the "-i" switch? was : How do I replicate vim settings across two machines?

2023-03-31 Thread Christian Brabandt


On Fr, 31 Mär 2023, 'Ottavio Caruso' via vim_use wrote:

> Follow up to this thread, see bottom post. I have been messing about with
> vim and I have used this command from my local machine:
> 
> $ vim ~/external/docs/mlog -i ~/external/.viminfo
> 
> From the manual:
> 
> -i {viminfo}
>Specifies the filename to use when reading or  writing  the
>viminfo  file,  instead  of the default "~/.viminfo".  This
>can also be used to skip the use of the .viminfo  file,  by
>giving the name "NONE".
> 
> 
> But when I use this syntax, the cursor mark is still not at the same place
> where I left when I used vim directly on the remote machine.

I suppose because the filename is still stored twice within the viminfo 
file with two different paths? Open your viminfo file (please make a 
backup of it before messing with it) and search for the filename, for 
which this issue occurs. You most likely find it there twice and you 
need to make sure to have it there only once (with whatever path you 
want to access the file).

> So, my question is, what is the practical point of this switch?

It uses a different viminfo file than the default one. By itself it 
won't help, because you still have the problem, that you are editing the 
same file under two different paths, so it looks like 2 different files 
for Vim.

Best,
Christian
-- 
Die Religion hat viel Schlechtes und nur wenig Gutes hervorgebracht.
-- Claude Adrien Helvétius

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZCbw6gmivORY%2B5bt%40256bit.org.


Re: alternating lines ?

2023-03-27 Thread Christian Brabandt


On Mo, 27 Mär 2023, Igor Lerinc wrote:

> but i have performance issues.

This is not natively possible in Vim, so we have to fall-back to using 
signs (which can color complete lines, not just only the text within a 
line). However, to keep it in sync while editing, you have to refresh 
the signs often, which causes a performance penalty. How big is your 
fiel?

> and color it displays is grey. so not really useful..

You can of course customize the colors. Please read the help.

Best,
Christian
-- 
Wie man sein Kind nicht nennen sollte: 
  Ubo Ot 

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZCFLIliCujSrlLpH%40256bit.org.


Re: alternating lines ?

2023-03-27 Thread Christian Brabandt


On Mo, 27 Mär 2023, jr wrote:

> hi,
> 
> On Mon, 27 Mar 2023 at 05:08, Igor Lerinc  wrote:
> >
> > how to get sort of alternating lines ?
> > not sure how to explain it, but if i want to have one line that is of 
> > background of colorscheme, and line after that, to have like some sort of 
> > deviation in terms of highlight. and line after this, to be again, ...
> 
> "ledger" style.  did a little googling but didn't get (any) useful results.

Like this https://vi.stackexchange.com/a/10162/71 ?

Best,
Christian
-- 
Schnell verdientes Geld wird auch schnell ausgegeben.
-- Karin Berwind

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZCE40R2lkd8rStgV%40256bit.org.


Re: How do I replicate vim settings across two machines?

2023-03-14 Thread Christian Brabandt


On Di, 14 Mär 2023, 'Ottavio Caruso' via vim_use wrote:

> Hi,
> 
> I have two laptops.
> 
> LAP-EXT is a laptop that I use when out and about and is connected to the
> Internet via mobile 4G.
> 
> I frequently edit a file called mlog.txt
> 
> $ vim  ~/docs/mlog
> 
> At home I have another laptop (LAP-HOME), with no access to the Internet, on
> which I mount $HOME on LAP1 over sshfs:
> 
> 
> $ sshfs LAP-HOME: ~/external
> 
> Both machines run latest Debian stable.
> 
> So I can access mlog.txt as:
> 
> $ vim  ~/external/docs/mlog
> 
> 
> However if I do that, I get different behaviours, for example the cursor
> mark is in different places, so I don't know where I left the text on the
> other machine.
> 
> The only workaround at the moment is to ssh to LAP-EXT and run vim from
> there.
> 
> How can I tell vim on LAP-HOME to use exactly the same settings as vim on
> LAP-EXT including leaving the cursor at the same position?

You are editing the same file using 2 different paths, so Vim thinks 
those are different files. I don't think there is a way to convince Vim 
that those are the same files, thus the only other option would be to 
edit your viminfo file manually and carefully and change the path there.

Best,
Christian
-- 
Eine Frau begeht einen Fehler, wenn sie den Mann schon beim ersten
Beisammensein ihre Blinddarm-Operationsnarbe bewundern läßt.
-- Cathérine Deneuve

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZBBcopAm3aXJ/AOA%40256bit.org.


Re: SQL quote sign syntax fail

2023-03-13 Thread Christian Brabandt


On So, 12 Mär 2023, Hans Schou wrote:

> Hi
> 
> I have a PostgreSQL dump file with some data in a COPY..stdin block.
> When an quote sign occur in "O'Malley" the color changes until next quote sign
> 
> Example in file names.sql:
> 
> COPY public.names (name) FROM stdin;
> Thomas O'Malley
> \.
> 
> The quote is a legal character in that block and the color should not be
> changed.
> 
> After \. on a single line the color should go back to normal.
> 
> Any hint is much appreciated.

Vim supports several different SQL dialects out-of-the box, but it looks 
like PostgreSQL is not available by default (and it assumes that if no 
dialect is specified, it will try to use Oracle SQL).

The above looks invalid to my eye for Oracle (but it's been a awhile 
since I used Oracle SQL intensively), so I wouldn't expect this to work 
properly. So perhaps looks for specific PostgreSQL syntax file.

The already mentioned pgsql from lifepillar seems to be specific for 
PostgreSQL (even so it seems to have the same issue as mentioned 
elsewhere).

See also :h ft_sql.txt and :h sql.vim

Best,
Christian
-- 
Frage an Radio Eriwan:
Wir wollen in unserer Schule Schillers Wilhelm Tell aufführen. Dürfen wir das?
Radio Eriwan antwortet:
Im Prinzip ja - aber woher wollt ihr den Apfel nehmen? 

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZA8vvUlrKK1T2vLg%40256bit.org.


Re: E121: Undefined variable

2023-03-13 Thread Christian Brabandt


On Mo, 13 Mär 2023, Jose Caballero wrote:

> Hello,
> 
> I have this function [*].
> It is meant to create a line when opening a new file with extension
> .pan, where that line is based on the path of the file.
> That code works on my personal computer, with VIM 9.0.1023
> However, it fails on the computer at work where it has to run, with VIM 
> 7.4.629
> I get this error [**].
> 
> Is there an easy way to make it work with version 7.4?
> 
> Thanks a lot in advance.
> Cheers,
> Jose
> 
> 
> [*]
> function! CreatePanFile()
>   let path = expand('%:p:h')
>   let file = expand('%:t:r')
>   let features_idx = match(path, 'features')
>   if features_idx != -1
> let features_path = substitute(path[features_idx:],
> '\v(features\/.*)$', '\1', '')
> let line = "template '" . features_path . "/" . file . "';"
> call setline(1, line)
>   endif
> endfunction
> autocmd BufNewFile *.pan call CreatePanFile()
> 
> [**]
> Error detected while processing function CreatePanFile:
> line 5: E121: Undefined variable: features_idx:
> E116: Invalid arguments for function substitute(path[features_idx:],
> '\v(features\/.*)$', '\1', '')
> E15: Invalid expression: substitute(path[features_idx:],
> '\v(features\/.*)$', '\1', '')
> line 6: E121: Undefined variable: features_path
> E15: Invalid expression: "template '" . features_path . "/" . file . "';"
> line 7: E121: Undefined variable:
> line E116: Invalid arguments for function setline

looks like Vim thinks the ':' belongs to the variable name. 

I think it should work, if you add parenthesis around it like this:

#v+
 substitute(path[(features_idx):],'\v(features\/.*)$', '\1', '')
#v-

Best,
Christian
-- 
Verdoppeln sie den Platz auf Ihrer Festplatte: Löschen sie Windows!

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZA8t4mrhdGYRAu2w%40256bit.org.


Re: get better copy backwards

2023-03-07 Thread Christian Brabandt


On Di, 07 Mär 2023, Enan Ajmain wrote:

> To answer your question, vim motions are of two types:
>   - ':h inclusive'
>   - ':h exclusive'
> 
> I don't understand that helpdoc well, but I understand that this is the
> reason 'yb' excludes the character the cursor was on.  For fun, try
> 'yge', which is an inclusive motion.  It's not a substitute of 'yb'
> (you'll see why when you try).  It's just to demonstrate the reason why
> 'yb' behaves unintuitively.

Try using yvb which should force the motion to be inclusive, e.g. 
include the right-most character. See :h o_v

> It's not gonna be changed upstream, but I bet patching your own copy of
> vim won't be too hard.  If I were using 'yb' as often as you seem to be,
> I would've tried patching it.

That makes it even more confusing, if you'll have to use a non-patched 
Vim.

Best,
Christian
-- 
Alles ist schon einmal gesagt worden, aber da niemand zuhört, muß man
es immer von neuem sagen.
-- André Gide

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ZAb4hzSNAXgEpIuD%40256bit.org.


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

2023-01-20 Thread Christian Brabandt


On Fr, 20 Jan 2023, 'Ottavio Caruso' via vim_use wrote:

> Am 19/01/2023 um 16:40 schrieb Christian Brabandt:
> > On Do, 19 Jan 2023, 'Ottavio Caruso' via vim_use wrote:
> > > $ cat .vim/vimrc
> > > source $VIMRUNTIME/defaults.vim
> > This is where the auto command is defined. If you do not want it, you
> > can delete this after sourcing the defauls.vim file:
> > 
> > :augroup vimStartup | au! | augroup END
> 
> Thanks, but if do that, I'd then remove this feature from all files, whether
> edited or not, wouldn't I?. Is it possible to have this implemented only on
> files that are saved?

I would find it inconsistent for somtimes jumping to a different spot in 
a file and sometimes not. I might not even remember if I last time saved 
that particular file or not (e.g. I just need to check something but did 
not save the file). That might be confusing.

It might be possible to change that behaviour using a custom function 
(e.g. set a flag on BufWritePost, check that flag on a BufLeave 
autocomamnd and set the '" mark accordingly). Not sure if this will work 
or not.

Mit freundlichen Grüßen
Christian
-- 
Herr, du hast mir das Können genommen, so nimm mir auch noch das Wollen.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20230120103943.GE1041827%40256bit.org.


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

2023-01-19 Thread Christian Brabandt


On Do, 19 Jan 2023, Tony Mechelynck wrote:

> > Es mag zu meinem Vorteil oder Nachteil ausfallen, ich fürchte nicht,
> > so gesehen zu werden, wie ich bin.
> > -- Jean Jacques Rousseau (an Malesherbes, 1762)
> >
> @Christian: weißt Du wie Jean-Jacques Rousseau dies auf Französisch schreibte?

Unfortunately Not. And my French is very bad, had it in school for 5 
years and I do not remember anything, just enough for:
Je ne parle pas francais :) 

Best,
Chris

-- 
Am Abend wird man klug
Für den vergangenen Tag,
Doch niemals klug genug
Für den, der kommen mag.
-- Friedrich Rückert (Gedichte, Pseudonym: Freimund Raimar)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20230120073827.GD1041827%40256bit.org.


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

2023-01-19 Thread Christian Brabandt


On Do, 19 Jan 2023, 'Ottavio Caruso' via vim_use wrote:

> Ok, the title is probably not accurate, so I'll try to explain.
> 
> 
> Let's say I have a file with 5 lines
> 
> --
> 
> This is line 1
> Another line
> More lines
> Even more lines
> This is the last line
> 
> -
> 
> I save the file (Esc w q). When I reopen it, the cursor is at the end of
> line 5.
> 
> Then I move the cursor up two lines. I quit without saving (Esc q!).
> 
> When I reopen the file, the cursor is now at the 3rd line.
> 
> Is this intended behaviour? If so, how can I tell Vim to ignore movements
> but just this time?
> 

The behaviour you are seeing, comes from a BufReadPost autocommand, that 
restores the last cursor position. It's defined in the help below
:h last-position-jump

> $ cat .vim/vimrc
> source $VIMRUNTIME/defaults.vim

This is where the auto command is defined. If you do not want it, you 
can delete this after sourcing the defauls.vim file:

:augroup vimStartup | au! | augroup END


Best
Christian
-- 
Es mag zu meinem Vorteil oder Nachteil ausfallen, ich fürchte nicht,
so gesehen zu werden, wie ich bin.
-- Jean Jacques Rousseau (an Malesherbes, 1762)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20230119164045.GC1041827%40256bit.org.


Re: [remove horizontal and vertical guidelines]

2023-01-19 Thread Christian Brabandt


On Do, 19 Jan 2023, Maxim Abalenkov wrote:

> I’m still struggling with these artefacts. I can confirm, I’m using the same 
> terminal font as before. I tried to use another font, but these artefacts 
> remained. I fiddled with the linespace and redraw commands. Changing their 
> values didn’t help. I tried to downgrade Vim to a few versions down, but not 
> below 9.x.y.z. I
> tried to downgrade Yakuake and Konsole terminal emulators to a few versions 
> down. But that didn’t resolve my issue either. The only thing that worked was 
> using another terminal emulator—Alacritty. There I see no artefacts. Hurrah! 
> But I would still like to fix it and make it work in Yakuake and Konsole. 
> Please let me
> know, if you have any more suggestions. Thank you and have a wonderful day 
> ahead!

This might be causes by setting $TERM wrongly. What is it set to? What 
does :set term? show for both Yakuake and Konsole? 

Can you try :set term=builtin_xterm

Also, are you using tmux or anything related? Have you tried without it?

Best,
Chris
-- 
Es gibt Menschen, die nur lesen, um nicht denken zu müssen.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20230119120405.GB1041827%40256bit.org.


Re: Simple Vim questions -- Backspace + Escape in maps

2023-01-02 Thread Christian Brabandt

Am 2022-12-31 18:11, schrieb bertran...@gmail.com:

I used Vi for many years (on Unix) then stopped, but need it again (on
Windows 10). There are couple of things that I used to be able to do
in my sleep but no longer master, and the online information is hard
to use (it talks about very complicated things but I was not able to
find simple answers to simple questions).

1. Backspace in insert mode, over some characters, gives a special
character instead of erasing. I remember that this was a feature, not
a bug – a way to type special characters when they were troublesome
to produce otherwise. I don’t need that facility, which is very
annoying; I just want backspace to erase. What should I do? My
settings file (_vimrc) currently has

  set bs=2



Hm, I don't know about backspace, but perhaps you meant to not redraw
the line when doing a change command by e.g. `:set cpo+=$` (see :h 
cpo-$)



Best,
Chris

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/4101987b7c5991e0df96b17c89e6f142%40256bit.org.


Re: Multiple windows get corrupted

2022-12-19 Thread Christian Brabandt

Am 2022-12-19 01:04, schrieb Ben Mehmet:

When running vim (mostly) in multi-window mode in ubuntu, my windows
get corrupted with random characters. Hard to explain, but as if the
screen doesn't get refreshed. Like to see the actual buffer contents,
I have to move up or down continuously. I try ctrl-r or :e with no
result. I am on vim 8.2 and ubuntu 22.04.
I appreciate any help with this matter.


Have you tried using `Ctrl-L` or the ex command `:redraw` (with or 
without the `!`)?


Does it fix it?

Also, are you running vim in a terminal or using a GUI? Can you verify 
using the latest Vim version?


Thanks,
Chris

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/b82f0c0fb03160df7d635781d829abb9%40256bit.org.


Re: version 9.0 and patches

2022-12-14 Thread Christian Brabandt


On Di, 13 Dez 2022, Michael.Pearson2 via vim_use wrote:

> CVE-2022-4293

The fix is https://github.com/vim/vim/releases/tag/v9.0.0804

> CVE-2022-4292

The fix is https://github.com/vim/vim/releases/tag/v9.0.0882

> CVE-2022-3491

The fix is https://github.com/vim/vim/releases/tag/v9.0.0742

> CVE-2022-3520

The fix is https://github.com/vim/vim/releases/tag/v9.0.0765

> CVE-2022-3591

The fix is https://github.com/vim/vim/releases/tag/v9.0.0789

> Is there a cumulative patch for version 9 that will encompass all the
> patches for all the following CVE's?

No, we do not provide cumulative patches. If you are installing vim, 
best is always to go from the lastest patch in the master branch and 
keep it updated regularly.

If you are using a Distribution with Security Support, it will probably 
take care of those. But you should check with the maintainers separately 
to be sure.


Best,
Christian
-- 
Gib einem Mann einen Fisch und du ernährst ihn für einen Tag.
Lehre einen Mann zu fischen und du ernährst ihn für sein Leben.
-- Konfuzius (551-479 v. Chr.)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221214083005.GD3184211%40256bit.org.


Re: Can't upload syntax file

2022-12-12 Thread Christian Brabandt


On Mo, 12 Dez 2022, Mark Manning wrote:

> I have an account on the VIM page and it contains my FreeBasic.vim file
> but there is no way to add more files there. Should I just post it
> here?
> 
> Thanks in advance for answering. :-)

So you do not see the "upload new version" link anymore?

Best,
Christian
-- 
Das erste Mal liest man einen Roman etc. der Geschichte wegen, das 2.,
3. etc. des Inhalts (Gehalts), Bemerkungen etc. wegen.
-- Jean Paul (eig. Johann Paul Friedrich Richter)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221213070622.GC3184211%40256bit.org.


Re: Reply to my own post didn't register

2022-12-12 Thread Christian Brabandt


On Sa, 10 Dez 2022, Tony Mechelynck wrote:

> The first mail of any user to each list has to be manually approved.
> This manual approval may take hours or even a day depending on which
> moderator is online when. Normally the moderator clicks "Allow this
> message and all future messages from the same author" and then future
> messages by the same author to the same list will appear in a matter
> of (normally) seconds. In case of doubt the moderator may also just
> approve the current message, and then future messages by the same
> author are still subject to approval (this is extremely rare, unless
> the moderator clicks the wrong button by mistake); but another
> possibility is that a message which the Google interface thinks "looks
> spammy", even by a whitelisted author, will have to be specially
> approved by a moderator. In most cases the latter are false alarms.

When I am not on a PC (meaning, not logged in to the Google Web 
Interface), I usually just approve the mail via mail. But that does 
unfortunately does not white-list the sender, so further mails from him 
need to be approved and may cause additional delay.

Best,
Christian
-- 
Das Verhängnis unserer Kultur ist, daß sie sich materiell viel
stärker entwickelt hat als geistig.
-- Albert Schweitzer

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221212095209.GB3184211%40256bit.org.


Re: Vim spell indentation issue

2022-12-09 Thread Christian Brabandt


On Fr, 09 Dez 2022, Karthick Gururaj wrote:

> Can you try with 4 (not 3) spaces at the start of the line or tab as
> the leading character?

Ah, I only see it with an additional empty line above it and it will 
then be matched as markDownCodeBlock. Note my syntax/markdown has the 
following definition:

,
| syn region markdownCodeBlock start="^\n\( \{4,}\|\t\)" end="^\ze \{,3}\S.*$" 
keepend
`

and the file is from Oct 13, 2022 as mentioned in the header.

So I would recommend to update vim or the markdown syntax file.


Best,
Christian
-- 
Wie sich die Gegensätze gleichen!
-- Alfred Polgar

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221209082404.GF472721%40256bit.org.


Re: Vim spell indentation issue

2022-12-08 Thread Christian Brabandt


On Mi, 07 Dez 2022, Mohit Agarwal wrote:

> Hi,
> 
> I've seen the following issue with Vim spell on multiple installs.
> In a markdown file, the spelling error in the second line is not
> recognised here:
> 
> - The quick bron fox jumps over the lazy dog. The quick bron
>   fox jumps over the lazy dog. The quick bron fox jumps over
> 
> But it is recognised when that line is not indented here:
> 
> - The quick bron fox jumps over the lazy dog. The quick bron
>   fox jumps over the lazy dog. The quick bron fox jumps over the lazy
> 
> I have tried to attatch a screenshot which shows this issue. I have no
> idea what could be going on.

I cannot seem to reproduce this. Are you using a custom markdown syntax 
plugin? Can you reproduce this starting from vim --clean?



Best
Christian
-- 
Ein Autor bringt sich darum nicht ganz in seinen Roman, weil [er] eine
Menge Züge von sich übriglassen muß, um sie andern Leuten darin zu
leihen.
-- Jean Paul

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221209075859.GE472721%40256bit.org.


Re: libsodium problem with recent versions and MSVC

2022-12-06 Thread Christian Brabandt


On Di, 06 Dez 2022, Yongwei Wu wrote:

> Vim 9.0.1015 seems to have broken MSVC build regarding sodium/dyn. 1014 was 
> OK.
> 
> Now I get:
> 
> evalfunc.obj : error LNK2001: unresolved external symbol __imp__sodium_init
> evalfunc.obj : error LNK2001: unresolved external symbol 
> __imp__randombytes_random
> vim.exe : fatal error LNK1120: 2 unresolved externals

I think this is already addressed at: 
https://github.com/vim/vim/pull/11667

Best,
Christian
-- 
Man kennt nur diejenigen, von denen man leidet.
-- Goethe, Maximen und Reflektionen, Nr. 647

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221206144102.GD472721%40256bit.org.


Re: List of changed lines

2022-12-01 Thread Christian Brabandt


On Do, 01 Dez 2022, Salman Halim wrote:

> One obvious way would be to have Vim go to the :earlier state, grab the
> contents of the buffer, come back to 'now' and then manually do a diff to see
> what's changed. However, that seems expensive for a large file. I was
> wondering, instead, if there might be a way to somehow get access to the undo
> information kept by Vim. I tried :wundo, but the file that was written was in 
> a
> binary format, so wasn't something I could parse.

I believe gundo provides a way to directly show the diff between various 
undo states¹ and I think you are right, the only way to do this is to 
manually safe the state of the buffer and run a diff over that file with 
the current buffer. I don't think there is an simpler way than that.

¹) see e.g. https://simnalamburt.github.io/vim-mundo/#usage and search 
for preview pane

Best,
Christian
-- 
Sei sparsam, koste es was es wolle.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20221201155216.GC472721%40256bit.org.


  1   2   3   4   5   6   7   8   9   10   >