i...@9lab.org wrote:

> Quoth Ben Hancock <b...@benghancock.com>:
> […]
> > By the way, […] cleaning whitespace at the end of a newline
> > (Edit ,x/ +$/d), acme does this by default on Put.  
> […]
> 
> Minor correction: There exist ACME patches accomplishing the above.
> Howbeit, ACME does not strip trailing whitespace on Put by default.
> 

Thanks Igor. I'm using the plan9port version of acme, and I typically
run in autoindent mode, which seems to trigger this behavior.

>From the man page:

> When a window is in autoindent mode [...] and a newline character is
> typed, acme copies leading white space on the current line to the new
> line, and when a window is Put, acme removes all trailing end-of-line
> white space before writing the file.  The option -a causes each
> window to start in autoindent mode.

You are indeed correct that when starting without the '-a' flag, this
is not the behavior.

Cheers.

  - Ben


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Taf408751bc6fb344-Md0954cf3a725613753213c68
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to