From: Walter Alejandro Iglesias Subject: Re: vi(1) issue with '!)fmt' at the EOF To: "Todd C. Miller" Cc: tech@openbsd.org Date: Fri, 24 Apr 2026 09:13:25 +0200 On Thu, Apr 23, 2026 at 08:32:59PM -0600, Todd C. Miller wrote: > On Thu, 23 Apr 2026 15:20:57 +0200, Walter Alejandro Iglesias wrote: > > > In a sentence of more than one line, ')fmt' won't format the last line > > of the file, *depending on which column you have the cursor*. > > What I see is that, given a file like this: > > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor > incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis > nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. > > If I run !)fmt from column 0, the last line is not filtered. If > the cursor is not in column 0, the file is filtered as I would > expect. Put the cursor, for example, in the space after "consectetur" and try again. Repeat this with my diff. > > Is that the issue you are describing, or is it something different? > > - todd -- Walter