From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24142 invoked by alias); 6 Dec 2016 16:57:18 -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: 40105 Received: (qmail 24645 invoked from network); 6 Dec 2016 16:57:18 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f50.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.213.50):SA:0(-0.0/5.0):. Processed in 1.084386 secs); 06 Dec 2016 16:57:18 -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=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,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: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.50 as permitted sender) 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=lLxqlmBhg4W/mAdS9y6vJfhMH5C61Mcgzrw/tP5VHy8=; b=tM7im1x1Ohf8HfS682saC/kTtdu/87WIkmYLYeUxee+BpHFtjelYU9aBlFJpUSnmsY XDDRElrg70UXF7yR/L0sSJ7F6TFVsvPqUkZdepPOmuSNSFdp/h/9IqEeFCYr5OtcscNv 1GhHuRZ2RdZWmh8Z7qz5zsiLR8Allk7/WuNMFdSi7zrCFGSkEdUqQ2tFatev5pPufMmq 6TkZ2e77+GEatItQ9cJznnWEUkJXuhu73t7dhwIgLnOYNpjAe/QeRY3taXzEhLaHW9Cd Um0kUOx+d1sJE34tFJ15qmbzxgYhuNYG5MfUIysgyvHCBcOpgRvmmwcMgeXC5nS/cLai Jc3g== 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=lLxqlmBhg4W/mAdS9y6vJfhMH5C61Mcgzrw/tP5VHy8=; b=ghXDsvS5ZYy3h67dVNHR5MD4RxZ6uGzbQsI1veyHA7qBfwuQqVJnjEtbmeZspMvUYU q9Xssp707G6He0ouMyiF63ySDBccjWQ/fuFWIHV/6xJ9XL0CpAhEIGMa7VGnKqLxCaQ+ w+giEVDDvxglGoBCsDK9Hc/1SPqUiwquqhFsEp99Dp3BlmRKSyW7/ID/iuZiQy5H9j+1 AxrLWD8PFO9p9LUBaN9goA41Z9CohAAysGlhws3ivBfwu1qVwnzHJsMsjLD6yRCTtG+P FN0ttvMjVS/j52w9aijgxXQ871arURLjyC/bPwQqMczHdeNaicPtJ9h6aZP5wJ1EXCKV TulA== X-Gm-Message-State: AKaTC030gNDMQodWfsFAAE+ADz7BUeGhUCCk2XZmXb6vNoeBoh+E+6dW/qeANe5CFDw+fQ== X-Received: by 10.31.74.65 with SMTP id x62mr20105056vka.146.1481043429302; Tue, 06 Dec 2016 08:57:09 -0800 (PST) From: Bart Schaefer Message-Id: <161206085722.ZM31320@torch.brasslantern.com> Date: Tue, 6 Dec 2016 08:57:22 -0800 In-Reply-To: <20161206142754.GA12824@cventin.lip.ens-lyon.fr> Comments: In reply to Vincent Lefevre "completion files sensitive to user options like RC_QUOTES" (Dec 6, 3:27pm) References: <20161206142754.GA12824@cventin.lip.ens-lyon.fr> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: completion files sensitive to user options like RC_QUOTES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 6, 3:27pm, Vincent Lefevre wrote: } } I wonder whether it is expected that completion files are sensitive } to user options. The intention is that completion files will be auto-loaded from the completion system after _main_complete has started, where they will be affected by the set of options that it controls. RC_QUOTES is a tricky one. We could do this -- diff --git a/Completion/compinit b/Completion/compinit index 6612bac..7cb65d5 100644 --- a/Completion/compinit +++ b/Completion/compinit @@ -153,6 +153,7 @@ _comp_options=( NO_markdirs NO_octalzeroes NO_posixbuiltins + NO_rcquotes NO_shwordsplit NO_shglob NO_warncreateglobal -- but then expansions of strings the user has typed on the command line might be handled differently. If you can verify that the above doesn't break any of your interactive expectations, I can commit it.