From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4128 invoked by alias); 28 Jul 2018 02:34:37 -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: 43216 Received: (qmail 20941 invoked by uid 1010); 28 Jul 2018 02:34:37 -0000 X-Qmail-Scanner-Diagnostics: from mail-pg1-f179.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.215.179):SA:0(-1.9/5.0):. Processed in 3.798089 secs); 28 Jul 2018 02:34:37 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: joeypabalinas@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=urqtKhQmuM3N3DuZ64vNcLdQ0TVMMTn6ht6LeUWUzDA=; b=TcVb5ZtWOydROz+WD39psUIbkz0y453jqyyVSvsetmUOWQVmFRBn7jgKHDnEfmI4DJ sRstaU/c7Azx4uxjH4ADlZoxyuWlGvgbAvZoC5grWszSqOgnSyrZ5T8FngBdDXln2Qs1 DFRDdL8msoJbBjUsT1W0XUpM2y9VnaWEOymn+j1K+OE/DsjajfhmVdPTRzwB+H2UzG49 g2kQRwm8dcfGY4oN4wcJBcxynBaLqO40MQH0B3Z9WihjbKw8df1EuusADKOPNBUR3lWk XEr/QdMu/CJVjx6efrqAoO6CUCvWyBru65617rjytx2rhMuE6NeTJYN3ri8BtiEJoPtZ 5XYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:user-agent:subject:mime-version :content-transfer-encoding; bh=urqtKhQmuM3N3DuZ64vNcLdQ0TVMMTn6ht6LeUWUzDA=; b=QK2y6drKoPWJtC325MB2+VGYMPdL+tD4nLSSOW0f6QgtYkr9TV6dzH51UN/dirwslk MzKLP6Q4gi5bG15HQDI85pgGClesM/W6BG6MUIcJHm7yJK5w2Bkl6fWbzR3hpVJGdlDR NeMrdNJbGdQYS3ro3sTUkE15Zms9dou2SS7SF+aZuaohF+xTmcJZzDYuIrULfpTnYkTs vNmsxhrG35AesKbXPpdXG6/hG7pia2IzDVB6SQ31iVa307XeVUCd2s7SJddjMot8jMb5 Gq8Pk8wqaCXJad06n6iRtK4bTAc4/lduDBj0AYhWoi0ZBi88B0uVfgZLY4ERNH/uCgHd 9n9g== X-Gm-Message-State: AOUpUlFPmOy0JbGJbCXxQ/7mL6p41xDSltC7qfuw5gBRbEdLzHJjMjhh 1lYDmi24snhqOBiRS1fAdzE= X-Google-Smtp-Source: AAOMgpeK/6j8Mkn1zvMtr/MtqNDmmujQAuKocsB6txPcOYYBEunkSqJCfibcqf+a9FgrJoSkeilHJg== X-Received: by 2002:a62:8d7:: with SMTP id 84-v6mr9002310pfi.172.1532745271307; Fri, 27 Jul 2018 19:34:31 -0700 (PDT) From: Joey Pabalinas To: Joseph Lee , CC: Date: Fri, 27 Jul 2018 16:34:29 -1000 Message-ID: <164debc1328.2878.115d99ba41c6f10c410cad5529ce8e09@gmail.com> In-Reply-To: <15e31c7e-4fc4-401a-8320-184f3914e572@Spark> References: <15e31c7e-4fc4-401a-8320-184f3914e572@Spark> User-Agent: AquaMail/1.13.0-687-dev (build: 101300000) Subject: Re: A weird bug of grep completion MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On July 27, 2018 4:28:27 PM Joseph Lee wrote: > Dear all, > I'm using macOS 10.13.6,=C2=A0zsh 5.5.1 (x86_64-apple-darwin16.7.0) and g= rep (GNU grep) 3.1 packaged by Homebrew. > A weird behavior happened when completing `grep --no-*` arguments. > While typing `--no-group-separator`, which is a GNU only argument, after = another `--no-*`, the cursor stoped in a wrong place and unable to finish c= ompletion. But it works right when `--no-group-separator` goes ahead. > > Words might not be clear, so here's a demo video: > https://streamable.com/bxbdv > > I would appreciate any ideas, thank you. You ended up with your cursor one to the left of a - (you can see it within= the block cursor) and that would cause completion to behave a bit oddly de= pending on setopts. --=20 Cheers, Joey Pabalinas