Hirohito Higashi wrote:

> Hi Glenn and Bram,
> 
> 2016-4-24(Sun) 9:53:30 UTC+9 Glenn Golden:
> > Hirohito, Gary,
> > 
> > Thanks for your responses.
> > 
> > h_east [2016-04-23 17:23:00 -0700]:
> > >
> > > When the `smartindent` option to off, the result of your expectations will
> > > be obtained.
> > >
> > 
> > I agree that smartindent being enabled was part of the issue here (and when
> > I posted the report, I totally missed that it was enabled, my fault.)
> > 
> > But I disagree that with smartindent off, my expectation is obtained, as
> > Hirohito says above.
> > 
> > The result with smartindent=off on both A and B is an indent on the first
> > line only, with the remaining lines left justified against the left margin,
> > which is neither my expectation nor the behavior I am seeking. 
> > 
> > The behavior I'm seeking is exactly that seen on Paragraph A when
> > smartindent is enabled, i.e. all lines are indented in accordance
> > with the indent of the first line.
> > 
> > That behavior can be obtained generally by leaving smartindent=on and just
> > setting cinwords to null, but is that really the preferred way to obtain 
> > this
> > behavior?
> 
> Currently, I think that's right.
> 
> Bram>
> When the 'filetype' is not set, I thought it was a bit strange that
> the 'cinwords' has been set.  I wonder if there is any good way? :-)

The idea is that 'cinwords' is only used when 'smartindent' is set.
It's a convenient default value.

Isn't the desired behavior just 'autoindent' on and all the others off?


> > (I'll ask this on [email protected] group if you don't want the noise here,
> > but since we're already here on the thread, figured might as well ask.)
> 
> Maybe no problem.

-- 
Did you ever stop to think...  and forget to start again?
                                  -- Steven Wright

 /// Bram Moolenaar -- [email protected] -- 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    ///

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

Raspunde prin e-mail lui