From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4541 invoked by alias); 22 Sep 2016 20:46:52 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39419 Received: (qmail 13023 invoked from network); 22 Sep 2016 20:46:52 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f172.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.192.172):SA:0(0.0/5.0):. Processed in 0.725679 secs); 22 Sep 2016 20:46:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=QnFmmE2tNOPSYGJy9reuuGsQvnREC77jIEuhx26wONA=; b=Y4IcRe56DcHB8Wf8p6B7RCR4r94rhtGadPCPh8h23mbsZJ/3tAPuNMHxzwauWn1wWB 8BH5VFa8Q8IpH1htuVXEYUa8D723CoRRDqOOHw8uwVprrGPE744zdUcXWrgE1sUbh5Fm uyDSoejCaMn4WpyYPxJlCXMPf4+msBXGexkTh+APir3Owo0KuDh/q3uAO584fgTjNFDJ yoFiEDTJAOFgXec8A+3OsGRdo5ubu+2YTnGmoHbezrB+4lVi+NsWw5gTU9jR4/IZfxOa QQboEQ06NfQTflGzcguWP3r5oXFog+EgjT3GlbGLy6lK+6uY7uKYIIojUXRHMhtiDWjd PIqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=QnFmmE2tNOPSYGJy9reuuGsQvnREC77jIEuhx26wONA=; b=NSDlj6pTEGjSqPenJn1x97mH69FsiOYv+/J5r1wht9qb+MwJ/uobepOlDiNEsFMIbj lz04ijEmXjEyLNBhw4r4EkSBtIbff9ApzJAaOCdnLw9WXH3J/WCowQQBowJZ79kOyamP xGzEyOIUb+Y9heMextrci/uabD07bZb2Y8rzGpUKZ8nBF6phaGlpMvn5BuzG7Vff6FT5 Y3iwnoajKn71GIVVDlnlk23Vvf869aurn6Sjfep5TrfIDxqYmDK2G6jvNGMnaXBuObCP PCmUpepDSuV+Sf6A6O2x+BvkIQxz2Z6rhOPWNBheWeb0Th/XrZZEhNvkNE7qekInCXIV xKgg== X-Gm-Message-State: AE9vXwPkl+GHfkqzz0sJp8rVDIegbr+kWZQPoGKPX1RRTgUhlmXo1Du9WX35xUfao8aqyg== X-Received: by 10.98.74.142 with SMTP id c14mr6545782pfj.29.1474577204192; Thu, 22 Sep 2016 13:46:44 -0700 (PDT) From: Bart Schaefer Message-Id: <160922134647.ZM7854@torch.brasslantern.com> Date: Thu, 22 Sep 2016 13:46:47 -0700 In-Reply-To: <20160922201403.GA32196@fujitsu.shahaf.local2> Comments: In reply to Daniel Shahaf "Re: [PATCH] Fix unintentional history modifiers." (Sep 22, 8:14pm) References: <1474544597-13684-1-git-send-email-danielsh@fujitsu.shahaf.local2> <160922093445.ZM7021@torch.brasslantern.com> <20160922201403.GA32196@fujitsu.shahaf.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] Fix unintentional history modifiers. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 22, 8:14pm, Daniel Shahaf wrote: } } This doesn't explain why _dates worked: it had a parameter expansion in } a single-quoted string. Ah. Well, remember that zstyles are sort of inverse lookups: You store them with a pattern, and then look them up with a fixed string. So even if the fixed string (from _dates in this case) is wrong, it might still be matched by the pattern if that pattern was not specific enough.