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 28885 invoked from network); 13 Sep 2023 15:29:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Sep 2023 15:29:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1694618959; b=AYj2js53cfIw6SJ7RLC6yJ/4NdEeBXXTwSCLuk8ZQjt5OJNTk8gA2V0id8tkL5uhbRypEF3hMI yZHaLjjhcmkC7r8AmvDLdsgy6Mq1sb0Pa/ewJUw7gJ/Vj/3DnRe7GT8ZxS6yD70P8cTZnQWe5u dmONFF0I4FnExsLJj6TBDFM5MXyARUi0cCO6RWemKrcd+j9ZK0jcMqgBspZ9pYBJCPuoQ/EAAM o+GCkLM1x1Cm2DWVkGvsJJOqY1gS1zeopwWBjOK6qMfuuamFP/75zcFGUnK15gFX0EG3C/CHsg qYok3B5j5zPdaeMC44h7QqVdD8zRB6++vj7Ey6lCK9+MaA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f47.google.com) smtp.remote-ip=209.85.218.47; 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=1694618959; bh=KjmbHrXQnZjyPhyJpJWJ+8YCJJQs6ERzEkoDUgfkcmI=; 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=I6z6WAqcSVjpLbHXeHIocQkwCTh0MBAYQR9i0n4/WFXsirnPXjYijiEG6J4crUOtGAjqHMXb4v Mn/Ps+twbzkBCTW8RgcsDAvWIguVylSblgGls1Corg6azbVeI4b+MM4EJCmmh4B2SzBf2ZrASD +cTc9W7K/urlGlp0HbJ3aairyuyASdTNEjoQBrxukVYGfDvkuhwvoF95tNyO5ytFBBhcWqdz/Y unGrPk40VYeBO61kLybq/5s9C72uqqw2TaQJzGV7MM9avAlGkZtzVjce+jIcWU/tLJiTDgTuaO yTXcf+ijxbdOxspOHxBU9vp6mDuiCV//PtF6vqDGFOKouQ==; 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=PE8lqiqGrU4wiaqoMDAHF/V/vO2uKT1SH199bOvAY/s=; b=ezEMqGRs4TmWLhTcjthW6SmxgQ dU0sNwXAOmqL5GIqh1HpvfSse4iGsqTXfkyhFqcLHyTIb64cK8VH70R9YXDF6uBDdWNTq/la2hZYb QalcYxIHtx50IvxEozwmYYrUzwfSOTD7e5NRdPm9lVeOVcGO47FrEywoDIpaLUb3E39TgfK71Gn/n uoNwFnJjwL9Wrw9KeEtrPxmOV3hilg5u3WW5YCuGwGrX3E4jouJ9QKIw5MWLmqEGV+i6T2ganOcKs FOo4Hn+YQCZWbLCL5Qxa5rC08/c5R8DnY0Z+SHKouEt4Kw5ivJnGz3y4Zl8BUQQGO6yEZlYNqpdl2 vb/JWVnw==; Received: by zero.zsh.org with local id 1qgRnr-0004Z5-0H; Wed, 13 Sep 2023 15:29:19 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f47.google.com) smtp.remote-ip=209.85.218.47; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ej1-f47.google.com ([209.85.218.47]:52540) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qgRmp-0003p6-Ql; Wed, 13 Sep 2023 15:28:17 +0000 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-991c786369cso930289566b.1 for ; Wed, 13 Sep 2023 08:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694618895; x=1695223695; 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=PE8lqiqGrU4wiaqoMDAHF/V/vO2uKT1SH199bOvAY/s=; b=BOqX2naV1mrYkFUEtXUFANvp48hpYF9NVX1HV4aN+PNDoB7r4rWPidcp4Wmj/WHeSi cuaF3pCGpKOsBwZnS5zf3Cbd+gR7XGd6UngBtr3v+OtRvdeq/GruQ/ZsN9UvfsPkimKd ZyiN1xzT2GSxo0XujYR2lzYLFpVrGl+fst5JIEbsVbDZd0NiL7ViHgAQWUYBwWkZK76i bKupUpmX+J25BTpP2CtTjCIYGB4YzjgDJlOJjiAJyvFo5zfHdZKXXrf5Bu/AQve2lNkO 3fhHkNBwBQsdnLefkpGOY1AAwKH9u1c4nA6tbyeURVUMNYQ4Y+sq8qeoh9Df5TC8npNi 2DNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618895; x=1695223695; 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=PE8lqiqGrU4wiaqoMDAHF/V/vO2uKT1SH199bOvAY/s=; b=J3rSo3lZOGAbfMVzYIr4vAST/KS+P2G5BBbOS7IkRMKCohgastCUQu4CD2DfRePQ6q QrhQ49EsWeB+c6Il6Uy3LuTOZE43IhoQ9oiv9DaNM3Op5CYf4QosvkS/CRh5bwgTC27l R7UnxedASDRseIsxkYaabDzhu7ulJrlyk1QrwiNqkxObSa1z5fzTaCwrAvhbuV5V8t9l mD1Ap68JMjB+xviFrQwcRHiQ1k2ladsp44hmQEbsEYo/qx9Pvs2x3GbyLbnZy/eyl+DK BdB6Ubai3WTTWhOs6hP24uXT3GJx2wtWoEPiCjyV+tS9bRRisGkKQCcx53aRtEwDk908 6l6w== X-Gm-Message-State: AOJu0Yyn9Lldu0pzcnQnkhRVrjcspL8afknHiqN4qbh1w8D/UGLWWFRl 48FiQF/Kg9zvEP5tmYjKm0SgBt2Su+Hev5N5a+iHzl+F X-Google-Smtp-Source: AGHT+IEpHy85f0jLNqFO0N3xBu+oL2982p+1hSX5aLkFIF41cZHBBt9PYteqcrvDwpPitqquPGJR7i68eX9FCD9/UI0= X-Received: by 2002:a17:906:cc4d:b0:9a9:e525:8705 with SMTP id mm13-20020a170906cc4d00b009a9e5258705mr2292831ejb.57.1694618895003; Wed, 13 Sep 2023 08:28:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:9756:b0:9a1:930b:7f7b with HTTP; Wed, 13 Sep 2023 08:28:14 -0700 (PDT) In-Reply-To: References: From: Mikael Magnusson Date: Wed, 13 Sep 2023 17:28:14 +0200 Message-ID: Subject: Re: Debug zsh (was: Re: quoting question) To: Pier Paolo Grassi Cc: Bart Schaefer , linuxtechguy@gmail.com, zsh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29251 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/13/23, Pier Paolo Grassi wrote: > Il giorno mer 13 set 2023 alle ore 05:42 Bart Schaefer < > schaefer@brasslantern.com> ha scritto: > >> On Tue, Sep 12, 2023 at 7:51=E2=80=AFPM Jim w= rote: >> > >> > Unless I misunderstood, adding 'setopt ignorebraces' to the function, >> returned the >> > same results as it did without it. Don't know if that helps, or >> > confuses >> things more. >> >> You have to setopt ignorebraces before you define the datetimetest >> function. Otherwise the internals of the function have already been >> parsed and the behavior doesn't change. > Hello, hope I'm doing this banching of the thread the right way other than the top posting, it's probably fine :). > I would like to understand this: > > % echo "${:-{{{{}" > % > > is that output generated automatically or was it human-made? That's the PS2 prompt, you can see the same thing if you run the same command but without the quotes. The output above was meant to demonstrate that the patch adding the same behavior with quotes would be very backwards incompatible. (The expected result is to print the string "{{{{") --=20 Mikael Magnusson