From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41706: 26.1; sort-subr predicate cannot be set successfully Date: Fri, 05 Jun 2020 14:43:39 +0300 Message-ID: <83a71hbuvo.fsf@gnu.org> References: <20200604110922.GA9116@atlantis> <87pnafxc7e.fsf@web.de> <20200604190526.GA14104@atlantis> <83d06dc3po.fsf@gnu.org> <87h7vpg85k.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117088"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41706@debbugs.gnu.org, post+ebugs@guelker.eu To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 05 13:44:34 2020 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 1jhAm2-000UMX-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 13:44:34 +0200 Original-Received: from localhost ([::1]:52416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhAm1-00062o-BJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 07:44:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhAlZ-0005yr-Qg for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:44:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhAlW-00060Y-7S for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:44:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhAlW-00016d-68 for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41706 X-GNU-PR-Package: emacs Original-Received: via spool by 41706-submit@debbugs.gnu.org id=B41706.15913574394234 (code B ref 41706); Fri, 05 Jun 2020 11:44:02 +0000 Original-Received: (at 41706) by debbugs.gnu.org; 5 Jun 2020 11:43:59 +0000 Original-Received: from localhost ([127.0.0.1]:48440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAlS-00016E-UW for submit@debbugs.gnu.org; Fri, 05 Jun 2020 07:43:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAlR-00015x-Jx for 41706@debbugs.gnu.org; Fri, 05 Jun 2020 07:43:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60511) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhAlJ-0005xo-Pe; Fri, 05 Jun 2020 07:43:52 -0400 Original-Received: from [176.228.60.248] (port=2606 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhAlJ-0005rh-65; Fri, 05 Jun 2020 07:43:49 -0400 In-Reply-To: <87h7vpg85k.fsf@web.de> (message from Michael Heerdegen on Fri, 05 Jun 2020 11:43:19 +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" Xref: news.gmane.io gmane.emacs.bugs:181550 Archived-At: > From: Michael Heerdegen > Cc: Marvin Gülker , > 41706@debbugs.gnu.org > Date: Fri, 05 Jun 2020 11:43:19 +0200 > > Eli Zaretskii writes: > > > It is hard to be specific about the arguments to PREDICATE, because > > they depend on what the other arguments to sort-subr return. I > > augmented the manual to at least have the same information as the doc > > string; more detail is only possible if we discuss specific values of > > STARTKEYFUN and ENDKEYFUN. > > But this sentence is not correct: > > "It [i.e. STARTKEYFUN, added by me] may return either a non-nil value to > be used as the key, or else the key is the substring between the values > of point after STARTKEYFUN and ENDKEYFUN are called." I didn't change that part. > This is the sentence that misled the OP I think. Could we be more > precise and tell that the key is actually the cons cell (BEG . END) > denoting these strings? Patches welcome.