Patch 8.0.518 issue: encodings=utf-8 breaking foldmethod=manual display

26 views
Skip to first unread message

justrajdeep

unread,
Mar 29, 2017, 1:37:46 PM3/29/17
to vim_dev
Hi Vim Developers


I recently updated my vim to version 8.0.518

I have foldmethod=marker set by default.

I use default vimrc share/vim/vim80/vimrc_example.vim

If I dont have set encoding=utf-8 http://i.imgur.com/B8tsoFg.png is how a folded file looks.

if i have set encoding=utf-8 http://i.imgur.com/Ujlfr6S.png is how it looks.

the ---------------------- are replaced by some text which depends on where my cursor is.

Anyone else aware of this issue?

Thanks

Christian Brabandt

unread,
Mar 29, 2017, 2:23:07 PM3/29/17
to vim_dev
Hi justrajdeep!
Can you check patch 8.0.517? 518 fixed a particular problem with
multibyte chars for the foldtext output. However, I am not sure, how
this could cause this problem.

Best,
Christian
--
Daß wir miteinander reden können, macht uns zu Menschen.
Aber so verdeckt war es doch wesentlich interessanter.
-- Karl Jaspers

Christian Brabandt

unread,
Mar 29, 2017, 2:25:08 PM3/29/17
to vim_dev
Hi vim_dev!

On Mi, 29 Mär 2017, Christian Brabandt wrote:

> Hi justrajdeep!
>
> On Mi, 29 Mär 2017, justrajdeep wrote:
>
> > Hi Vim Developers
> >
> >
> > I recently updated my vim to version 8.0.518
> >
> > I have foldmethod=marker set by default.
> >
> > I use default vimrc share/vim/vim80/vimrc_example.vim
> >
> > If I dont have set encoding=utf-8 http://i.imgur.com/B8tsoFg.png is how a folded file looks.
> >
> > if i have set encoding=utf-8 http://i.imgur.com/Ujlfr6S.png is how it looks.
> >
> > the ---------------------- are replaced by some text which depends on where my cursor is.
> >
> > Anyone else aware of this issue?
>
> Can you check patch 8.0.517? 518 fixed a particular problem with
> multibyte chars for the foldtext output. However, I am not sure, how
> this could cause this problem.

Oh and can you please show the output of :set fillchars?

Best,
Christian
--
Windows 3.x-Airlines
Das Flughafen-Terminal ist schön bunt, die Stewardessen und Stewards
freundlich. Man gelangt ohne Probleme an Bord, ein reibungsloser Start
plötzlich und ohne jegliche Vorwarnung stürzt dann das Flugzeug ab.

Bram Moolenaar

unread,
Mar 29, 2017, 2:32:09 PM3/29/17
to vim...@googlegroups.com, justrajdeep
Looks like 8.0.0518 fixed it for multi-byte characters and broke it for
others. I'll make a fix.

--
hundred-and-one symptoms of being an internet addict:
235. You start naming your kids Pascal, COBOL, Algol and Fortran.

/// 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 ///

justrajdeep

unread,
Mar 29, 2017, 3:13:19 PM3/29/17
to vim_dev
Hi Christian

I dont see the issue with patch 8.0.517.

se fillchars? output

fillchars=vert:|,fold:-

Thanks


Christian Brabandt

unread,
Mar 29, 2017, 3:16:19 PM3/29/17
to vim_dev
Hi justrajdeep!

On Mi, 29 Mär 2017, justrajdeep wrote:

> I dont see the issue with patch 8.0.517.
>
> se fillchars? output
>
> fillchars=vert:|,fold:-

Please check v8.0.524 I think it fixed the issue already.

Best,
Christian

--
Das so genannte Aus-sich-Schöpfen macht gewöhnlich falsche
Originale und Manieristen.
-- Goethe, Maximen und Reflektionen, Nr. 1162

justrajdeep

unread,
Mar 29, 2017, 3:25:37 PM3/29/17
to vim_dev
Yes v8.0.524 fixes the issue.

Thanks

Coacher

unread,
Mar 29, 2017, 3:51:38 PM3/29/17
to vim_dev
On Wednesday, 29 March 2017 22:16:19 UTC+3, Christian Brabandt wrote:
> Please check v8.0.524 I think it fixed the issue already.
>
> Best,
> Christian
>
> --
> Das so genannte Aus-sich-Schöpfen macht gewöhnlich falsche
> Originale und Manieristen.
> -- Goethe, Maximen und Reflektionen, Nr. 1162

Since 8.0.524 I am unable to close any folds with fold markers.
8.0.521 doesn't have this problem with exactly the same setup.

rajdeep mondal

unread,
Mar 29, 2017, 4:50:56 PM3/29/17
to vim...@googlegroups.com
I am able to close folds using za, zM and :foldclose in version 8.0.524


--
--
You received this message from the "vim_dev" 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 a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/MFCi4zr4MLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
==============================
Rajdeep
==============================

Coacher

unread,
Mar 29, 2017, 5:23:45 PM3/29/17
to vim_dev
On Wednesday, 29 March 2017 23:50:56 UTC+3, justrajdeep wrote:
> I am able to close folds using za, zM and :foldclose in version 8.0.524
>
>
> On Wed, Mar 29, 2017 at 3:51 PM, Coacher <itum...@gmail.com> wrote:
> On Wednesday, 29 March 2017 22:16:19 UTC+3, Christian Brabandt  wrote:
>
> > Please check v8.0.524 I think it fixed the issue already.
>
> >
>
> > Best,
>
> > Christian
>
> >
>
> > --
>
> > Das so genannte Aus-sich-Schöpfen macht gewöhnlich falsche
>
> > Originale und Manieristen.
>
> >               -- Goethe, Maximen und Reflektionen, Nr. 1162
>
>
>
> Since 8.0.524 I am unable to close any folds with fold markers.
>
> 8.0.521 doesn't have this problem with exactly the same setup.
>
>
>
>
>
> --
>
> --
>
> You received this message from the "vim_dev" 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 a topic in the Google Groups "vim_dev" group.
>
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/MFCi4zr4MLo/unsubscribe.
>
> To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
>
>
>
>
> ==============================
> Rajdeep
> ==============================

Indeed. The problem was caused by me fiddling with options in order to workaround the aforementioned issue in 8.0.0518.
Reply all
Reply to author
Forward
0 new messages