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 17618 invoked from network); 11 Mar 2023 10:01:47 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2023 10:01:47 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1678528907; b=OoibwA+g/+8ewcsB3oeWkClmrz2kxi93XlBSdXlgXfcbXthiw+Ue67a9UN/YXw2tVj6Amks8U8 iG4GEqAmEOyzTqepIsmMRVP9gXfzFayRxWopJZJZcPR0fDfnv8vNxlB3AOejKnkmgi82axoWDW /yQXzrmhhg7jyMfxHB7Ba28R8uQ9CjBAFhO8Ep9vVRZQp6QnEZskgl6o17bYiEtZcgalVN4jtR iaTOkYOPIJEP4oh5GxR3l/6MhbOV17GPhfjPFa9wmtTUGZgmQ93zzrmM7Tl6HoFZOuotwi+aO3 zSwnKWXsJK9Aot5tdu7X2P4gziPinMG/DuoB4o+xQQNRsQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f174.google.com) smtp.remote-ip=209.85.208.174; dkim=pass header.d=gmail.com header.s=20210112 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=1678528907; bh=7dfIT1IJDzsxkrHpI4Co5A0RXQ6R2WaRKq6LLKXaoxw=; 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:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=sCTDIKtb7vS3cWmDguvdiVq1ycYoIDysGD1uO6fhfr+gdRUFCt88a7yw6s1/dQvc6g8vTrNytk 55bbEhg0rOGkNHPsqsW1xiN9P9hTu9hgZrDlCb/99YA8bB18oa4Y7Sy2Xolkjttnlywx8KrRzd 0kxFkkgypW7rvUzwTT/G3sJRNV5hjELeyF7iF6KRamGXPpIQ3JgSVm454Mp3DH7HFJzCJ7oL0n QTQa/yBlGVGpMpSYBgfi2woyvZJ6UScrym6kjWRR1xd1OgFz0mqB1FPbuT+iBq87jKRKBnZxjx n4aOLGwx0Tq1BRbYxGS7PiKqNxr84yJOk00YTL6iV3wWHw==; 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:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=WAlrjY6SBKQeHB8aeh+Umw1lxnQ477mkc9pDYQkogzE=; b=csJfZwrjYbcsUKapUXP4/LvErG LVy18h+ceiEL8lL78fJ1edYLSCsrgYpNKfMaPl/Z4sWCHIT8Nyb/XwEKfsGCJvNA98psBZnFp1546 h903sMEUT7H5O8cnqswcPGk/oyhbs7t3Gcq3L0tuluEscII3llqDuLKvGDujvxmxnRgkqjYDw/bmz UdZmJOeEuVBgLfG/iGKjVLxzGPSrhTimCycShcsrP5Jk+9WrvtsYpVs1XAQES8AqeZWFVM5lfNVZS 5926LLy/dSHOuao+s9GikDxIuJgiymAlfdrrOBzVRAe8AkvYUdMetGhubbpLkUcjiW/yHN10DlJFx lFpZKEPg==; Received: by zero.zsh.org with local id 1paw2q-000OFD-KC; Sat, 11 Mar 2023 10:01:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f174.google.com) smtp.remote-ip=209.85.208.174; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f174.google.com ([209.85.208.174]:44956) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1paw2B-000NwU-LY; Sat, 11 Mar 2023 10:01:04 +0000 Received: by mail-lj1-f174.google.com with SMTP id i20so7839176lja.11 for ; Sat, 11 Mar 2023 02:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678528863; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WAlrjY6SBKQeHB8aeh+Umw1lxnQ477mkc9pDYQkogzE=; b=mtF7ddByz7GaOJEX/mJi+plVBLV/DXiScm3FkQfRE8vOaWJ9hK9uXWQDwX4LlRYfDF XwcyXSvwgz7SmzCkSGHGVSiKfkwRSQcIC9xMHwFaXGxvFOOilcSGjZitDFls8ziAjFIU NZ1SEblpZQxd+ETCt6db1ZzG4W5DKyJgfTiL2SFuhAOwCnK1sf9/vEFLfHebQfginbxZ EOu33RA5PvYV5BGZdAC3OtyAoYMTbs1FKTROk4imbNg1xRqVud22rvS3W6Do0YPk59C6 qmylJS3hVjxnGly9nXs2w2yqHkzoCDStlcw+xsQ2hcDfxXdNhhJ/FuFnTwdJ0jBUBLu8 CAaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678528863; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WAlrjY6SBKQeHB8aeh+Umw1lxnQ477mkc9pDYQkogzE=; b=L+bXPsrVsSIbP3l+WKd3Txs/V5odR3zdxsLzsgTxOoKMt+be1t6crC7XzXDT7L/qa9 MblY7fBZoU2ZRvvFKOAOMCQijzl70sODfoPawpoDPsWXxNcm1lfXuKS3KfpJ+xxE1kX4 ZthHqWxhJt8mxLx5M8D5xtlzo9U8Z4zi9c24zKNHIG/b4YpY9KHTpBiNb/40G3Lk50z8 jKjkvH1O1Om4U4dDEA8nmuuS8mboKrdeik/Qg6Q0Wz0hbWre7w/S7jgh6RcgS7PxWOhG Q2FdSzf8uPuu1KWLaLzmvZ/CLAl0jiMrbbxIK8P/Rb789Pw4c3ZFZACaEmEyKQojszAX TNrw== X-Gm-Message-State: AO0yUKU2fOLPh7w8d9C6l4thlCuMo4ZA1zO+E1rReoJAdk5UPZhxnfLE mDdIeA1oGymf7uy6KUdQO0A5TOTCQ8XJg3QWLU4Dx0L+ X-Google-Smtp-Source: AK7set++qFNTpZQDrIF8mI8+g5HQvlvKbeso/bfbmNLIja/glP5AB/z0+HECPwjMiOdBz0xTXrmoJPC7KO7dHgf78bg= X-Received: by 2002:a2e:a4a3:0:b0:295:b83b:ab11 with SMTP id g3-20020a2ea4a3000000b00295b83bab11mr8727500ljm.4.1678528862553; Sat, 11 Mar 2023 02:01:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Sat, 11 Mar 2023 10:00:36 +0000 Message-ID: Subject: Re: Reserved namespaces To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 51555 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: I'm not fully following, but is this about adding namespace.* prefixes? Like zle.CURSOR, for example? On Sat, 11 Mar 2023 at 04:56, Bart Schaefer wro= te: > > On Thu, Mar 9, 2023 at 9:13=E2=80=AFPM Bart Schaefer wrote: > > > > We're suggesting something like > > > > .zle.layout=3D$'\n\n\n\n\n\n\n\n\n\n\n\n\n\n etc etc' > > > > and then the spdist function would read the value of that variable. > > There are at least 8 existing parameters that could be mapped into a > "zle" namespace: > > zle_bracketed_paste > zle_highlight > ZLE_LINE_ABORTED > ZLE_RECURSIVE > ZLE_STATE > > ZLE_REMOVE_SUFFIX_CHARS > ZLE_RPROMPT_INDENT > ZLE_SPACE_SUFFIX_CHARS > > There are a couple of dozen more like BUFFER and CURSOR that could be > in "zle" but might fit better in a "widget" namespace. Of course it > would be a while before we could retire the existing names, and > because most of those variables act like locals there's less benefit > to isolating them. > > It occurs to me that the CORRECT options and their behavior do not > depend on ZLE being active, so it might not be appropriate to put > keyboard layouts in that namespace. There are also the parameters > CORRECT_IGNORE and CORRECT_IGNORE_FILE to consider. Reserving > "correct" as a namespace feels odd as well, but I think mostly because > it can be used as both a verb and an adjective. Other ideas? > > Other namespaces to reserve? For example there are a number of > variables starting with "zsh" though again there'd be a long period of > overlap. > --=20 Best regards, Sebastian Gniazdowski