From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#62721: 30.0.50; EUDC: stop adding a wildcard to LDAP searches Date: Mon, 15 May 2023 14:28:39 -0400 Message-ID: References: <874jpqalh7.fsf@fedora.home> <878rdqg24j.fsf@fedora.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62721@debbugs.gnu.org, fgunbin@fastmail.fm To: Fabrice Bauzac-Stehly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 15 20:29:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pycwg-00044O-Ve for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 May 2023 20:29:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pycwS-0005bq-Re; Mon, 15 May 2023 14:29:04 -0400 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 1pycwQ-0005be-Fx for bug-gnu-emacs@gnu.org; Mon, 15 May 2023 14:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pycwP-0002Io-O3 for bug-gnu-emacs@gnu.org; Mon, 15 May 2023 14:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pycwP-0002Dv-KU for bug-gnu-emacs@gnu.org; Mon, 15 May 2023 14:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 May 2023 18:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62721 X-GNU-PR-Package: emacs Original-Received: via spool by 62721-submit@debbugs.gnu.org id=B62721.16841753298526 (code B ref 62721); Mon, 15 May 2023 18:29:01 +0000 Original-Received: (at 62721) by debbugs.gnu.org; 15 May 2023 18:28:49 +0000 Original-Received: from localhost ([127.0.0.1]:44380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pycwC-0002DS-Ui for submit@debbugs.gnu.org; Mon, 15 May 2023 14:28:49 -0400 Original-Received: from mail.fitzsim.org ([69.165.165.189]:44752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pycwA-0002DF-UM for 62721@debbugs.gnu.org; Mon, 15 May 2023 14:28:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NYnrTKh1jLg0edn5dN9yoVPiTyxoOPuExRGT9SZQjXc=; b=RyUrQ8svHmUgFRQ8eAPmw8qywz nVsMfcAB0bl+M9m16RfLX3gvLiKNdqfKxQibDD+9W7lh2Coq+LUlLF1/0QPSmhqT/XLHRoR/AMuFF 63wXWFTFEf3An8O3STF6NE2AhbpPc+qHG632dhKculIJK/dcRrLWzpKPFHwoEoKs5NAzhpbCEYl3v +e7aQYn3xx16Kejz9Boe1wt05pCP305W6K4mBzGd6huVvFTasIU6PS2NDmfWW3mbb640JcXd7ttbA 26VsttPWptpnlJKmL6hW5+A71bSxEDi/LY70L9ybxjQvAv8D9V5tzg/nklGAAq4aiJYqPOI7ZehBs d4RcyOig==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pycw4-000DCi-L6; Mon, 15 May 2023 14:28:40 -0400 In-Reply-To: <878rdqg24j.fsf@fedora.home> (Fabrice Bauzac-Stehly's message of "Sun, 14 May 2023 21:10:52 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261758 Archived-At: Hi Fabrice, Fabrice Bauzac-Stehly writes: > For the time being, on my side, I customize "Eudc Ldap No Wildcard > Attributes" by adding to this list the attribute for which I don't want > an automatic "*" wildcard appended. Do you mind posting the `eudc-ldap-no-wildcard-attributes' setting you ended up with? The docstring for that variable doesn't mention adjusting this as a preference, only LDAP failure workarounds. I would like to update the docstring with an example, to make your use case more discoverable. > As a software engineer, I suspect this issue could be better addressed > by the Emacs codebase, because I don't think it is wise for > eudc-query-form to arbitrarily add an automatic wildcard to the last > field, this does not make sense to me. But I'll let Emacs experts think > about it. > > As far as I'm concerned, I have this workaround that works for me. OK, thanks for following up. My feeling is that someone using both `eudc-query-form' and `eudc-expand-inline' would want the behaviour of both functions to match with respect to wildcard addition. And `eudc-ldap-no-wildcard-attributes' allows the user to customize the behaviour to their preference/expectation (which you've done), so I think this is fine as-is (except the docstring). Thomas