cursor positioning glitch

2013-09-01 Fir de Conversatie Tor Perkins
Given this text (two lines with four leading spaces on each): xx And, given these settings (auto format + second line indent): :set textwidth=25 :set formatoptions=a2 Inserting a space on line 2 column 1 results in a cursor positioning bug, to wit, the cursor is

Patch: better auto-format w/ 2nd line indent (fo+=a2)

2013-04-26 Fir de Conversatie Tor Perkins
Greetings all, Using auto-format with 2nd line indent (fo+=a2) works well, but there is a situation where it's a little awkward... Lets say we want to make a new paragraph with auto-format and 2nd line indent that will end up looking something like this: xx b

Re: Issue 74 in vim: Auto-formatting comments is broken when second line has different indentation and using fo+=2

2012-07-23 Fir de Conversatie Tor Perkins
On Sun, Jul 15, 2012 at 12:55:53AM +, v...@googlecode.com wrote: > Status: New > Owner: > Labels: Type-Defect Priority-Medium > > New issue 74 by zyx@gmail.com: Auto-formatting comments is broken when > second line has different indentation and using fo+=2 > http://code.google.com/p

Re: Patch 7.3.576

2012-06-29 Fir de Conversatie Tor Perkins
On Fri, Jun 29, 2012 at 03:05:02PM +0200, Bram Moolenaar wrote: > > Patch 7.3.576 > Problem:Formatting of lists inside comments is not right yet. > Solution: Use another solution and add a test. (Tor Perkins) > Files:src/edit.c, src/misc1.c, src/te

Re: Issue 65 in vim: Auto-wrap inside comments with numbered list is broken (regression)

2012-06-22 Fir de Conversatie Tor Perkins
On Wed, Jun 20, 2012 at 05:13:53PM -0700, Tor Perkins wrote: > > [ ... ] > > I've attached a patch that I think works a bit better. It's a bit > of a band-aid, because ideally, I'd like to see the comment case act > like the non-comment case, e.g. both like so

Re: Issue 65 in vim: Auto-wrap inside comments with numbered list is broken (regression)

2012-06-20 Fir de Conversatie Tor Perkins
On Wed, Jun 20, 2012 at 11:37:20PM +0200, Christian Brabandt wrote: > On Mi, 20 Jun 2012, v...@googlecode.com wrote: > > Status: New > > Owner: > > Labels: Type-Defect Priority-Medium > > > > New issue 65 by inkar...@gmail.com: Auto-wrap inside comments with > > numbered list is broken (regre

Re: [patch] fixed crash when pressing return in a C++ comment (bug introduced in vim-7.3.552)

2012-06-20 Fir de Conversatie Tor Perkins
emember to free it later */ > > > > > > $ hg -v log -r3584 > > changeset: 3584:443c50cd3e88 > > tag: v7-3-552 > > user:Bram Moolenaar > > date:Wed Jun 13 17:28:55 2012 +0200 > > files: src/edit.c src/misc1.c src/ops.c

Re: Patch: fo=q (comments) w/ n (num list) or 2 (2nd line) indent

2012-06-06 Fir de Conversatie Tor Perkins
On Tue, Jun 05, 2012 at 08:01:57PM -0700, Tor Perkins wrote: > > Greetings all, > > Given these settings: > > :set tw=20 > :set formatoptions=tcq2 > :set smartindent > > ... and given this text: > > NOTE: blah blah > blah blah >

Patch: fo=q (comments) w/ n (num list) or 2 (2nd line) indent

2012-06-06 Fir de Conversatie Tor Perkins
Greetings all, Given these settings: :set tw=20 :set formatoptions=tcq2 :set smartindent ... and given this text: NOTE: blah blah blah blah # NOTE: blah blah # blah blah If I do gq{motion} on the top paragraph, formatting is unchanged (as expected), however,