Patch 8.1.2296

33 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 12, 2019, 4:44:58 PM11/12/19
to vim...@googlegroups.com

Patch 8.1.2296
Problem: Text properties are not combined with syntax by default.
Solution: Make it work as documented. (closes #5190)
Files: src/testprop.c, src/testdir/test_textprop.vim


*** ../vim-8.1.2295/src/testdir/test_textprop.vim 2019-11-09 21:28:06.526103024 +0100
--- src/testdir/test_textprop.vim 2019-11-12 22:43:52.507605417 +0100
***************
*** 681,687 ****
\ "call prop_type_add('background', {'highlight': 'BackgroundProp', 'combine': 0})",
\ "call prop_type_add('backgroundcomb', {'highlight': 'NumberProp', 'combine': 1})",
\ "eval 'backgroundcomb'->prop_type_change({'highlight': 'BackgroundProp'})",
! \ "call prop_type_add('error', {'highlight': 'UnderlineProp', 'combine': 1})",
\ "call prop_add(1, 4, {'end_lnum': 3, 'end_col': 3, 'type': 'long'})",
\ "call prop_add(2, 9, {'length': 3, 'type': 'number'})",
\ "call prop_add(2, 24, {'length': 4, 'type': 'number'})",
--- 681,687 ----
\ "call prop_type_add('background', {'highlight': 'BackgroundProp', 'combine': 0})",
\ "call prop_type_add('backgroundcomb', {'highlight': 'NumberProp', 'combine': 1})",
\ "eval 'backgroundcomb'->prop_type_change({'highlight': 'BackgroundProp'})",
! \ "call prop_type_add('error', {'highlight': 'UnderlineProp'})",
\ "call prop_add(1, 4, {'end_lnum': 3, 'end_col': 3, 'type': 'long'})",
\ "call prop_add(2, 9, {'length': 3, 'type': 'number'})",
\ "call prop_add(2, 24, {'length': 4, 'type': 'number'})",
*** ../vim-8.1.2295/src/version.c 2019-11-12 22:33:32.089004066 +0100
--- src/version.c 2019-11-12 22:41:08.140040889 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2296,
/**/

--
hundred-and-one symptoms of being an internet addict:
82. AT&T names you Customer of the Month for the third consecutive time.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Marius Gedminas

unread,
Nov 13, 2019, 2:13:39 AM11/13/19
to vim...@googlegroups.com
On Tue, Nov 12, 2019 at 10:44:50PM +0100, Bram Moolenaar wrote:
>
> Patch 8.1.2296
> Problem: Text properties are not combined with syntax by default.
> Solution: Make it work as documented. (closes #5190)
> Files: src/testprop.c, src/testdir/test_textprop.vim

The changes to src/testprop.c are missing from the diff in this email,
and from the git commit as well. (Possibly because the file is actually
named src/textprop.c. Last change Nov 2, 2019.)
Marius Gedminas
--
> find /lib/modules/2.4.17-expt/kernel/ -type f|while read i; do insmod $i; done
You're sick. I like you.
-- Andrew Morton on lkml
signature.asc

Bram Moolenaar

unread,
Nov 13, 2019, 10:38:28 AM11/13/19
to vim...@googlegroups.com, Marius Gedminas

Marius Gedminas wrote:

> On Tue, Nov 12, 2019 at 10:44:50PM +0100, Bram Moolenaar wrote:
> >
> > Patch 8.1.2296
> > Problem: Text properties are not combined with syntax by default.
> > Solution: Make it work as documented. (closes #5190)
> > Files: src/testprop.c, src/testdir/test_textprop.vim
>
> The changes to src/testprop.c are missing from the diff in this email,
> and from the git commit as well. (Possibly because the file is actually
> named src/textprop.c. Last change Nov 2, 2019.)

s/test/text

Weird, my patch script should have caught that.


--
hundred-and-one symptoms of being an internet addict:
83. Batteries in the TV remote now last for months.

Bram Moolenaar

unread,
Nov 13, 2019, 5:03:24 PM11/13/19
to Bram Moolenaar, vim...@googlegroups.com, Marius Gedminas

I wrote:

> Marius Gedminas wrote:
>
> > On Tue, Nov 12, 2019 at 10:44:50PM +0100, Bram Moolenaar wrote:
> > >
> > > Patch 8.1.2296
> > > Problem: Text properties are not combined with syntax by default.
> > > Solution: Make it work as documented. (closes #5190)
> > > Files: src/testprop.c, src/testdir/test_textprop.vim
> >
> > The changes to src/testprop.c are missing from the diff in this email,
> > and from the git commit as well. (Possibly because the file is actually
> > named src/textprop.c. Last change Nov 2, 2019.)
>
> s/test/text
>
> Weird, my patch script should have caught that.

Found it: I actually had a src/testprop.c file in the reference
directory. And even src/texprop.c. Must have been there from long ago.

--
hundred-and-one symptoms of being an internet addict:
90. Instead of calling you to dinner, your spouse sends e-mail.
Reply all
Reply to author
Forward
0 new messages