Hi,
2016-1-15(Fri) 18:10:10 UTC+9 h_east:
> Hi Francisco, Chris.B and list,
>
> 2016-1-15(Fri) 6:39:07 UTC+9 Francisco Lopes:
> > @chrisbra I've just checked that it reproduces like I described. Will open
> > another issue with similar procedure.
>
> I think this behavior is specification at the moment.
> (This is not written to the document...)
>
> smart-indent is explicitly disabled has been written in the source code.
> Please grep `can_bs` in Vim source code.
Oops, Big typo.
`can_si` is correct.
And also all this later
>
> If the `can_bs` is true, smart-indent might be work.
>
> Briefly explain:
> `can_bs` is set true, when add a new line.
> And set to false at the following operation.
> - Iuput normal character
> - Input ctrl-T or vtrl-D (indent shift)
> - Input <DEL> or <BS> or <TAB>
> - Do internal line formatting
> - Stop insert mode
> - Enter completion (src/edit.c : 5065)
>
>
> Christian Brabandt>
> I think your patch is not good idea that to forcibly change to true the
> `can_bs` at that location.
>
> The following behavior has unexpectedly changed actually.
>
> How to reproduce:
> $ vim -Nu NONE -c "set smartindent nocindent"
> :exec "silent! norm! i{\<CR>\<SPACE>\<BS>\<C-X>\<C-O>}"
>
> Without your patch behavior:
> {
> <TAB>}
>
> With your patch behavior:
> {
> }
>
>
> I think the patched version is not taken integrity of the following behavior.
>
> How to reproduce:
> $ vim -Nu NONE -c "set smartindent nocindent"
> :exec "silent! norm! i{\<CR>\<SPACE>\<BS>}"
>
> With and without your patch behavior:
> {
> <TAB>}
>
--
Best regards,
Hirohito Higashi (a.k.a h_east)
--
--
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 the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.