From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31976 invoked from network); 20 Jan 2023 14:24:26 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 20 Jan 2023 14:24:26 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id ED6B336736 for ; Fri, 20 Jan 2023 09:24:24 -0500 (EST) (envelope-from bounce.mMd0954cf3a725613753213c68.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id EA58CBC04DB; Fri, 20 Jan 2023 09:24:24 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=benghancock.com header.i=@benghancock.com header.b=X6w+PZ+F header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=Rm9/+jVb header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=benghancock.com; spf=pass smtp.mailfrom=ben@benghancock.com smtp.helo=out4-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1674224664; bh=R4QgGAWgMKeRvQAB Upg5mkQ/UxppDpMG8oybfQA6cwQ=; b=TD4fCK6DetnsBxA0oeFiAKPRniChlWph iehWIq3msw4deghMYhzoEDyyZyhbq7vwE4LzD8dGYgadHFyuYAqFWw3vg6B63c6O ooOCwvadaJmcLOS5aTlqquTp0mpCauwUU8UzaQyUVCsB8UGj3/xYVASEi2tTuHGE mB90UDecQ/0= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1674224664; b=YMHqFRTGh4ejmWdvQ0VR+VJJuBb24F5pGCGYmOnOi2KLoChrIV Zq4wVNEe4Z473miBItWhluxU9iaP0N1Jn6ju+cuZ+9NZxvqQYtGRW7Lzxyb5CPjK duKv66qBdaLadmalNBvc52SUOarrHhw15qqcA/7O6SID/Bd2q/W0AwXKw= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=benghancock.com header.i=@benghancock.com header.b=X6w+PZ+F header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=Rm9/+jVb header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=benghancock.com; spf=pass smtp.mailfrom=ben@benghancock.com smtp.helo=out4-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=benghancock.com header.i=@benghancock.com header.b=X6w+PZ+F header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=Rm9/+jVb header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=benghancock.com; iprev=pass smtp.remote-ip=66.111.4.28 (out4-smtp.messagingengine.com); spf=pass smtp.mailfrom=ben@benghancock.com smtp.helo=out4-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= DaTKY2stEwr14i2FrgP-ZV_hv3IcV-nD6yp2fNGmLzjYV3J5Ghbq49ucS8L57FRgajtcfBwhhlsn5nPfwNW_mRxdjt9DlY2y1ga-LKUNyizCb70s3zXA-fVsJgtkZEc6_NINbyEoyse4dw; x-ptr=pass smtp.helo=out4-smtp.messagingengine.com policy.ptr=out4-smtp.messagingengine.com; x-return-mx=pass header.domain=benghancock.com policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-return-mx=pass smtp.domain=benghancock.com policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1674224664; x=1674311064; bh=8HD9vSV0dWPnzEoUKSMtTCgwgweObKRR Cz4fen1G0Ok=; b=XfdzZZdGMFWnWhLU0FDxi9ZIkWhjHr+4VWwTSl2ji5ENpQgg BofLBIVieKspo4pPT/7t+8WvpBLsemkZIFO62Sx3Z3OQ/v3lOeI75GDjQEo5gIUG kDnGHOBh2bigBzkImSuLG/ZhDZ0VNePfgglq83amxvjKf7IlMaLvTINagC0= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 91DB8BC00AE for <9fans@9fans.net>; Fri, 20 Jan 2023 09:24:13 -0500 (EST) (envelope-from ben@benghancock.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 48B736EFE9C; Fri, 20 Jan 2023 09:24:13 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1674224653; b=dNFdmNQs/JpFIuDQTws2NSbtAkv+T8MG6BziDDVR5+9x96US5V ib7yc4/zmGt+f5xa8wQcVcKq/lMtzA8oKf7EqVYOQOxkvJe8kOS8RkU80YUVN4Xd dilcm7QUIMlXR920iZF5e8WlNeYxTgzLgO5yB1iF38XHu6VNw4IN6z3VbTjLpHE4 JRaJVTrcYE/DoG9uewd2gfn54MDX6C41iU06NVqDNWJh7UYfKVDjBOy1O/Swzlhd lktKjBYQz2lRve470qijXXFt2DQHfbgJIxZJybjDlOjhKBJmCMSxmTarbHeH5n9p hNxq86ieSPJLQsUCAZQyOsa1lQaENlSphU3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=arcseal; t=1674224653; bh=lWvwbBk0qa4PR8sOcng3zt2Vioei4RxSUF9 k3Us8kpc=; b=mnsnnWbzd2VjnHfprr7qtNH1Leeil32oORsBW97VSa6PX2IC+92 PG3x2Xdv6t7695S73hcxmxZLm5I1OZ+2JVqd6I9OexVR8jQ23b/m7sZZqjAxbOoc KIpZo1EAzs45cb5q87w+UgrscTH8WhlV1ohpMEczCxewW61k7X6KXCbp1oiCzLv1 6w0z7/63SMAH6QmBBerX091zG0D/GhS8fZivmEaEIGuX7B5UIOwzGoYWBsoSBp93 Y344bxvr4V8JiJVMw91F99srIgrs/lZW3Ku1C+yUPTF3S1rMrFNk66iUyY13dz0F 6wTHm0X30C+f928oA0T73FYDnyp/28iq6Ww== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=benghancock.com header.i=@benghancock.com header.b=X6w+PZ+F header.a=rsa-sha256 header.s=fm2 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=Rm9/+jVb header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=benghancock.com; iprev=pass smtp.remote-ip=66.111.4.28 (out4-smtp.messagingengine.com); spf=pass smtp.mailfrom=ben@benghancock.com smtp.helo=out4-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= DaTKY2stEwr14i2FrgP-ZV_hv3IcV-nD6yp2fNGmLzjYV3J5Ghbq49ucS8L57FRgajtcfBwhhlsn5nPfwNW_mRxdjt9DlY2y1ga-LKUNyizCb70s3zXA-fVsJgtkZEc6_NINbyEoyse4dw; x-ptr=pass smtp.helo=out4-smtp.messagingengine.com policy.ptr=out4-smtp.messagingengine.com; x-return-mx=pass header.domain=benghancock.com policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-return-mx=pass smtp.domain=benghancock.com policy.is_org=yes (MX Records found: in2-smtp.messagingengine.com,in1-smtp.messagingengine.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduvddgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkjghfofggtgfgsehtqhertdertdejnecuhfhrohhmpeeuvghnucfjrghntghotghkuceo sggvnhessggvnhhghhgrnhgtohgtkhdrtghomheqnecuggftrfgrthhtvghrnhepgfdvfe ffveehgeehgffgudfhiedvtdeufedukeevgfekfeevheeuleefgfegledvnecukfhppeei iedrudduuddrgedrvdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinh gvthepieeirdduuddurdegrddvkedphhgvlhhopehouhhtgedqshhmthhprdhmvghsshgr ghhinhhgvghnghhinhgvrdgtohhmpdhmrghilhhfrhhomhepoegsvghnsegsvghnghhhrg hntghotghkrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (benghancock.com: Sender is authorized to use 'ben@benghancock.com' in 'mfrom' identity (mechanism 'include:spf.messagingengine.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ben@benghancock.com"; helo=out4-smtp.messagingengine.com; client-ip=66.111.4.28 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 20 Jan 2023 09:24:13 -0500 (EST) (envelope-from ben@benghancock.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 132655C01A0 for <9fans@9fans.net>; Fri, 20 Jan 2023 09:24:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 20 Jan 2023 09:24:13 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduvddgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkjghfofggtgfgsehtqh ertdertdejnecuhfhrohhmpeeuvghnucfjrghntghotghkuceosggvnhessggvnhhghhgr nhgtohgtkhdrtghomheqnecuggftrfgrthhtvghrnhepgfdvfeffveehgeehgffgudfhie dvtdeufedukeevgfekfeevheeuleefgfegledvnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepsggvnhessggvnhhghhgrnhgtohgtkhdrtghomh X-ME-Proxy: Feedback-ID: i8a3947c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <9fans@9fans.net>; Fri, 20 Jan 2023 09:24:12 -0500 (EST) Date: Fri, 20 Jan 2023 06:24:10 -0800 From: Ben Hancock To: 9fans@9fans.net Subject: Re: [9fans] Script to apply Edit commands in acme Message-ID: <20230120062410.71c9ffcd@shasta> In-Reply-To: References: <20230119212557.6642fc99@shasta> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1fb161b8-98ce-11ed-89eb-98664fc79060 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYWY0MDg3NTFiYzZmYjM0NC1NZDA5NTRjZjNhNzI1NjEzNzUzMjEz?= =?UTF-8?B?YzY4Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Md0954cf3a725613753213c68:1:W-gBQeTmmwR3HCQCLPI5drvKa7rROniJ0yALOjwnNWo igor@9lab.org wrote: > Quoth Ben Hancock : > [=E2=80=A6] > > By the way, [=E2=80=A6] cleaning whitespace at the end of a newline > > (Edit ,x/ +$/d), acme does this by default on Put.=20=20 > [=E2=80=A6] >=20 > Minor correction: There exist ACME patches accomplishing the above. > Howbeit, ACME does not strip trailing whitespace on Put by default. >=20 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-Md0954= cf3a725613753213c68 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription