From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 19f685d9 for ; Sun, 16 Dec 2018 02:01:51 +0000 (UTC) Received: (qmail 20782 invoked by alias); 16 Dec 2018 02:01:35 -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: List-Unsubscribe: X-Seq: 43898 Received: (qmail 23583 invoked by uid 1010); 16 Dec 2018 02:01:35 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf1-f193.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(209.85.210.193):SA:0(1.0/5.0):. Processed in 2.034447 secs); 16 Dec 2018 02:01:35 -0000 X-Envelope-From: joeypabalinas@gmail.com X-Qmail-Scanner-Mime-Attachments: |signature.asc| X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LSimCKOdkg/BVSCjudauInSgIG9ZVfeRFov5pC7NqQs=; b=IvbQXH8oKJ7rWNiQgbeJvzCCrp3X7KjQqccQW7ZvIwV9psTaj5+HVCrPrqhmwuelt1 D/ZA0OQOCTWo9tLXGIOI/lnlBSPMqx8FAfPppMDz71GWYkIkXfrGwT9zJvECWgDxFgCg rSjyXJwMn6W0d8XKi1KEzlxZVXaJr9R7cntjQjv9r3ivzcbUyA+p5voFcT17h/82Yi7t 7SCyWx0SCGos9IUDP4Y6S+KwmUz/kVhejpWW8WKb08Muu2DvxXVKfEs94cwXhOHNm+co BEdKdvtGDq0JDvXhd+xHeXGy8LxZKNLt3xm2Mz9ZooN1P0dnah96jIXanarm0Dh0lsx6 990Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=LSimCKOdkg/BVSCjudauInSgIG9ZVfeRFov5pC7NqQs=; b=SbLOQLXSlSjsWm71C/xBFlUdI5P9eXwu2nVxhC2i99NKwEDWH2/BuWPEiwLvAmqN0k fxL6TzJVBaZafLPKKyMbLyNzncliV4kj9obBNmQeMGcoSuWiGhhDkbK1e4Kn7ZeKaCmn bLUMfcehKxQOt0iBfNDeuBtkQ9740G9QVoodb5cGhgJey99XsV9LN4YXMM0VgJm8w1W2 7riO9J/6PI/aNMJUSXQKTsU/vj4DfEnEFbLZGALcH/R/JkPYvfltTXUEJ6DpwiS6l+5q bcnO8b8B1wBVYtCdbRlZ5cU13qO6R3UCeCZhheLPx9vj8yskf4V0j/qsCAwa/8bS04PB /baw== X-Gm-Message-State: AA+aEWYWp4/0g0BWcdls7I1ssBWDBjDZYF1pqy+0m3vnYCui1cny2d9J 8fhb35MinJd8bXXygMIW3vFjxaZU X-Google-Smtp-Source: AFSGD/UPX3HXJ+jrmcsmiPS9uEfGaNAtkRzUV0FbatwYDcghA4i2UaYvphyVhx8gkqegr7hk9hK5NA== X-Received: by 2002:a63:184a:: with SMTP id 10mr6543990pgy.81.1544925690270; Sat, 15 Dec 2018 18:01:30 -0800 (PST) Date: Sat, 15 Dec 2018 16:01:27 -1000 From: Joey Pabalinas To: Daniel Shahaf Cc: Zsh Workers Mailing List , Joey Pabalinas Subject: Re: [PATCH] zshmisc(1): document implicit append of `term` when `in word` is omitted Message-ID: <20181216020127.bdskejrh2ckxrg5n@gmail.com> Mail-Followup-To: Joey Pabalinas , Daniel Shahaf , Zsh Workers Mailing List References: <8afdae3ebc75741d47d657f29fb7d2876f9536b2.1544905398.git.joeypabalinas@gmail.com> <1544925190.621790.1610325216.065C6F48@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yn5wpiunwsmzcpv4" Content-Disposition: inline In-Reply-To: <1544925190.621790.1610325216.065C6F48@webmail.messagingengine.com> User-Agent: NeoMutt/20180716 --yn5wpiunwsmzcpv4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 16, 2018 at 01:53:10AM +0000, Daniel Shahaf wrote: > Joey Pabalinas wrote on Sat, 15 Dec 2018 10:26 -1000: > > This is fairly innocuous behavior and is POSIX-compliant, so document > > this odd edge case rather than risk regressions attempting to change > > the lexer/parser code. >=20 > If preventing regressions is your goal, why not add a regression test usi= ng this syntax? Sorry, maybe my commit message was a bit unclear. I meant instead of trying to poke at the parser/lexer code to make the behavior match the documentation, I figured it's easier to just do it the other way and document the weird edge case. Sorry for the ambiguity (and the double send, forgot to CC the list), should I revise the commit description? --=20 Cheers, Joey Pabalinas --yn5wpiunwsmzcpv4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEENpTlWU2hUK/KMvHp2rGdfm9DtVIFAlwVsfYACgkQ2rGdfm9D tVJuSRAAyPSNJQtZg2Sx83422otX1uut2h9vUDlIh4Zy4wx6P4mE/V4PUtZrnQLI d2uFM0Qn0UsGIcdGh6KIssT7rfShwv/976CwK0n40y7PdrI6LVnaM647xmdiqpbT haOiqGO7KzS66LlnKmkVUmGq4A0DJbaLzptTCcvCqeGQD2Rwo1WhTx2jIYKN7hER fTJxuLkckvksItysJl3QfyyxTCG/Dtq3ZdwGm6O6Jfp0/Rsg/l9HHekUnrkdxlQZ JB8ZgRJsipF1+RWR39YxIA5y/PdFZ8JY0oMrABKK16xghtDjStOZJ7iJHhtPQnMU gVt4p3Ns7RBbeZsPubZMUGQY5kvXbQ5fzEYey//4wTTbjP+K25DcvTYIDd8DfjM0 ZeKOEi7Qpb1wUR7kUPue6qRix/Zl5+30ctZGb+eA5DBAG6PLFrLjybwg4N0JfdyU qrklB4T23yUsLsaRGzxn/uq4nOR7hICXgxFbd1MUcQnFD4fDrx960uQZcRJ9QCmN HnGyOH90oZe197b/tJoiw3dr0VZSeoCWrrKf0XK3n1osYK+/wHlCZ6Vxl2cqOkfl fH053XabuYg1E4+/6Th7+Wtjgcd8qOZaO750w0yKkPqyvQcS7tSywLu5YOXgGvTj qaR8OacEkXlfIv974pZ0oXGP/6SigWMLC/Lmwy+lKGeq7aWOX6M= =5Ft7 -----END PGP SIGNATURE----- --yn5wpiunwsmzcpv4--