From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: TAGS completion with (setq-local completion-ignore-case t) Date: Sat, 09 Mar 2024 17:56:07 +0200 Message-ID: <86zfv7wga0.fsf@gnu.org> References: <87frx2qu8z.fsf@ice9.digital> <868r2u2x4u.fsf@gnu.org> <87bk7qqsdk.fsf@ice9.digital> <865xxy2u6y.fsf@gnu.org> <877cieqnm0.fsf@ice9.digital> <8634szzvtv.fsf@gnu.org> <87il1vk08z.fsf@ice9.digital> <868r2ry1l2.fsf@gnu.org> <87a5n7jy8g.fsf@ice9.digital> <865xxvxyzo.fsf@gnu.org> <864jdfxyj3.fsf@gnu.org> <871q8jjvv8.fsf@ice9.digital> <861q8jxv5m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: morgan@ice9.digital, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 09 16:56:53 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 1riz49-0006CK-KK for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Mar 2024 16:56:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riz3U-0006aB-GM; Sat, 09 Mar 2024 10:56:12 -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 1riz3S-0006Zy-Mx for emacs-devel@gnu.org; Sat, 09 Mar 2024 10:56:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riz3R-00048o-A2; Sat, 09 Mar 2024 10:56:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bFL2HXMGuq54/w83zrNrf4g2OhW2UJtC8d2h9AiGIgw=; b=rJaE48c+gon4 WPhfKeSD3Q15NTWas50BS3+UMAjCjzjSazpWvVaBD5qS5pclKg/BllBfsEK6XWe54DtAEqDZxLb0f JyhlpoTOpGJESiL101cUkVHSKRixX1FV8NFVZ2xm493uzOBLdtI9h/RD+plXSsevrxbkS9/CLCQKd ULMJayVvSFVoowU0BhC5uDjhRR5X3bZI4IZWP+p7bH33ej/HylkhB22GOO08B+jx7GkqfUhdqAAfM 94ABEgdEKtYJi8ac/uI+YQ4AomHtaVj2F6f0bcY782Q44PRcIX17wcCL94ipCxGryGVn0y7GE/fNh MeAJ+SyqfP+k3knpAYsMZg==; In-Reply-To: <861q8jxv5m.fsf@gnu.org> (message from Eli Zaretskii on Sat, 09 Mar 2024 17:49:25 +0200) 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:316956 Archived-At: > Date: Sat, 09 Mar 2024 17:49:25 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > Is there a supported way to have user configurable case-insensitive > > completion that is configured per major mode? > > use the user options specific for each type of completion, I'd say. > For TAGS that's tags-case-fold-search; for file names that's > read-file-name-completion-ignore-case; for buffers its > read-buffer-completion-ignore-case. And there may be others. Btw, I'd expect major-mode specific completion-at-point-functions to DTRT wrt case-sensitivity by default, as appropriate for each major mode. tags-completion-at-point-function is mode-agnostic, which is why it has its own knob to control that.