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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20208 invoked from network); 26 Mar 2022 17:11:43 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Mar 2022 17:11:43 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648314703; b=mbFqBLaLQbASQntZ6Ql7v0485s3oslfZ5U6V7lXbhdr9bY0AiO3qgrsoLl3yDL0mOleYFUzw31 lmLX3/0ouFJI7fz5ZLBb5nacyPyscm9DxJB7KtnxEctiBWDh2bruGHJmX8TJYLRMjXX3VOGSS7 0ZwQBSNhShGjnUsLnAhV4xbho3dPPdYzZD/s1ItcM+8sVI+Ksl/jP7rwA8Yrqf8VZAaoHD3Kwo iTavySGis6VQmQYSEziqd95bSZJm/U7iSf0X4oWm3n92zNcz8qFioIfmFnteIuR21SZdJQj7/P 956E9nT06gfFf+N0x01Pmtm+aYnVUtFkiql4yNJltH8m6g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f51.google.com) smtp.remote-ip=209.85.167.51; 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=1648314703; bh=chTiEf9GknRny2XdfNJP+1gihUVD9qopiHy5P5F2P+E=; 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=ae+26xzLg0w9ui3KOVNHsF+/5WsyFihll9ETGfuZZjyH7Gu3zgaOzdWgOs2SAiPP/7PSemYQiL UcUPR36UnsviPQ17wkb9iDPHPVJAfDEklL+clJhFjpQ2BfBcZeK27GkuaYssv4PPeGMO0oo8QE +7IXmne0Q+vfB7n0QxBZ4AgEfNEtfr7TNGLlzBPqKL7k+56RAl6YNI/admFF6cdZzAtvKztCZp NKwF3txH91ufdoIVR5qGIVKdfJw6NGcqo0xbrE3IwF+PYXVobcquzo4lNCVhy9uirY+lQX2eIr Cu8x/jjXDBGxGhECJJA4DbBIANgYks8USCC2pbmRTc/U9w==; 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=r+/pG0pzahhvZS4BVGrwywFxYHrlWmEbO7r9CdZZMb8=; b=jY9FohymKPrNPNhHMiN5PzHfXP ckUJvKSK9DvO+l9S0hLSoaoFBVl8405yqsH9o85zfsx7Eh3SIYkn9nDpswPAiVQfzal3d7iXmVPt1 ds40QcIxEguOBz24sRAgt1Jap2RGJOsQU77/9ecGWiZa655utg8JdVAk19YWSFRi9BqnaOXtqmaUN SAEsT3uIGixSEqSUZE/Dd7Ym9IfJrCJGU5zKzjZZz7KI5Xh5dyzc36LPYy8L4jBUYUGuOKFuu3dCD efXpcdikdvJHHXqO1/LiV6njjbYIUL1SiEYicrF8HJHOOAAIiyabhb/HkzE8Dor0Xyre/GWQBb6w0 be8QkM5A==; Received: from authenticated user by zero.zsh.org with local id 1nY9x1-000BYz-Eo; Sat, 26 Mar 2022 17:11:43 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f51.google.com) smtp.remote-ip=209.85.167.51; 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-lf1-f51.google.com ([209.85.167.51]:44878) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nY9r7-0009eS-P8; Sat, 26 Mar 2022 17:05:38 +0000 Received: by mail-lf1-f51.google.com with SMTP id m3so18165573lfj.11 for ; Sat, 26 Mar 2022 10:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r+/pG0pzahhvZS4BVGrwywFxYHrlWmEbO7r9CdZZMb8=; b=qIpMpKbFePdCnUitzrChfxsjV3c9wMmDnZuioCzG6XqwRwcMyY2JjfZ7ABBmO3YwLg Z/UeP3JTiX3rjB4CrNQvtpFkxpHpVkuM+aD3tdDqCh1074MajPtejRTDr9ZVvbNTQNhU 1j9vdwf1Wa7zLNrAth6eFj+ON5e4pUzECvRJAB7dikMIxuAyZOTGC2PUNo2cB1OLjyIl gbEbntBhQu6M8R5QcBj1dujYo/YRr8ZyCyNLh+NVMlS5ybRuC78b+TEQ59r/IDvvsw7n qbOKgAD7746pfhzLnAasQ5HppKChUTrNbKKxn1fVzJXnix1EYL4534lalfZiXTOUjMRQ y5hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r+/pG0pzahhvZS4BVGrwywFxYHrlWmEbO7r9CdZZMb8=; b=aKBzx1mh3yaqzyetlCgAc5EwRoV1n7ppIb7W9Jzzxtu6aTxqYbmTJs3gBqavA/y9f3 /3MLjIZXf+XLo1VuYGW6xC2Ws/OABIArJ8uwL4lAz71qhnmO0B+ioURLGNJ84yNcAk8a 0EZWpAHvkDPPzl951lWtcmM6vzB37DEuIMprDVuOP8mAH9325wABwjZbYARh6MTI/r87 nxn4Fuv92JrrPS62/6WUZWUNmqK8Mk+zuOukS9Eq10dM/ml8daqcwkAwCggOjOLvp8Ds Mx7O80tYGQQJ3BznHRpxW6xyAKEirc3WQ76uSKfIfaWbpApZlQtS0f0cOvBdrtLeNYus St8g== X-Gm-Message-State: AOAM5317tdJzvdS0wwGL6yzYq8Jj32ojPo616eIPlMtasaciGftuU1Jf ndo2xJr0I4001iopgDscKMj0HbJzWaCh5BSA33hWZg== X-Google-Smtp-Source: ABdhPJyVCXS281aqgNnDL/cqD18x7em9BMrlaS3YSJJzd4skK8FAe/6Tala6LxYAWVeri1+CzuMpT3WJ087c2goqOCs= X-Received: by 2002:a05:6512:3a81:b0:44a:616f:f75b with SMTP id q1-20020a0565123a8100b0044a616ff75bmr11093018lfu.2.1648314337048; Sat, 26 Mar 2022 10:05:37 -0700 (PDT) MIME-Version: 1.0 References: <19A56C62-2136-410B-BFD7-A5E8E4BFE7D6@easesoftware.com> In-Reply-To: From: Bart Schaefer Date: Sat, 26 Mar 2022 10:05:25 -0700 Message-ID: Subject: Re: Trying to learn ... RCS and GLOBAL_RCS To: Perry Smith Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 27623 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 Sat, Mar 26, 2022 at 9:45 AM Perry Smith wrote: > > > On Mar 26, 2022, at 11:39, Bart Schaefer wr= ote: > > > > Double negative. "unsetopt" shows the options that are not set, so > > "not no globalrcs" =3D=3D "globalrcs". > > Oh dear=E2=80=A6 That is definitely where my confusing is coming from. History lesson time ... The zsh option naming convention was originally taken from csh. The most obvious example is the csh "nomatch" default that causes "echo foo*bar" to print "No match" when the globbing comparison fails. To turn off the "nomatch" behavior, you reversed it as "set nonomatch". This is because csh didn't have options with "off" state, it only had the default behavior and options that when set, changed the default behavior. Consequently a bunch of zsh options got named "nosomething" and to turn them off you would use "setopt nonosomething". At some point in the mid-90s it was the list consensus that documenting the options under their "nosomething" names was confusing, so the docs all got rewritten to use the "affirmative" names. The output of "setopt" and "unsetopt", however, continues using the "no" prefix based on the historic practice.