From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Morgan Willcock Newsgroups: gmane.emacs.devel Subject: TAGS completion with (setq-local completion-ignore-case t) Date: Thu, 07 Mar 2024 09:14:04 +0000 Message-ID: <87frx2qu8z.fsf@ice9.digital> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1027"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 07 10:15:11 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ri9qI-000AcY-VJ for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Mar 2024 10:15:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ri9pQ-0000tx-8C; Thu, 07 Mar 2024 04:14:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri9pM-0000tG-BZ for emacs-devel@gnu.org; Thu, 07 Mar 2024 04:14:14 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri9pJ-0002H9-Of for emacs-devel@gnu.org; Thu, 07 Mar 2024 04:14:12 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id CCCEF20003 for ; Thu, 7 Mar 2024 09:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1709802846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=/HqEu3Hz0hpiwCNc8RuPi9hLj8AYQ+thHNBVAMc2TQ8=; b=L/+bI3WeX8/bD++5NizAr2BrSSreOkMZSrLUNoveXNBaPZYKWtKxu87w6D4hrwDmX2QzZB XdmZIL41l5trUaLJ4kIIwi2ufy4CP8J5kmvj6ZmrCjdPXIZYByKQXfdd0P6AO+w142TYTO xnIzbYvUykG671Yf2ktEWGX2KqNuGiVcdAc83AECoFAnGbs8u3fy4gLZINOaRK6kFU+8KE OIUhG0aw6dOmzdfy4uub98Tt9YaLA/u0OO1j4g2XDK8/9QHrtMhyhw+2/2w+fjogUyQCRF J0d1WMOJLK8+AfkVIYbwoJ5XpUomLTINqvGdBedh/RTyRLCWWiULnrr688gizQ== X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=217.70.183.200; envelope-from=morgan@ice9.digital; helo=relay7-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316877 Archived-At: I was trying to track down an issue with inconsistencies in completion matching between a custom capf function and the default TAGS capf function. It seems that if a buffer is configured for case-insensitive completion matching, by setting the buffer-local value of completion-ignore-case to t, this does not have any effect on TAGS completion. In order to get case-insensitive completion matching for TAGS, I had to also set the buffer local value of completion-ignore-case to t in the TAGS buffer. Is there a technical reason why TAGS completion cannot use the value of completion-ignore-case that is set in the buffer where completion is initiated, or is this a bug in the implementation? -- Morgan Willcock