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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26663 invoked from network); 17 Jul 2022 03:49:50 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Jul 2022 03:49:50 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1658029790; b=gtzqHJsYuAFFaEPcuVXxkGeRYDTbgodDnpwVo08ZZleRXlP1GlO1mX7lCCv3+YmQ34AWlbnk7x zsDxyCGup5maiuXa3Q425JdmlptTky7NqECLNbVYLEoHkkV6f1yMXvmQkMB6WtKi/gdooGdl7t ZsKF8l/8GjgJRfJ3hXk1elAxzMlxKxAVs4HQi7M6e9ChHpq4/P4/8BFjKR/MkfYujJEBYZcJtw tR1cZnvEjjDbyWOqtxxgxzZhHDbcyciJG/SPFMyRBKZ9x8dyY8NN5/23KuHuFO8s90559c50dE dSM8Cd8MEaljU/ly9YArU2OE87aratEJRwjLqItUJetkEQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f52.google.com) smtp.remote-ip=209.85.208.52; 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=1658029790; bh=l48LSh9EsOPfAJooL0GyLzNdegBitCbg4oNlxRh6iq4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=g57OB0WIOfTsjUHJ6G4fptC4J95gr/wj5HIHThjC3xNdkqfr59L6filn8qeQhauCX76CF7DGcM HyqUeUyQMZv8K49YQF4m3TG6mD9kmTemz5yKlgc0RvNSFpfj39CynggSl9kUQWTE3PCx8UwRzy oepb3/EdlEsxfAemX0EDuNFU21faKEK+hVQO7+jQrjAKda3QY0YkZwTWH29eDuadKmoWQ0RDRv ptJ9w5TFcxTQKiVXot+BR7ArLPe5lzHQW4nL5+by/1EyPpTtkZGSqZMRzjoR+/HZly81BLPiHV LVUpx9HTGFtoG21s4VseP3iQ1LfozOiXvUKUqfuM6UvqLA==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=k8O90Z301g+7S6I42dWPR06P8lujIetktIpwSi4B9+g=; b=GSmNsTuoFXtImqtAk4kRNBj714 RdXfZ8Rw3ZtErLfXB88vzYo+baQG/f5Ezqkeh3wkV12be+oqo2ami+6BphjJjLdzpWBxlkoxC/Fjv KpwyxRhAF5u+1bGYyCiNP9vYmRd+pLgZwgH51/eW4GSP4TQE4ASviOBlJp2xKxHktg1PmY0T6lHgs 0FTU/OsRtWQxwt59k2xz+mThNei/en8lI53znoZQ3AZy50qnrMY5NnNCDjH+KRnkzFNfYsG2R5Nf0 mhN876eAlwO3Vnes88v/yEqzemgBs6ZaUI+mykKHiKns9byd8cTagM3RKrhYVSDOCvSNoQ5OHFxwP i/z+jAGQ==; Received: from authenticated user by zero.zsh.org with local id 1oCvHx-000BxK-9m; Sun, 17 Jul 2022 03:49:49 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f52.google.com) smtp.remote-ip=209.85.208.52; 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-ed1-f52.google.com ([209.85.208.52]:42749) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oCvHD-000BHA-4i; Sun, 17 Jul 2022 03:49:03 +0000 Received: by mail-ed1-f52.google.com with SMTP id r18so11097344edb.9 for ; Sat, 16 Jul 2022 20:49:02 -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; bh=k8O90Z301g+7S6I42dWPR06P8lujIetktIpwSi4B9+g=; b=nvaIKf3br455ARSUY1em2rg6A+WRqV5prHrHpvo06XXBTjbliAOvfuUujOL7LYRR94 ucJ9Och9pS4eGE180Fxj1C7NK9RjumhAW2cg/Z5J6GXaszu0IBc1CVwqHttywh501fyj sunOa7mujXnhTMPFs7kxstXX+HEGtwr1SQpIZBSTGOVzpcNgoO8aCeftt3med56Gg8CI 1qqTXUAaC073tw3ASXUTStQ/S0+UgNGuvCRtn5rWP7IlsszD6i8I7VtqjffutpUisFgC +VT4QP/PTHdJCL9HSd2FjPj4B/9lRNNY5kWI8LUhtvNdIPIzvIvvrVtOS5MfOjS9h9vt npcA== 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; bh=k8O90Z301g+7S6I42dWPR06P8lujIetktIpwSi4B9+g=; b=qy2t6FDyH94OdFxZ4lFSSghn0GFLD61IDQEGR9kg8/fxpSQ+ZP5jefyQ3PbihjmnJp f7flOHvA3R7TqNjjSOB4WZsnIMIxSSkANS5ppUDhLFKvTSO7KRh4iOxOUOrYqkK0edDE 777v8oO0lq92i4odp4EyUVrsGpoLas9/lShzPXbWhpT8+wlhazLQAIMy71YANxsUSR9y ve+UL0ZE+s5XpocMy3yoJvBfxR5BlWFMP5mExfi7r5v2rBB/wYHMZNWqV9bq/FLh7jD7 twLFOlwLRtBBH23sHLPTL4DgzNZjfYj6crpnbrXtB0v3fFMz5uYaC0yplh4Vp+G7a2WO EIKg== X-Gm-Message-State: AJIora8J4ZecFMC8n+8AIyhDL8FwLTIRg5J4TNEO6my4zxehisqYkLUJ nZyddV7bGUZrJlxAD+DArhiiHEieKkVveqXgMf2gj1PsN8g= X-Google-Smtp-Source: AGRyM1uStnvkZkO2aCVteyBhse5uaM5edmLYG6wF5KtprC+vYjyxFmGhR45QyhDzm4yAWE74Lzu9r4IvjgHsgdHIEdE= X-Received: by 2002:a05:6402:5d6:b0:43b:2391:a07e with SMTP id n22-20020a05640205d600b0043b2391a07emr20985742edx.366.1658029742548; Sat, 16 Jul 2022 20:49:02 -0700 (PDT) MIME-Version: 1.0 References: <0c939d76-d9ff-e684-cbc5-70dac285491d@gmx.com> In-Reply-To: From: Bart Schaefer Date: Sat, 16 Jul 2022 20:48:51 -0700 Message-ID: Subject: Re: Duplicate results in _python - (Re: [MINOR BUG] Duplicate results in tab-menu) To: Zsh Users Cc: Eric Cook , Dan Arad Content-Type: text/plain; charset="UTF-8" X-Seq: 27894 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 Thu, Jun 23, 2022 at 10:41 PM Bart Schaefer wrote: > > The trouble here is that the completion invoked by _dispatch is > explicitly allowed to change _compskip to control the behavior of > _dispatch. It just happens that any completion that relies on calling > _normal may do so incorrectly. > > [...] So the fix appears to be to make _compskip local to > _python, which seems a bit icky because it doesn't help with any other > completions that may have it wrong. Better suggestions? As there's been no follow-up, and this also appears to address issues raised in https://zsh.org/workers/45767, I'm going to go ahead and commit the change to _python.