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, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6809 invoked from network); 6 Aug 2021 00:55:48 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Aug 2021 00:55:48 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1628211348; b=gIt0vsGMQsE1xiE1hTvVAg1ETs5H4gm59wXZHKNtxuX5HqIFKdPrSoyTvauOk6AcmrdbGDa15R Y8x+/zSNdXWRi6x3zaQqgGITWtACbeglLwMe1lmT5x/EPqE/xZVTUHdVf/wrh1kfIznKJ9WI4n QmgHznPSyvpVD+YcbK/oEVT+KHvxoBK2FhFsTQuMGZ1Fh/A8rlMAowW4+ulpT2jOUUnjG56Oyx SqAn0G/ecfYVoBSMLzmzaBhkeVb576wYSxWzD2ixXSE6eSZzKDEex9fy5ye9jLIjuJb/m5PJtj aZilUEwnqU/wsyG761NcEottgGDKEmyVn2fgs2p/3LJofA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ua1-f42.google.com) smtp.remote-ip=209.85.222.42; dkim=pass header.d=gmail.com header.s=20161025 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=1628211348; bh=Arb4BHS8WdVdr73AXrIKZ0lQpfinMdHWtVoZ8rJFiAA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:References: In-Reply-To:MIME-Version:DKIM-Signature:DKIM-Signature; b=obBUfUqLo2yrZOw7nFEpzZaX6voWIzye+ssnju0xJmsY7yO6qAtu/36tNK+9rE7bMZgNLDu4HV RuLezKyXMMm4MCRDiVF502gjKE/LqS3Y2vNMZlSO5l/9bfgiB7cXGhtpLh+MjksYN5HWt9aH+1 TMi4iQbc2lCCvzajZJJvjLPk4TVOOuP9qfvbq+On07zJkJOgov0IKnrRQyUVwG8Xoy88i1dZFT g8yKkvXZ450rBf/1Auk0NPMWhGUMl+WO5ku90t0dVISQoJzY2a2TFdrAHfBzRTcynndDuEkKKQ GaNdT0PL9ER/zaFzCK0pLvwvVht85Nieyv3d+VRJXfd0Xg==; 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-Type:Cc:To:Subject:Message-ID :Date:From:References:In-Reply-To:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=YL/OKj5DtA/vHNdOgkohxI8EdEz0+LjYuGQqs274E9Q=; b=O1QRYi+w9bAJtOwExMq6lfrANM gQWJ+33bJWlBclrgIZesmvRd7s0lswJcuF4rAJFCFO8Y0uAD62l6hy2GXke/vVCMB4XFL+TC16881 0Q2dlhCuKC4OTSHqB2102R7MxaGS7aHI3plvBZXK0Hn+SfLW1S12U7OiStnuXfs+SKvIC+mGrbRVO Pp+3deOtj8Gn/YGK0HiXbrKfno2HCUGBngB3OjMgOqpj2IpW5NI54BTLb3ENI4O6RDZBgwTHJmpgY FyoYo7DTs4ZNSIjHuVOQllJV+c1uBI6Hf0HeGOWLqhGt5iXWXmQ7hfw0jVGLyUWwZcw6uAG0rIYnb qK9+Suzg==; Received: from authenticated user by zero.zsh.org with local id 1mBo9K-0006IZ-Qt; Fri, 06 Aug 2021 00:55:46 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ua1-f42.google.com) smtp.remote-ip=209.85.222.42; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ua1-f42.google.com ([209.85.222.42]:44614) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mBo8k-0005zz-5V; Fri, 06 Aug 2021 00:55:10 +0000 Received: by mail-ua1-f42.google.com with SMTP id d22so2929297uaw.11 for ; Thu, 05 Aug 2021 17:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YL/OKj5DtA/vHNdOgkohxI8EdEz0+LjYuGQqs274E9Q=; b=lUp/MTrFxZQi8fx1KkIrKjGXe3vrId6n2lEF46nPKzjdd2kMAsBkIFESQWRO+IRCeQ 6GaC2RlByp0HoHwiwpPfHOgcxc/8zRisSa/uTGMjP/Pd9A9iv8mO1PVC5j5Kyn/LrRAU iFXfma2W00PJAGxyBK+lYa8zCr8rmQEpnGPghzycQYYJs8SDIc0431+yqjxbG6FYlnNg iynIF4x8Ql8/hxm2U3AAY//nY8RFRQWKaWiVj5XUJlGcLmyPxLIkUMui7MzvPzavbEY3 rmaBIXLAPQznROWBpXgm7raKgdJktK7IF9xIZqY5JDc+RDCM8ihsv+9p/Adfx7bJYwoa 6UdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YL/OKj5DtA/vHNdOgkohxI8EdEz0+LjYuGQqs274E9Q=; b=KGMPmTxN/XluP6731A0zGVMCEgfSBb7SNnVTA9bsyY+OGE0btDMWHtbO0EcWZT9EIg xdPZC4C/sojxX8IKAWRzeHkOVRQ8TPCQvVtZLBaqn0zWcmfX/o4HlUEGpzT9+hPa481a gRy41hTWRW1Yg/h+TASHb8epV3MqwCQkgsKe1rb4jpgqJNUvm9tGG5NzpydsX3XNOmgv B6pc8mUJUeWL5twGkQm2HNr1lq1lRRznSq5SHqB+2bOpl2PCbgRaW3k/NcmAaHlJNa7i h9y2sJDHGPg5cKWDSymj/5piBed1x01bj7pXBOnzCkpDfxCGj+l7dK/TEFwA7rwvDIIt 8fmA== X-Gm-Message-State: AOAM531PqkPI2cuFiSGw0Rx0SkUY6r6hGox4whiAJ4EsSDt+gBtyrRQA 1fTV5LpMMy9cbUMz47t2t4s+DaR2U4YUGwz6BWk= X-Google-Smtp-Source: ABdhPJy7Ws+jb+fCLOpaJ1q5QnVkh6z1E5E/Obj1skmEcboulAKbSezBoEBRc6y1jJO0QGgwd1v2nrjNvI+5WWPTZbQ= X-Received: by 2002:ab0:3156:: with SMTP id e22mr6688390uam.81.1628211309052; Thu, 05 Aug 2021 17:55:09 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:1508:0:0:0:0:0 with HTTP; Thu, 5 Aug 2021 17:55:08 -0700 (PDT) In-Reply-To: References: From: Mikael Magnusson Date: Fri, 6 Aug 2021 02:55:08 +0200 Message-ID: Subject: Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all? To: Bart Schaefer Cc: Marlon Richert , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49250 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 8/6/21, Bart Schaefer wrote: > On Wed, Aug 4, 2021 at 11:18 PM Marlon Richert > wrote: >> >> I just wish {a..z} didn't use quoting at all. :) > > Re-reading the doc for this, {a..z} is guaranteed to produce PRINTABLE > output, which is not true of the other variations of brace expansion. If you want to expand these printable representations to the actual codepoints, you can use (g:ce:) . >> How would you feel about adding a shell option to make {a..z} >> unquoted? > > Ambivalent. If you're going to set an option anyway, why can't you > use BRACE_CCL and {a-z} ? braceccl works on the byte level only so it's not usable for multibyte codepoints etc. >> (Or failing that, an option to make all of them >> $'..'-quoted.) > > That, I think not. You've already demonstrated that it's simple to > add the quoting ... and in what circumstance would you want the brace > expansion quoted, but the word in which it's embedded, unquoted? -- Mikael Magnusson