From unknown Sun Jun 15 10:55:16 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47294 <47294@debbugs.gnu.org> To: bug#47294 <47294@debbugs.gnu.org> Subject: Status: 27.1; completing-read: History handling and sorting Reply-To: bug#47294 <47294@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:55:16 +0000 retitle 47294 27.1; completing-read: History handling and sorting reassign 47294 emacs submitter 47294 Clemens severity 47294 normal tag 47294 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 21 10:29:58 2021 Received: (at submit) by debbugs.gnu.org; 21 Mar 2021 14:29:58 +0000 Received: from localhost ([127.0.0.1]:55218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNz5Z-0002gx-Np for submit@debbugs.gnu.org; Sun, 21 Mar 2021 10:29:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:45058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNz5Y-0002go-6Y for submit@debbugs.gnu.org; Sun, 21 Mar 2021 10:29:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNz5X-0005aA-VJ for bug-gnu-emacs@gnu.org; Sun, 21 Mar 2021 10:29:55 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNz5V-0006Op-Ex for bug-gnu-emacs@gnu.org; Sun, 21 Mar 2021 10:29:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id F2A42160060 for ; Sun, 21 Mar 2021 15:29:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616336990; bh=GzmOjm9WoYChEA8OGf8xknKVC2HRzScMqOwSpTWFL5Y=; h=To:Subject:From:Date:From; b=R/u8KHdSSdX3mp2jNwsQU8jZwNOEJRfeVyszJxOaZqTJriS1WoRZlZDJpnSTtR0Jb u75oqCTPW6sjn4+H/xJAz8qBlRmZIraYIz7p7ZPL37yRrtaquTikp+e4KfKcuhrJOn R47mui/2uaggEQk6Sg8odGXA0pzkK5QpNHNiSRFlSXNwEgR+WV56MzARcuxCsL6hvB koFCKSOiuXCMl8aVPTT5BqgVKmY+2khyNrLew/EunhLWcItKZbxyG6Rds1AtLD08Hg zihiTOhIAa+gp87waGq48W2LwwK0ZhzX+Vh2DzEUxzet8qo59QWuPY6+KtEtH+sfcz D2Cl3gOaib4pA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F3Kld3l1Jz6tmd for ; Sun, 21 Mar 2021 15:29:49 +0100 (CET) To: bug-gnu-emacs@gnu.org Subject: 27.1; completing-read: History handling and sorting From: Clemens Message-ID: <00acdb37-028d-10c2-7130-95ae03e3a662@posteo.net> Date: Sun, 21 Mar 2021 15:29:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=clemera@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) One can pass `t` to ignore history to `read-from-minibuffer`. I assumed this is also true for `completing-read` and discovered this would throw an error (for example when using icomplete `completion-all-sorted-completions` is called which doesn't handle the `t` value). Can we change things to allow this API also for `completing-read`? Another observation is that the implementation of `completion-all-sorted-completions` could be made faster by using a hash table as Daniel Mendler implemented it for Selectrum: ```elisp (let* ((list (and (not (eq minibuffer-history-variable t)) (symbol-value minibuffer-history-variable))) (hist (make-hash-table :test #'equal :size (length list)))) ;; Store the history position first in a hashtable in order to ;; keep the sorting fast and the complexity at O(n*log(n)). (seq-do-indexed (lambda (elem idx) (unless (gethash elem hist) (puthash elem idx hist))) list) (sort candidates (lambda (c1 c2) (let ((h1 (gethash c1 hist most-positive-fixnum)) (h2 (gethash c2 hist most-positive-fixnum)) (l1 (length c1)) (l2 (length c2))) (or (< h1 h2) (and (= h1 h2) (or (< l1 l2) (and (= l1 l2) (string< c1 c2))))))))) ``` From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 15:50:12 2021 Received: (at 47294) by debbugs.gnu.org; 22 Mar 2021 19:50:12 +0000 Received: from localhost ([127.0.0.1]:58736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQZ2-0007vc-A5 for submit@debbugs.gnu.org; Mon, 22 Mar 2021 15:50:12 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:38882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQZ0-0007vJ-Vi for 47294@debbugs.gnu.org; Mon, 22 Mar 2021 15:50:11 -0400 Received: by mail-wm1-f50.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso11775306wmi.3 for <47294@debbugs.gnu.org>; Mon, 22 Mar 2021 12:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DKy3H6cAb79YPR4cZgTin+M4oSgKcbhpX4EGIARasME=; b=rvxxB489u1aIZ9MfRly3PCnrgnA3YUJIfYntWIpapQCfVmD2l8edRo/pIWz93AWfZZ 2PH4ToMXHJ1rhyf/4I7eBfgvaCTrmY0dzvpvjSFymx0WINfo7cduiFicJ6O5KcjjgPOp +wuAPC5RWTohsMovsUZihxH5k4850LXvbKe2gcsA08QlHlgyRk9cW7wkoAAndw0Sd9++ 8E/LT03SDhRnrHFPYegqWhkGw4OtVPnm7heYDhzCm/Z+QryonfUcW1KRhCwJhku+XZQt sVlCjMQDSbBFhRPn/r443T9ZTkdyF7D+oYgp9azI1X0Dp3YnDZVAdHCqYszKdhjuBbAL s1Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DKy3H6cAb79YPR4cZgTin+M4oSgKcbhpX4EGIARasME=; b=dx7GG+mX4rAgbFTqet74b3GJI60fuLkYl1LpbqTlsixO8y8X3+Rwba0foa44ghDI7V yPtUfjSLoGOx+DVN5i1r5V7VPGdY+H6+0sWucZV5X792MNAQyTGIZktFgeVgulCMGDKe zIEEXxhzoV8lgVdPC5QJ3NohVkUiR+JupLiUuvC5rL04ryk9WQk0jbUtam7Q6bJujpT+ G5hRkjLn0nzKTSu79JjuKjDUErIFHY9sUiFcAQT9+Zl7+Mx6L9H5Cmj+Yy4XLb5YS52u mLdq6xTRHzi/n8H44kOXOe/4tZ7dmbi7MsFIM8phPP/Ws7+gmUFjZ++vTrXsOw2aMD6w bwmw== X-Gm-Message-State: AOAM530ylM/+NjoO/FEE7FvW5OGmBTuXINsEWgokJSoQUnXQl+RtNS0T aZOxdShdDuG6fhuR7qE4j72DbEpKUV8= X-Google-Smtp-Source: ABdhPJz0LaI4WYOgDuU76sdF6i/HjrCE16mqkc26S8gXx6rIMGSzy1Uf9KRH6F554kqhM/HBgjx75A== X-Received: by 2002:a7b:c34a:: with SMTP id l10mr120545wmj.46.1616442605002; Mon, 22 Mar 2021 12:50:05 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u8sm20800880wrr.42.2021.03.22.12.50.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Mar 2021 12:50:04 -0700 (PDT) Subject: Re: bug#47294: 27.1; completing-read: History handling and sorting To: Clemens , 47294@debbugs.gnu.org References: <00acdb37-028d-10c2-7130-95ae03e3a662@posteo.net> From: Dmitry Gutov Message-ID: Date: Mon, 22 Mar 2021 21:50:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <00acdb37-028d-10c2-7130-95ae03e3a662@posteo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 47294 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 21.03.2021 16:29, Clemens wrote: > Another observation is that the implementation of > `completion-all-sorted-completions` could be made faster by using a > hash table as Daniel Mendler implemented it for Selectrum: This sounds sensible, but some supporting numbers couldn't hurt. And a patch in the form of a diff against master. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 11:13:02 2022 Received: (at 47294) by debbugs.gnu.org; 25 Jun 2022 15:13:02 +0000 Received: from localhost ([127.0.0.1]:46025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o57T3-0007Xw-Oo for submit@debbugs.gnu.org; Sat, 25 Jun 2022 11:13:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o57Sy-0007Xa-RA for 47294@debbugs.gnu.org; Sat, 25 Jun 2022 11:13:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=cHaoohCBhisLoavUf2UvQrZT/cHvm7fkVeYHUUzyXZA=; b=OwM6/dH7ZLSh9H6hVFWzKYPKpr c7lhIZWj3hJ8UYmAyrAkLJ26BkuUhEMzXGO7HmxRLouk930GGZP8Ovy63tNNH5Fxt/0ybnl9WxzY1 K6S++Jj21QO65APgOqkkKdFjRxppWHwSor8dwuylG+XmSmFy7TYe2XkGoe7TRQcLpuwI=; Received: from 77.19.134.30.tmi.telenormobil.no ([77.19.134.30] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o57Sp-0007nG-Gm; Sat, 25 Jun 2022 17:12:50 +0200 From: Lars Ingebrigtsen To: Clemens Subject: Re: bug#47294: 27.1; completing-read: History handling and sorting References: <00acdb37-028d-10c2-7130-95ae03e3a662@posteo.net> Date: Sat, 25 Jun 2022 17:12:46 +0200 In-Reply-To: <00acdb37-028d-10c2-7130-95ae03e3a662@posteo.net> (Clemens's message of "Sun, 21 Mar 2021 15:29:49 +0100") Message-ID: <87tu88hj4h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Clemens writes: > One can pass `t` to ignore history to `read-from-minibuffer`. I > assumed this is also true for `completing-read` and discovered this > would throw an error (for example when using icomplete > `comp [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47294 Cc: 47294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Clemens writes: > One can pass `t` to ignore history to `read-from-minibuffer`. I > assumed this is also true for `completing-read` and discovered this > would throw an error (for example when using icomplete > `completion-all-sorted-completions` is called which doesn't handle the > `t` value). Can we change things to allow this API also for > `completing-read`? (I'm going through old bug reports that unfortunately weren't resolved at the time.) I'm unable to reproduce this in Emacs 27.1 and the current trunk. (completing-read "foo" nil nil nil nil t) doesn't throw an error for me. Do you have a complete recipe to reproduce the problem? > Another observation is that the implementation of > `completion-all-sorted-completions` could be made faster by using a > hash table as Daniel Mendler implemented it for Selectrum: > > ```elisp > (let* ((list (and (not (eq minibuffer-history-variable t)) > (symbol-value minibuffer-history-variable))) > (hist (make-hash-table :test #'equal > :size (length list)))) > ;; Store the history position first in a hashtable in order to > ;; keep the sorting fast and the complexity at O(n*log(n)). > (seq-do-indexed (lambda (elem idx) > (unless (gethash elem hist) > (puthash elem idx hist))) > list) > (sort candidates > (lambda (c1 c2) > (let ((h1 (gethash c1 hist most-positive-fixnum)) > (h2 (gethash c2 hist most-positive-fixnum)) > (l1 (length c1)) > (l2 (length c2))) > (or (< h1 h2) > (and (= h1 h2) > (or (< l1 l2) > (and (= l1 l2) (string< c1 c2))))))))) It's not immediately obvious to me what this code is supposed to replace. Do you have a patch for this instead? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 11:13:06 2022 Received: (at control) by debbugs.gnu.org; 25 Jun 2022 15:13:06 +0000 Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o57T8-0007YV-2I for submit@debbugs.gnu.org; Sat, 25 Jun 2022 11:13:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o57T4-0007Xk-Kv for control@debbugs.gnu.org; Sat, 25 Jun 2022 11:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B1cni+Zo0RWL8/JYgbhJXmW3sAczKIh5KmSER4EvCFM=; b=qvRGPEwcQ0cIih9FY2jkZjeXru p/ESBodn9pez5TxHaNWSJENqHO68ccZ+l/7cyzAZAokVYCs4kEkGG6J4FmOSNIp3y7AHsyRb33JDm 7jNCz+65t3p1a4GTv8uJ95SvWP0O79RXcdqmEhVfPHy9MFHqXYY2T6sOnrmjaZ1VZRLQ=; Received: from 77.19.134.30.tmi.telenormobil.no ([77.19.134.30] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o57Sw-0007nR-OH for control@debbugs.gnu.org; Sat, 25 Jun 2022 17:12:56 +0200 Date: Sat, 25 Jun 2022 17:12:54 +0200 Message-Id: <87sfnshj49.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47294 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 47294 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 47294 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 12:32:35 2022 Received: (at 47294) by debbugs.gnu.org; 25 Jun 2022 16:32:35 +0000 Received: from localhost ([127.0.0.1]:46089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o58i3-0005YW-CF for submit@debbugs.gnu.org; Sat, 25 Jun 2022 12:32:35 -0400 Received: from server.qxqx.de ([178.63.65.180]:46087 helo=mail.qxqx.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o58i0-0005YB-MA for 47294@debbugs.gnu.org; Sat, 25 Jun 2022 12:32:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:Subject:From:Cc:To :MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mXhlAgukMmC6k1MJAeG5m5MWlo/XA3xFxo3zUs3zXPg=; b=M4HwQGgoXJg5DVFgs+3lzYLcZS poJ5/ohYXYTI2cKMnBInR3+Xe1SfQdIuUrhI9RsuvavFcB3qluJrBE4GewTwquWjTMiL/q29RUJq9 mKJ+FWgpnaQvLLhVHInhVoc4xUHv6Z2YdeljXgzSqUgCx8M+bneeCUszKOYa8akQFuME=; Message-ID: <82366c98-23c4-9c18-48c2-962ec535433d@daniel-mendler.de> Date: Sat, 25 Jun 2022 18:32:23 +0200 MIME-Version: 1.0 To: 47294@debbugs.gnu.org Content-Language: en-US From: Daniel Mendler Subject: Re: bug#47294: 27.1; completing-read: History handling and sorting Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47294 Cc: Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) As far as I know, both issues have already been fixed in Emacs 28. completing-read accepts t now to disable the history. I contributed the patch for sorting by history using a hashtable (see minibuffer--sort-by-position). Daniel From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:40:55 2022 Received: (at 47294) by debbugs.gnu.org; 26 Jun 2022 12:40:55 +0000 Received: from localhost ([127.0.0.1]:46890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RZO-0006MJ-VY for submit@debbugs.gnu.org; Sun, 26 Jun 2022 08:40:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RZM-0006M1-E1 for 47294@debbugs.gnu.org; Sun, 26 Jun 2022 08:40:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=OFyHzo1ajAIYwd2QnKhfZdU1TVcTsr0vYi5X6NXwZ88=; b=FQ3HYBclNfw2Bh0QZIRNAmV8Db AETD7G6SkF7UiwOKdxwaHgH4UGwYEYllY21geUn19niem7qGQWqMwRF2Zv4vnPwEL1aEMe0TsOiwV OZhW1FTciepvOxtCCbLl2eBxZYC2LiBwuzo/ZtwFQgX213Wa1ymVttaTbUvmLnTTiTEI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5RZD-0001vl-4w; Sun, 26 Jun 2022 14:40:45 +0200 From: Lars Ingebrigtsen To: Daniel Mendler Subject: Re: bug#47294: 27.1; completing-read: History handling and sorting References: <82366c98-23c4-9c18-48c2-962ec535433d@daniel-mendler.de> Date: Sun, 26 Jun 2022 14:40:41 +0200 In-Reply-To: <82366c98-23c4-9c18-48c2-962ec535433d@daniel-mendler.de> (Daniel Mendler's message of "Sat, 25 Jun 2022 18:32:23 +0200") Message-ID: <875yknha2e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Mendler writes: > As far as I know, both issues have already been fixed in Emacs 28. > completing-read accepts t now to disable the history. I contributed the > patch for sorting by history using a hashtable (see > m [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47294 Cc: 47294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Daniel Mendler writes: > As far as I know, both issues have already been fixed in Emacs 28. > completing-read accepts t now to disable the history. I contributed the > patch for sorting by history using a hashtable (see > minibuffer--sort-by-position). Ah, thanks. I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:41:01 2022 Received: (at control) by debbugs.gnu.org; 26 Jun 2022 12:41:01 +0000 Received: from localhost ([127.0.0.1]:46893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RZV-0006Md-8K for submit@debbugs.gnu.org; Sun, 26 Jun 2022 08:41:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RZT-0006MI-U1 for control@debbugs.gnu.org; Sun, 26 Jun 2022 08:41:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dmxrlj47OlrDcO7k6CilGiNG4AafMiPeqjTNNrTx/Ig=; b=dTUYOSohMWl6r1f7sGgAqiO5J7 2R1ll8ouP52i7wotVsiKnfvbEdAt0S9sd0LuQOkCuFBXoG76Iy3Fr9pO/++oKHy+PwNcb6FdTAbZ2 l33+NL1cCDFMh6FElXbo43EVTJj7+vfyMfx/QhFhITnqVUwA0KAR+yLjn25irt06uOKI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5RZM-0001vs-1y for control@debbugs.gnu.org; Sun, 26 Jun 2022 14:40:54 +0200 Date: Sun, 26 Jun 2022 14:40:51 +0200 Message-Id: <874k07ha24.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47294 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 47294 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 47294 quit From unknown Sun Jun 15 10:55:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 25 Jul 2022 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator