From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Jens Schmidt <jschmidt4gnu@vodafonemail.de>
Cc: Eli Zaretskii <eliz@gnu.org>,
64089@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#64089: 30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t
Date: Mon, 19 Jun 2023 23:35:08 +0300 [thread overview]
Message-ID: <m2v8fj8a2r.fsf@fastmail.fm> (raw)
In-Reply-To: <43af5169-e9f5-e720-ffd5-e30f5c52da81@vodafonemail.de> (Jens Schmidt's message of "Mon, 19 Jun 2023 22:15:02 +0200")
Hi Jens,
On 19/06/2023 22:15 +0200, Jens Schmidt wrote:
> On 2023-06-19 21:27, Filipp Gunbin wrote:
>
>> 3) Including dn as attribute, with name, is redundand - the client
>> requesting withdn=t already knows the name "dn".
>
> Not true if your query returns more than one record.
I mean not the dn value (distinct for each record), but the string "dn"
itself. The client already knows that "dn" attribute (that is, a kind
of id) will be prepended to a record, so naming it explicitly, and
including into the attributes list, is not that useful (and least it's
not what the original code meant).
>> Honestly, I don't get why we need to evaluate this breakage separately,
>> while the others are not allowed, at least without good reason...
>
> I don't think we should piggy-back too many problems on one report ...
I don't understand what you mean here..
>> Btw, the patch on emacs-29 also doesn't work (at least for me) because
>> in the end of the output, there's an additional line "Process ldapsearch
>> finished", which gets parsed as dn (as start of new ldap record).
>
> ... in particular this is a completely new one and does not have to do
> anything with my issue. On what platform are you testing?
I'm on macOS, OpenLDAP 2.6.4_1 from macports. However, this string is
appended by Emacs itself.
> To summarize: My latest patch for emacs-29 on a different branch of
> this thread fixes my issue while keeping results for the working cases
> unchanged - that is what you have been asking for, no?
I still stand by opinion that we should not touch emacs-29 here, due to
reasons I described in other messages.
Thanks.
next prev parent reply other threads:[~2023-06-19 20:35 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 21:28 bug#64089: 30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <handler.64089.B.168686453832024.ack@debbugs.gnu.org>
2023-06-15 22:11 ` bug#64089: Acknowledgement (30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t) Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-16 6:01 ` bug#64089: 30.0.50; " Eli Zaretskii
2023-06-16 15:12 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-16 18:37 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-17 8:40 ` Eli Zaretskii
2023-06-16 22:13 ` bug#64089: 30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t Filipp Gunbin
2023-06-17 6:03 ` Eli Zaretskii
2023-06-17 8:41 ` Eli Zaretskii
2023-06-17 9:07 ` Eli Zaretskii
2023-06-17 23:14 ` Filipp Gunbin
2023-06-18 5:22 ` Eli Zaretskii
2023-06-19 14:27 ` Filipp Gunbin
2023-06-19 17:24 ` Eli Zaretskii
2023-06-19 18:38 ` Filipp Gunbin
2023-06-19 19:09 ` Eli Zaretskii
2023-06-19 19:27 ` Filipp Gunbin
2023-06-19 20:15 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-19 20:35 ` Filipp Gunbin [this message]
2023-06-19 21:37 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-20 14:23 ` Filipp Gunbin
2023-06-20 20:42 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-20 11:01 ` Eli Zaretskii
2023-06-20 17:52 ` Filipp Gunbin
2023-06-18 7:43 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-18 8:51 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-18 8:56 ` Eli Zaretskii
2023-06-18 11:04 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-18 22:14 ` bug#64160: " Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-19 14:11 ` Filipp Gunbin
2023-06-19 15:13 ` bug#64160: master; Implement various enhancements in ldap.el and EUDC Filipp Gunbin
2023-06-19 21:16 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-20 14:11 ` Filipp Gunbin
2023-06-20 22:23 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2v8fj8a2r.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=64089@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jschmidt4gnu@vodafonemail.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.