Re: Documentation update: How to set a font

2023-04-29 Fir de Conversatie Tony Mechelynck
On Sat, Apr 29, 2023 at 11:10 PM Bram Moolenaar wrote: […] > We don't support GTK 1 anymore, suggesting code in the help for not > implemented functionality doesn't make much sense. OK. Well, in that case we should test for "if has('gui_gtk')" (and not gtk2) rather high in the list, suppress the

Re: [vim/vim] Provide `shortmess` option to combine `S` messages and search count (Issue #12316)

2023-04-29 Fir de Conversatie Gary Johnson
On 2023-04-29, Dani Dickstein wrote: > Currently the shortmess option matrix for search messages looks like this: > > Feature 'shortmess' setting > +s+S +s-S -s-S -s+S ??? > "search hit TOP/BOTTOM, c

Re: Documentation update: How to set a font

2023-04-29 Fir de Conversatie Bram Moolenaar
Tony wrote: > > > Under *setting-guifont*, in file runtime/doc/gui.txt (or > > > $VIMRUNTIME/doc/gui.txt) line 1229 > > > there is > > > if has("gui_gtk2") > > > there should be > > > if has("gui_gtk2") || has("gui_gtk3") > > > otherwise the 'guifont' option will be given a w

Patch 9.0.1499

2023-04-29 Fir de Conversatie Bram Moolenaar
Patch 9.0.1499 Problem:Using uninitialized memory with fuzzy matching. Solution: Initialize the arrays used to store match positions. Files: src/quickfix.c, src/search.c, src/testdir/test_matchfuzzy.vim *** ../vim-9.0.1498/src/quickfix.c 2023-03-07 17:45:07.188247898 + --- s

Re: Documentation update: How to set a font

2023-04-29 Fir de Conversatie Tony Mechelynck
On Sat, Apr 29, 2023 at 7:02 PM Bram Moolenaar wrote: > > > Tony wrote: > > > Under *setting-guifont*, in file runtime/doc/gui.txt (or > > $VIMRUNTIME/doc/gui.txt) line 1229 > > there is > > if has("gui_gtk2") > > there should be > > if has("gui_gtk2") || has("gui_gtk3") > > o

Re: Documentation update: How to set a font

2023-04-29 Fir de Conversatie Bram Moolenaar
Tony wrote: > Under *setting-guifont*, in file runtime/doc/gui.txt (or > $VIMRUNTIME/doc/gui.txt) line 1229 > there is > if has("gui_gtk2") > there should be > if has("gui_gtk2") || has("gui_gtk3") > otherwise the 'guifont' option will be given a wrong font name > (selected b

Re: Compiler warnings in Vim with +eval and +gui_gtk after applying patches 1492 to 1496

2023-04-29 Fir de Conversatie Bram Moolenaar
Tony wrote: > > > I'm including the full log because "make -j4" might display the > > > warnings otherwise than where they belong. > > > > > > linux-tuxedo:~/.build/vim/vim-hg/src/shadow-normal # (make -j4 || echo > > > 'exit status' $? ; date) 2>&1 |tee -a make.log > > > > [...] > > > > > gcc -

Documentation update: How to set a font

2023-04-29 Fir de Conversatie Tony Mechelynck
Under *setting-guifont*, in file runtime/doc/gui.txt (or $VIMRUNTIME/doc/gui.txt) line 1229 there is if has("gui_gtk2") there should be if has("gui_gtk2") || has("gui_gtk3") otherwise the 'guifont' option will be given a wrong font name (selected by has("x11")) in gvim with GTK3

Re: Patch 9.0.1497

2023-04-29 Fir de Conversatie Christ van Willegen
Op za 29 apr. 2023 16:50 schreef Christ van Willegen : > Hi, > > Op za 29 apr. 2023 13:10 schreef Bram Moolenaar : > >> >> Patch 9.0.1497 >> Problem:The ruler percentage can't be localized. >> Solution: Use a string that can be translated. (Emir Sari, closes >> #12311) >> > > Couldn't you us

Re: Compiler warnings in Vim with +eval and +gui_gtk after applying patches 1492 to 1496

2023-04-29 Fir de Conversatie Tony Mechelynck
On Sat, Apr 29, 2023 at 3:26 PM Bram Moolenaar wrote: > > > Tony wrote: > > > I'm including the full log because "make -j4" might display the > > warnings otherwise than where they belong. > > > > linux-tuxedo:~/.build/vim/vim-hg/src/shadow-normal # (make -j4 || echo > > 'exit status' $? ; date) 2

Re: Patch 9.0.1497

2023-04-29 Fir de Conversatie Christ van Willegen
Hi, Op za 29 apr. 2023 13:10 schreef Bram Moolenaar : > > Patch 9.0.1497 > Problem:The ruler percentage can't be localized. > Solution: Use a string that can be translated. (Emir Sari, closes #12311) > Couldn't you use a bare vim_snprintf(p, l, _("%d%%"), perc); And specify %3d%% or %%%-

Re: Compiler warnings in Vim with +eval and +gui_gtk after applying patches 1492 to 1496

2023-04-29 Fir de Conversatie Bram Moolenaar
Tony wrote: > I'm including the full log because "make -j4" might display the > warnings otherwise than where they belong. > > linux-tuxedo:~/.build/vim/vim-hg/src/shadow-normal # (make -j4 || echo > 'exit status' $? ; date) 2>&1 |tee -a make.log [...] > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DF

Patch 9.0.1498

2023-04-29 Fir de Conversatie Bram Moolenaar
Patch 9.0.1498 Problem:In a terminal window the cursor may jump around. (Kenny Stauffer) Solution: Do not move the cursor to the position for terminal-normal mode. (closes #12312) Files: src/terminal.c *** ../vim-9.0.1497/src/terminal.c 2023-04-22 22:54:28.049802336

Patch 9.0.1497

2023-04-29 Fir de Conversatie Bram Moolenaar
Patch 9.0.1497 Problem:The ruler percentage can't be localized. Solution: Use a string that can be translated. (Emir Sari, closes #12311) Files: src/buffer.c *** ../vim-9.0.1496/src/buffer.c2023-04-23 17:50:14.853935966 +0100 --- src/buffer.c2023-04-29 12:09:10.870281