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=0.5 required=5.0 tests=BULK_RE_SUSP_NTLD,DKIM_SIGNED, DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 23799 invoked from network); 24 Feb 2023 20:22:03 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 24 Feb 2023 20:22:03 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob21.topicbox.com (Postfix) with ESMTP id 00F7627FA0 for ; Fri, 24 Feb 2023 15:22:01 -0500 (EST) (envelope-from bounce.mMa59d9fb2950eba76653a7a5c.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id B23EB100DE37; Fri, 24 Feb 2023 15:22:00 -0500 (EST) 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=0x80.stream; spf=pass smtp.mailfrom=ng@0x80.stream smtp.helo=eve.beecloudy.net; 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=mime-version:content-type :content-transfer-encoding:date:from:to:cc:subject:in-reply-to :references:message-id:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=sysmsg-1; t= 1677270120; bh=rjXOZDfV0cOkkVEAK8SSToG/3zKu8uT9Ph0skW0OKF0=; b=o a4uEmCfT54CAeXT5NxISJkpgP6rHUGeZiHEprz5e992Quj7JwTFZDX+o7ZYjPhxQ L3hHhxfKTCumPB1HSWSV73eJYeS5VOCb4G0okro1eDuwq5pnl9HQyzndUR5oIzR0 lqvWFgyaPfqO5JLuSrw7Z4gzS/OKj+23rbiRcCoV2c= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1677270120; b=dEhVbfMfbDq5uvrMM6JMtbDi+dAPGd1ufatOqMMIzpqRpXSzK/ rLkNwlULjrIBujsH/p/NwiNbBUpatGoB4Q13AzRrNauUIwP6bQi49sWoN0IHSFSQ KitfXXXzM3csKJlOhRzoefI2lW/NVV+U9+vOxKtS0BsxX/5EeKkrhjrAM= 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=0x80.stream; spf=pass smtp.mailfrom=ng@0x80.stream smtp.helo=eve.beecloudy.net; 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-mx1.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=0x80.stream; iprev=pass smtp.remote-ip=145.239.136.211 (eve.beecloudy.net); spf=pass smtp.mailfrom=ng@0x80.stream smtp.helo=eve.beecloudy.net; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=eve.beecloudy.net policy.ptr=eve.beecloudy.net; x-return-mx=pass header.domain=0x80.stream policy.is_org=yes (MX Records found: mx2.penelope.mx,mx1.penelope.mx); x-return-mx=pass smtp.domain=0x80.stream policy.is_org=yes (MX Records found: mx2.penelope.mx,mx1.penelope.mx); 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= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1677270120; x=1677356520; bh=cVf6G2VWE3GkPFW+HQiFKFxhY45zvNn8 t89gF4ECCgE=; b=qd97PSKiuj1eWj0NRk6ge4L4/8wZ/+yTB39PJqKV0f/ovUot RPsU6C01yAbSn07voDFYJZoyzjnI5ZaAD57hOQZZILUVv1z37eJAaNSN9aR5UF/Q +xEkInuXeKxy+yDmaXp2daU/aftAKYbQF48cH/HEozZpLsQknRAsmt/m1+w= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id D5141E959C9 for <9fans@9fans.net>; Fri, 24 Feb 2023 15:21:47 -0500 (EST) (envelope-from ng@0x80.stream) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 45795E3F680; Fri, 24 Feb 2023 15:21:47 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1677270107; b=XvDpxFS9NZ5S/HGjCH7a0mVuk//8w8jKtUgNgj6/lqKMLfo3dk 2gbc+UsOD9P2hWsasaKtFyv3Z0hqcAMJ97uKEx5fFrmg1faahTEYbETFjeO252pA ZoSJ/TK/gaTWFwZdypUJIit389Os03GDSluqA4uk6jxwAPuvefF5LH3Km9O2kpSR OJj6xi7QbHgRYcHbeZJyRs0wW59xYHvL3gFQ1ZQCTVBlwARZOVdfPEFco7vfnTyn KNvoRXnLQqMr8RCOC0c3Njvk2ADI5ewtgq7vxMcfEKhJ6NOm2iMC+RvFoNorAHkm ygF+RfBfl3+p5iC8Bl7aDxpSyOdzjNucJR0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:content-type :content-transfer-encoding:date:from:to:cc:subject:in-reply-to :references:message-id; s=arcseal; t=1677270107; bh=Jvdbd+DzGMUV QAyb7wnC3GaNT6Kll/Fth50gw9+Xgsg=; b=KgwRB3zNozWl23ssS0MggLnq3njp r7F+pJqeNW89CcNJXYjv8qsvkN9rO1cMIjnvpoOuGiJ5x5un9uqYCESSj2PnSD9s 9yTHiErIhGpYgaDnnSLApk6ipzSysXYY2lPTtILR/FehjqFECJERdNXfle3aacuf 3xu2UIWuihToBrzZuL7HRkhiWk/qCDMhTdeY1KAYhg6vArFmRwiwslHX2B0tGK/+ BNhEnjgWyeXTsbdam8ybf44mveFlVRK51ba7W3JdeOwSpKVSAupe9YLTxWy9+zDo jK1WjpEOFLeB07RdKoMgELAkhG6HK7YVjgfKAyjjqzl/FrtYMbKD9cJVOg== ARC-Authentication-Results: i=1; tb-mx1.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=0x80.stream; iprev=pass smtp.remote-ip=145.239.136.211 (eve.beecloudy.net); spf=pass smtp.mailfrom=ng@0x80.stream smtp.helo=eve.beecloudy.net; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=eve.beecloudy.net policy.ptr=eve.beecloudy.net; x-return-mx=pass header.domain=0x80.stream policy.is_org=yes (MX Records found: mx2.penelope.mx,mx1.penelope.mx); x-return-mx=pass smtp.domain=0x80.stream policy.is_org=yes (MX Records found: mx2.penelope.mx,mx1.penelope.mx); 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: gggruggvucftvghtrhhoucdtuddrgedvhedrudekfedgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgggtgf ffhffvvefujghfkfigsehtjehjtddttddvnecuhfhrohhmpefpihgtohhlrgcuifhirhgr rhguihcuoehnghestdigkedtrdhsthhrvggrmheqnecuggftrfgrthhtvghrnhephffghe euuefhvddvtefhtdeuueejgeefjeejgeeklefgffdthfevgefhvdehvdfgnecukfhppedu geehrddvfeelrddufeeirddvuddupddugeehrddvfeelrddufeeirddvtdeknecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudeghedrvdefledrudefiedr vdduuddphhgvlhhopegvvhgvrdgsvggvtghlohhuugihrdhnvghtpdhmrghilhhfrhhomh epoehnghestdigkedtrdhsthhrvggrmheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (0x80.stream: 145.239.136.211 is authorized to use 'ng@0x80.stream' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ng@0x80.stream"; helo=eve.beecloudy.net; client-ip=145.239.136.211 Received: from eve.beecloudy.net (eve.beecloudy.net [145.239.136.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 24 Feb 2023 15:21:46 -0500 (EST) (envelope-from ng@0x80.stream) Received: from localhost (localhost [127.0.0.1]) by eve.beecloudy.net (Postfix) with ESMTP id 14A2D28661; Fri, 24 Feb 2023 21:21:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at eve.beecloudy.net Received: from eve.beecloudy.net ([127.0.0.1]) by localhost (eve.beecloudy.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WtXOC-SMldD8; Fri, 24 Feb 2023 21:21:43 +0100 (CET) Received: from penelope.mx (eva.beecloudy.net [145.239.136.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by eve.beecloudy.net (Postfix) with ESMTPS id E401A28660; Fri, 24 Feb 2023 21:21:43 +0100 (CET) Received: from penelope.mx (localhost [127.0.0.1]) by penelope.mx (Postfix) with ESMTP id 9F88F314D9A; Fri, 24 Feb 2023 21:21:43 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Fri, 24 Feb 2023 21:21:43 +0100 From: Nicola Girardi To: 9fans <9fans@9fans.net> Cc: adr Subject: Re: [9fans] Acme: support spaces in file|dir names In-Reply-To: References: <5032d5dd-7583-64f5-b3ab-284d2c4c8290@sdf.org> Message-ID: <07dbfdab2895fb49fed8d06102ca640a@0x80.stream> X-Sender: ng@0x80.stream Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: e076c500-b480-11ed-834b-eb25d2641582 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYzFkOWQ5Y2EzYTk0ZTI4NS1NYTU5ZDlmYjI5NTBlYmE3NjY1M2E3?= =?UTF-8?B?YTVjPg==?= 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:Ma59d9fb2950eba76653a7a5c:1:i4AMUi5n8UyHimGzRjU80XqyP6QIodE0_7NmsrRWts8 On 2023-02-20 19:05, adr wrote: [snip] > One thing I can't understand is why the text window > is always redrawn completely when the tag line is edited. I'll take a=20 > look > in the future. AFAIR from when I looked into it, this behavior was introduced in commit ba7c22f781dafd30d0b97179c941476639022285 Author: mveety Date: Wed Aug 28 23:01:23 2013 -0400 Added the p9p acme patch the allows multiline tags (thanks rsc and=20 lf94). I think the redraw happens because when you add a character to the tag=20 you may need to wrap to a new line. As a stopgap for myself, I've just removed the call to winresize from=20 winsettag1. In principle one should be able to figure out the width of the text in=20 the tag and how many lines are needed, and redraw only if that number=20 changes after a character is typed, but I wasn't able to figure out=20 where to do this in the code. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc1d9d9ca3a94e285-Ma59d9= fb2950eba76653a7a5c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription