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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3570 invoked from network); 13 Sep 2023 01:57:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Sep 2023 01:57:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1694570278; b=ht5WqsqRBMjQL8sYuMozKdvT3VVI1li1j5j3CEzRC80jOVqB0n2DjRBHmEfvLkgxX1h4SKYz18 7VZrC2pf7v1nsV0TMsDhMuC2iwfAyJReQ73+kWsKiKz+O0qkrZWARjd6JDf18OQ/DfJgcT1QpK ayoBxQ54h1+jnYk3m//Jo4HZmgbjasS08NGFGohaaT+DmaIKeP57czFli+Yu5SVidsXbe2ut5q Ywl0eWyHRjLvweRV01mVKO1a8xZSgmjsca06FHwoA53T5eboM1PhnVvOvBCAYj3/OArHI+P+4J djxwHlOazltB6Z3GqEkI6cwUa3NWygm/Z6fp8uP2uogSWQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f43.google.com) smtp.remote-ip=209.85.208.43; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1694570278; bh=kfqNwK8fsNZBezmWkYxxfvkSYRQcyIUicVkSbT5kyeA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:References:In-Reply-To:MIME-Version:DKIM-Signature: DKIM-Signature; b=JZboAPPJZzRp1GFPPzPZfQXcM7ige7N1JfylGN9LWFK9wgx38uK04E0yrstFFpC7tf2EwHrYnf 2SNmXAE0SmxMnlOh7L6D80yq3q+XpcT2Hzml39k7aSwhMhe/ViRaMcQQHacG0QwM/rKzHeOKVg RHmYXE9JPQVtXAqOTkv5w3tPtVwQVQ83fSj4V3lJw59hAdnGShLLVE2dnL2e//8sUilj76Jcuy JA0Orxrtq+tFC8m80HN2JD3WTwBuDZ9mHY4MOgUaPUY1aQ1bUjvzUZXMF4utNexWOpTg+yhLJK 0BUx6eCSBI9e6pfvj5iR1lhNdNh+u0XvQGfCXP8xrzxUkw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:References:In-Reply-To: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=kfqNwK8fsNZBezmWkYxxfvkSYRQcyIUicVkSbT5kyeA=; b=JcuPT89erREaeV5lCxL7BYOPh+ mqzcgSFdxA/Pk5oWClhIIJ93ARmm7PotcQibTZiFLoK1+mW7NKCMklUM2LgNVqmLYjKJhBZYzJ+fz bL4+NYfqBXd52nvZx4RfO1f7vG3cHj/5MP9xifgGj4wRRp3iXNKMGA85GO1N+napHTu9vxVq53O4y 0yZ0bmVyyMUog/etSe8rXaP7pmjdPAW0kHM28PWloDzwQd9p+fl17CkIZFfUjdxCfRW6OssNUGLwT RqFWRHZa7HJulZ3jqcZ9r5nbp6wNMej2lRuFnsQKLpjbZB4oGZyhGKuQ5H7jCixasIcP3WzmOkqka H4aOxCfQ==; Received: by zero.zsh.org with local id 1qgF8e-000Eij-TF; Wed, 13 Sep 2023 01:57:56 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f43.google.com) smtp.remote-ip=209.85.208.43; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f43.google.com ([209.85.208.43]:61686) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qgF7P-000E0r-6U; Wed, 13 Sep 2023 01:56:44 +0000 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so8070300a12.2 for ; Tue, 12 Sep 2023 18:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694570198; x=1695174998; darn=zsh.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kfqNwK8fsNZBezmWkYxxfvkSYRQcyIUicVkSbT5kyeA=; b=T70z10W4D/i9Dm5M584+8fJcWDPzrGTGD2uqF17U+CBhsFJe+zwCmV5BZ2f9sm0sxk MLDI0rjUJW4T7dfIHV26uU7DmObRx2Bk1qCCo/u8K/Crv2R5iStRN9c9Cf9XXg2jp3bT 9xTANqj6vyg0r+jNAVgVlFP1qH9h8hw5OjyDy7UA79n1/kJmBza2EEOM1HcuOHOg2/xD oFEu/0gQ3uhiNcptEqA6NR9aH85NaBntCChO3jvvttAl5qNZXPPGFRnXh2I4lVJMR972 l3c/O33khyMYlxoxFRrJ8jAuhcFrVV60n75uIyhOVPiBYRyP5Lq07+uw5zjhLQ/jmS93 cxUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694570198; x=1695174998; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kfqNwK8fsNZBezmWkYxxfvkSYRQcyIUicVkSbT5kyeA=; b=jJyYQqPl0IYdt+D3a48nZZY94IP/lWAbalZSXL3MhpStFEqqX29uoNh4SvMvMoij2Y efCKeS7kfBRrrttDJHGLaE7k4faqeHpX4RzLThwdCQ0yvWVkH9fZkvOdy+0KPwQ8MHB6 /R0bri6Uf3Hk6cOwAj6USuVOLP7XNEOOqdhiWOGk78Lbr2GpC0QmFV1gXKL62bGz4KxN dpfkfyhZ6i6WXQrh/n3RK4ry2yVAih2W+W8QiMmMsGsD+76pdp0B6vDwQz9TlqjvCac6 PaY7xwaqw8EmO5rScSLdCIMt7M8ooGKXI7Z4dA002KiDGqqdjGD0WaeLgSHWUKsa+Oal Lh0Q== X-Gm-Message-State: AOJu0YzOa+8YVg5823NFj1UdC6FsGT4qVJD5nQEHZWAukOsw4eP/6esj gSzoHJw3jhRrGj8v6Xhb0Z0exg0yrIuKzSrcif0= X-Google-Smtp-Source: AGHT+IHKiRtqtmm3x8w3doYX0FPSNeYtmOQXwpQeEUj59YwgANGe5hHvlbkYC3tVaRCm6Y+vyz3av0Z0CFIUqDr8mm0= X-Received: by 2002:a17:906:1cf:b0:9a1:f21e:cdff with SMTP id 15-20020a17090601cf00b009a1f21ecdffmr762079ejj.23.1694570198409; Tue, 12 Sep 2023 18:56:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:9756:b0:9a1:930b:7f7b with HTTP; Tue, 12 Sep 2023 18:56:37 -0700 (PDT) In-Reply-To: References: <8218b46632e67c16b18187612d0b0d51491cd30b.camel@ntlworld.com> From: Mikael Magnusson Date: Wed, 13 Sep 2023 03:56:37 +0200 Message-ID: Subject: Re: quoting question To: Bart Schaefer Cc: Peter Stephenson , zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29236 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 9/12/23, Bart Schaefer wrote: > On Tue, Sep 12, 2023 at 1:23=E2=80=AFPM Bart Schaefer > wrote: >> >> Refer workers/51907 > > Incidentally your patch will also change the way the PS2 prompt > reports %_ -- for example, it will say it's in a brace expansion even > when ignorebraces means that brace expansion is disabled. I think it's completely wrong to do this, it becomes impossible to write { inside a ${:-here} expansion: % echo "${:-{{{{}" % % echo "${:-\{\{\{\{}" % And even if it was possible with extra quoting, we can't just break existing strings that happen to have { in them. { inside "" should be completely non-special. --=20 Mikael Magnusson