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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26357 invoked from network); 6 Aug 2021 17:15:32 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 6 Aug 2021 17:15:32 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 0A839206AC for ; Fri, 6 Aug 2021 13:15:31 -0400 (EDT) (envelope-from bounce.mM759f0691883412c54c190d12.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 06949308FD32; Fri, 6 Aug 2021 13:15:31 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); 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=bss-wf.de; spf=none smtp.mailfrom=theinicke@bss-wf.de smtp.helo=outgoing.selfhost.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1628270130; bh=ekK51wkys8Lha8X/BXafHmE0W231BLtzDyBrx 8jlPmw=; b=QqMcwOFLDvap2H2hKLyKMybUCVf1HjtaBNiWlg99Px0P+hdeyx9S4 UPzIZLMuMTWpKJSKuyt5wWWno2Ff8RHkhPTQMq80/6CpvftbmSuegGtu3BC6eQah 3iJk0XabR0Sqhz6ogqRWiMbuqjycoX/qdmuL7+Ff3qn9lLgAJuXD3A= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1628270130; b=eoGBs/GuQXhQx9Cl1S/jCbpKMZAmc2158qqb+GZX1Iq5pHCLsN xH4nf+DPzksthVx9bca5gEyxb9zYZJvyAcCb4ii7RXgokQyN0ZWJ91ao+RLy/k+v kb7ip2cjN1cFfEiHwqO5r3LnkvTNRDlHFQbvvl6TAh/5beuMU7qHMSijg= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); 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=bss-wf.de; spf=none smtp.mailfrom=theinicke@bss-wf.de smtp.helo=outgoing.selfhost.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message 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=none (no signatures found); 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=bss-wf.de; iprev=pass smtp.remote-ip=82.98.82.6 (mordac.selfhost.de); spf=none smtp.mailfrom=theinicke@bss-wf.de smtp.helo=outgoing.selfhost.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=outgoing.selfhost.de policy.ptr=mordac.selfhost.de; x-return-mx=pass header.domain=bss-wf.de policy.is_org=yes (MX Records found: bss-wf.de,localmail.bss-wf.de,mailin.selfhost.de); x-return-mx=pass smtp.domain=bss-wf.de policy.is_org=yes (MX Records found: bss-wf.de,localmail.bss-wf.de,mailin.selfhost.de); 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=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=ekK51wky s8Lha8X/BXafHmE0W231BLtzDyBrx8jlPmw=; b=QtapQKE8GQWlLSPm5rST216y igAbrPFw5w/JENCAI8lMXP/G12cRqrHtE4IH4oB2Jit8kHoSYaj31LarQcbJ3PsZ 5x4usVC7RaiLFXPN9MOf6RRF9O5e8vhr2647vtRCn8PEy9FZOriVZp6U9xtH8dhU 5WOyLol9gfmkViSC+mM= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 96217308F93C for <9fans@9fans.net>; Fri, 6 Aug 2021 13:15:16 -0400 (EDT) (envelope-from theinicke@bss-wf.de) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id E3D49791105; Fri, 6 Aug 2021 13:15:16 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1628270116; b=Go5CRh1Yu8KckPFoY1PsIAhDHBHOXMSzw/AUXTufOXQr02HlId RIZnoBiVumzBzpVqe1TWp38NAtscZM+upX1wZkTj/NU2RVsNBAILDJVwRUwe4JGG HINLFonD0H4Et8hp+OnrpYKymAPzJQSJPes5RGKRf2Pa+JFcFQfC++HFH90nRQ0f UdVppJdzGjz4G1kAcyKMpUX/rMJBpabRX776ueWACue+oXP5ksyv+SQ93Bx1ZJ1C MXWjGma/GRIUBK7IouaGjaXhTgT0BE5qSiKZg38wJjUXACP54X3J8qwOUAHtgln5 xWHxd1fQYpNu4NqeLGU18sKMXCWe0LseFCgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1628270116; bh=BIzYZoq9/GnZ9c21Yi0SzHflxT5eC1fztXD2EEd4wQk=; b= SB47Xd+QEK5UDicg+uNXU5KKdIsBmUeptZAXn3s8RbZZWi+1FofW88WlLfi1W/QW +dp08n+JNRm2VurOBpZbqKyj4uvpefN7iTKvFe8qg/BsjrlshkUeyA6a55JgLAth Ge7xUrVgN50ltqoHhLbBgydRSiGQ1hoZGnv83goc0bo2DCLRq8zstSFNI00M7mQ9 CmeKJ7AnKgBOPGfk4vSMOROB0wI+PLtzVdutwwx7UFEOGTfFLDytyy55xn3vEAVn Opa5GTwHS1reOJeHaRxpxKttBrH99pUfLyV7UXzYyrlc7XWscK4LYq4b4kw0nzna juXIpxhxoClFYjpcPQW1/A== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); 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=bss-wf.de; iprev=pass smtp.remote-ip=82.98.82.6 (mordac.selfhost.de); spf=none smtp.mailfrom=theinicke@bss-wf.de smtp.helo=outgoing.selfhost.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=outgoing.selfhost.de policy.ptr=mordac.selfhost.de; x-return-mx=pass header.domain=bss-wf.de policy.is_org=yes (MX Records found: bss-wf.de,localmail.bss-wf.de,mailin.selfhost.de); x-return-mx=pass smtp.domain=bss-wf.de policy.is_org=yes (MX Records found: bss-wf.de,localmail.bss-wf.de,mailin.selfhost.de); 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: gggruggvucftvghtrhhoucdtuddrgedvtddrjedugddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuff fhjgggtgfgsehtkeejtddttdejnecuhfhrohhmpehthhgvihhnihgtkhgvsegsshhsqdif fhdruggvnecuggftrfgrthhtvghrnhepteevueettddtheelvdekfeeijeeiiedvgeethf dutddufeevhefhgfefjeegleffnecuffhomhgrihhnpehtohhpihgtsghogidrtghomhdp ghhithhhuhgsrdgtohhmnecukfhppeekvddrleekrdekvddriedpkeegrdegiedrudehrd dvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepkedvrdel kedrkedvrdeipdhhvghlohepohhuthhgohhinhhgrdhsvghlfhhhohhsthdruggvpdhmrg hilhhfrhhomhepoehthhgvihhnihgtkhgvsegsshhsqdiffhdruggvqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: none (bss-wf.de: No applicable sender policy available) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="theinicke@bss-wf.de"; helo=outgoing.selfhost.de; client-ip=82.98.82.6 Received: from outgoing.selfhost.de (mordac.selfhost.de [82.98.82.6]) (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, 6 Aug 2021 13:15:15 -0400 (EDT) (envelope-from theinicke@bss-wf.de) Received: (qmail 29346 invoked from network); 6 Aug 2021 17:15:13 -0000 Received: from unknown (HELO mx03.bss-wf.de) (postmaster@emdtgvmf.mail.selfhost.de@84.150.40.147) by mailout.selfhost.de with ESMTPA; 6 Aug 2021 17:15:13 -0000 Received: by mx03.bss-wf.de (Postfix, from userid 1000) id 100F83DD8E; Fri, 6 Aug 2021 19:15:13 +0200 (CEST) Received: from 9pi.pala (84.46.15.251.dynamic-pppoe.dt.ipv4.wtnet.de [84.46.15.251]) by mx03.bss-wf.de (Postfix) with ESMTPSA id DB0853DD78 for <9fans@9fans.net>; Fri, 6 Aug 2021 19:15:10 +0200 (CEST) Message-ID: <16B82B1DBE7071E8D7DE10B054D3179E@bss-wf.de> To: 9fans@9fans.net Subject: Re: [9fans] [PATCH] Spaceindent mode for acme Date: Fri, 06 Aug 2021 19:15:09 +0200 From: theinicke@bss-wf.de In-Reply-To: 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: e13d7c7e-f6d9-11eb-982c-c2d63d242b49 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZDk2MDMyZWEyZWRhNTBhNS1NNzU5ZjA2OTE4ODM0MTJjNTRjMTkw?= =?UTF-8?B?ZDEyPg==?= 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:M759f0691883412c54c190d12:1:IKFTIJsM-_vyEVnAjGiv888V-4GMOezI3VquV1A83as Quoth Rodrigo G. L=C3=B3pez : > hi, >=20 > 9front's had this for a long time (last time i used acme it already > did, back in 2017). > maybe you could try to import those changes instead of rolling your own? >=20 >=20 > best, >=20 > -rodri >=20 > On Thu, Aug 5, 2021 at 6:59 PM binarycat wrote: > >=20 > > I do prefer tabs over spaces, but sometimes you have to use spaces. > > For example, zig doesn't even allow the tab charachter in its source > > code. > >=20 > > So, I put together a simple patch that adds a command `Spaceindent`. > > This command works similar to `Indent`, but changing whether to insert > > tabs or spaces. there is also the `-s` option to enable it on startup. > >=20 > > The number of spaces to insert is the same as the tab width, > > controlled by `Tab`. > >=20 > > My implementation may be a bit awkward, I haven't tried modifying acme > > to this extent before. > > -- > > binarycat FYI: The relevant (git) commit in 9front is 4757debd0b5935dae94944c35c3cac7= 4b14aa209 Note however that this was already ported and a merge request (#192) was is= sued, but got turned down: https://github.com/9fans/plan9port/pull/192 -- Tobias Heinicke ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td96032ea2eda50a5-M759f0= 691883412c54c190d12 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription