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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8959 invoked from network); 11 Mar 2023 04:57:00 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2023 04:57:00 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1678510620; b=bWvr/SgCxkUY9jmee6JwULhWHEYeUaEs2bFw06mDArFc2tiDwcpzEE7owLKlZmchmssmieXlfe mpjw8UAWVd9/hMYzlOEdVfecfV6Q7I8BSMSLGonhigh6lRAMFL+/vK75dIcrZUJ1VTT3eQShEE LEWAX6/Z1aZpZIKIqUWa8M1gZEPV/k63dEvp0XcPQ5wvmBf85xMYj/GQSarKmt8+T1Yfvymc/K DZJlYJ33OY0dXY+aEvBZ0vN8uGu0Y9rqeCnUB07qUClyHluDQ/qYeHnteLcrf+YzdiUlGoI+mU 7wZ+SjTQKggAeDKZle1hxjtCUiWbuNef+EYHtQ/jLfS8SQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1678510620; bh=lRyIvIQ3ukqrl/O6F7VXaJeijDa/17WloF+9n1M/2pM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:DKIM-Signature:DKIM-Signature; b=XlSu+E1Zy+zgdFz5gl6c9bW9iS3RjlXNG+OZv10pxRr6kQjNb+4bgh4ztw70TbYbVA4in2p2Fg tjxcHdhWEzB7snpnd9KmDcvJQ4PMaJX1uDGKSvBiGytvIoBi3Hcpv5hsFJfCF0sbR/5uAuOZhI uo7ixwHciKh1Uj6BidtFSyWFlTTRDwTGCyvRX9nQdd5dXU0cSPZg6mvmKPHhI8QdR+42mUm941 RdfLlFfpS7COqkm8dliGn5g//0dv9fpn0ngz9SZNhtE7SRPygzZiHK4yct95ayYaBPVjQS4r5f iERAE5yBS18nHjioy1htuMpBURMK5Xr9Gt7zh6B85lDYdw==; 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:To:Subject:Message-ID:Date:From:MIME-Version:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=xL4H2jFlr2NO4ElJFSVRBItOdarlenM4Rmlxu0ri4sQ=; b=S3YdmPUHlhX2DtfI+fxo9ac2+L EFPSc3sq1WCOReq44xx2m5DU371XYs8vKJcHWY6ynvluQehDQOhqEvaHhHSW0mW81BTgg2qEiDq7G /NZoPkdumZWua9x/qHd1zKjeLZmC+7aNHiL1IsRCjKg+Rxym56NjZJ7qmlkieY0BVp73Sxtim7Gt0 NTp0e+eUN3bSridAmTPBJg4yJOnJ7l0W4UKb9fVXOhA501P6Ry1jZa1IrTWtFm5RFS/FtL33VP9aP yb7BEA4uxvZbyqfk8EihVnoc5P3TbytXvax4BfLWOWs2XCM82phxMpQHR8aHbCKiVAtmDrRfJBVsT O8M5ntYg==; Received: by zero.zsh.org with local id 1parHu-000Eir-Vr; Sat, 11 Mar 2023 04:56:59 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f45.google.com ([209.85.208.45]:43523) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1parHW-000EQT-MO; Sat, 11 Mar 2023 04:56:35 +0000 Received: by mail-ed1-f45.google.com with SMTP id x3so28675201edb.10 for ; Fri, 10 Mar 2023 20:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; t=1678510593; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xL4H2jFlr2NO4ElJFSVRBItOdarlenM4Rmlxu0ri4sQ=; b=HpoNZknI9n3p5pn0e4Rum2axElH+su6S8rSfflAhwUb8ptAGtuJ3CAdXgg9pUwfNE0 kzsbkuwcVMN6TsZFIPgcxI2bt+rPunxJ94sDvGwHyqQD6oYdTlQgB5nFOuFRNNsCtx4Z 87fSABomsdsBaTwkAgR9EW4UUm5/KkpH7pPbmpfS51wDePpW1isP+bSWyWrveTtR/mre KbmCL8D0KJoNFLJaeqFBd1X50LMCDZKRQYVuIW3FXt7kJt1uUf3JFiS26uIh5J+otxNO INq02Tm07f5vlw7cKuMZrmfdPiAwHRJM+zOx1e4ixswYLUDxJJixw89sZN/3s5p4DIt5 4NoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678510593; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xL4H2jFlr2NO4ElJFSVRBItOdarlenM4Rmlxu0ri4sQ=; b=0KduU7zI6RNOUrrsrbRKdkDn4FwTo+AaeeNpkBu72pL8eYZP4f9mHaJR6sKTNPxpWY zLHT/DT0PpTY93KC9jiVv+Foq0J3s7OUgK/58DlCM4tpu3sqlIwS2fbtzWFhkJJCEIVo 0TTm+am8b3rOT2D4OJsCMsldP0k+Q0T5NcUFLdmDikBXNZJGKtpxokg/Su8t6wYzLkfW ju97WZVxL/4ABi4TIqoRNXha4wetWfY2pRC/UWKb6f8XsLT5RHG+9iwx8+hLcYeNZ63Y PQf8ihfq2dO/Dyf1dlUdiDXxjUukJOI5Oi2zRnKoV4vqqHHpO6N7+Icy+Mw2EFxxgIi6 h8+Q== X-Gm-Message-State: AO0yUKUXOas7rOWq/1zvCywjxfFFFGQ4+OWhyGKR0OBkj4wNAffg3cgf JfbDTAEifZli+Qg7vZ+ZLCGVQtndB1ZlcJDhmeNMLRxfQKVtcLsJ+TE= X-Google-Smtp-Source: AK7set9iDKNV4jykP95WXAF9bwKIj80O7V21KMogC3IBAjnYX1SIqR7XgOsKIA0Oj4bs0dXHC4Tpcq7MI3Ika3S3YkU= X-Received: by 2002:a17:907:2bdc:b0:91f:5fe8:cd38 with SMTP id gv28-20020a1709072bdc00b0091f5fe8cd38mr803719ejc.7.1678510593568; Fri, 10 Mar 2023 20:56:33 -0800 (PST) MIME-Version: 1.0 From: Bart Schaefer Date: Fri, 10 Mar 2023 20:56:22 -0800 Message-ID: Subject: Reserved namespaces To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 51554 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: 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.