From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Feb 2024 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69312@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170862718431014 (code B ref -1); Thu, 22 Feb 2024 18:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2024 18:39:44 +0000 Received: from localhost ([127.0.0.1]:48953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdDyx-000847-SS for submit@debbugs.gnu.org; Thu, 22 Feb 2024 13:39:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:46508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdDyv-00083t-Po for submit@debbugs.gnu.org; Thu, 22 Feb 2024 13:39:42 -0500 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 1rdDyW-0004zs-L2 for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 13:39:16 -0500 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdDyU-0008Cj-LP for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 13:39:16 -0500 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-787a43e2e2dso769585a.0 for ; Thu, 22 Feb 2024 10:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708627130; x=1709231930; darn=gnu.org; h=mime-version:message-id:date:user-agent:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=KCWhXHgcJQOJr8tfY1hf+wq9zenwFbnyHM+OL+Wwo98=; b=THPWUKdZRCwh9jg9dZn1rsVbm7ky2Ux+NF46WTW1NqHdBxQkCVaXFfUp0qjw/J/2iC wMFiBO6lvTLgGrjduK6uiRGWUpSIHS/gmwsr4NjbWD/vLXeaxMQrYa+6V6wYbBg1y1m+ h2oiSpZKsOTNJwTCpm3jZ4U0HSkSJRoU54TRfMul/5dwLXziNLM8nrVwHKP0lf1ZnTTu vRWCGo/ykNHplvqaR51m09STsJCEeH2MCveHfpIkXLF7G/o4S+YWCr/KG3s7n0vJuSV1 7ZWIeoE9ijwE8edfFKZ5fTrL2X8CV6zjv2PqK4mECV02trbcygXFkShL2KCWsUbRdY6I gHBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708627130; x=1709231930; h=mime-version:message-id:date:user-agent:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KCWhXHgcJQOJr8tfY1hf+wq9zenwFbnyHM+OL+Wwo98=; b=CqHlTIT9b1M636yZm7bPsOZr8QXjjsYECosTnpzQxU0iJgt+nqQ98RANJvXLS4kGb0 yBP0G3A5ksSnpiuG2v5AkPbc2/bolFjnD6u/Sefjnh5Zp4F/bCQhPYYKPk7iPO3ehmC9 k1v0WxRhZbRztW7z7iqliFcNZGJDArZnvjHMtGG7+WBjQ8H1lDwIeDKSf7V3vJEkXv1n qTkQl34znVmwL4//544EMwm/81SN5BiZ+XvRdnkZAjoWcU7E36zJuczq971pymJmbRHU Zc2MHuuC8AnpoZ5jh9wQc7ZE3tPRgLw/cNSgqC2ZrhDSGBqfPapNQI0Sk9TQmyTWwZJz N/8w== X-Gm-Message-State: AOJu0Ywcc6fuH2Z6Tp3uTUa1MlQHT/LCihM2vao3MIAqS1vbWGoWes7d A+OriGZmbVmY87Nf9xtq/5lVRAtMdZJWn8XZDvftkUP/yZxmcTsLdgFel6kh X-Google-Smtp-Source: AGHT+IG1iiaph1DdRBO/m/HhRV4YZskLVm/xukHJB3Wa48xxrtRvTsChNVXAS1eh12xIvzEwO09LEQ== X-Received: by 2002:a0c:e0c9:0:b0:68f:390c:270c with SMTP id x9-20020a0ce0c9000000b0068f390c270cmr15083392qvk.25.1708627130377; Thu, 22 Feb 2024 10:38:50 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id me15-20020a0562145d0f00b0068f9fd1d688sm2593513qvb.21.2024.02.22.10.38.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:38:46 -0800 (PST) From: No Wayman User-Agent: mu4e 1.11.27; emacs 30.0.50 Date: Thu, 22 Feb 2024 13:39:30 -0500 Message-ID: <87v86gbaxp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x733.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -3.5 (---) 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: -4.5 (----) Currently when searching with dictionary.el, the query is messaged. e.g. in dictionary-do-search: ```emacs-lisp (message "Searching for %s in %s" word dictionary) ``` It would be better to display this information in the resultant buffer somehow (inline, via the header-line, etc). Especially for the case of `dictionary-match-words`, which matches against a PATTERN argument. I'd like to not have to remember what my query was if I come back to that buffer at a later time. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2024 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17086724202094 (code B ref 69312); Fri, 23 Feb 2024 07:14:02 +0000 Received: (at 69312) by debbugs.gnu.org; 23 Feb 2024 07:13:40 +0000 Received: from localhost ([127.0.0.1]:44887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdPka-0000Xi-C0 for submit@debbugs.gnu.org; Fri, 23 Feb 2024 02:13:40 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdPkX-0000XG-PL for 69312@debbugs.gnu.org; Fri, 23 Feb 2024 02:13:38 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 47F8B40002; Fri, 23 Feb 2024 07:13:06 +0000 (UTC) From: Juri Linkov In-Reply-To: <87v86gbaxp.fsf@gmail.com> (No Wayman's message of "Thu, 22 Feb 2024 13:39:30 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> Date: Fri, 23 Feb 2024 09:12:42 +0200 Message-ID: <86zfvrwxgh.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) > Currently when searching with dictionary.el, the query is > messaged. > e.g. in dictionary-do-search: > > ```emacs-lisp > (message "Searching for %s in %s" word dictionary) > ``` > > It would be better to display this information in the resultant > buffer somehow (inline, via the header-line, etc). > Especially for the case of `dictionary-match-words`, which matches > against a PATTERN argument. > I'd like to not have to remember what my query was if I come back > to that buffer at a later time. Like this? diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 1981b757017..ccce0b541df 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -787,7 +787,7 @@ dictionary-do-search Optional argument NOMATCHING controls whether to suppress the display of matching words." - (message "Searching for %s in %s" word dictionary) + (insert (format "Searching for %s in %s\n" word dictionary)) (dictionary-send-command (concat "define " (dictionary-encode-charset dictionary "") " \"" From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2024 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17087028196038 (code B ref 69312); Fri, 23 Feb 2024 15:41:02 +0000 Received: (at 69312) by debbugs.gnu.org; 23 Feb 2024 15:40:19 +0000 Received: from localhost ([127.0.0.1]:48631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXer-0001ZH-Fn for submit@debbugs.gnu.org; Fri, 23 Feb 2024 10:40:19 -0500 Received: from mail-yw1-f173.google.com ([209.85.128.173]:58629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXVB-000185-AV for 69312@debbugs.gnu.org; Fri, 23 Feb 2024 10:30:19 -0500 Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-608ccac1899so1258617b3.1 for <69312@debbugs.gnu.org>; Fri, 23 Feb 2024 07:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708702127; x=1709306927; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kuNiUjCXRstWp9p0PlbPJgTeZRNwk34YPE9iAhg883A=; b=MO59At5iRInszYyULI9t3ZlBKeW4u17Q4po6i8Jl5IUg45qpiybrR7B/wulE9VmX+C pQy1q7NM6uxxXuP4LZ+nksfODR+ZuHDYgUPrWBOGHwg6BcgICmJeeMnMcBji5oCnJ3e1 mi+LQdk7oJo/6OdrUDcHJC9bIadFW/YbBKny1XPNclzYX3HWwKee6ujYXN9GLYQskgA6 0R45a9g8DXAiGecQaf+q3Anlk5sjHqLQXhIgMoaq1B1Dl5v4tokGf/nALKiB0D0nL9Ss i0TPrVTdO+GYtR/hdwtcc5rIKM9FvTfWKxE3TiT+LBNwXdSolY7dnL5xpyZ0b2UIGwHy QNgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708702127; x=1709306927; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kuNiUjCXRstWp9p0PlbPJgTeZRNwk34YPE9iAhg883A=; b=ez7N08MvLEace6+yhibIkuKQ9QeNDXLDbkfKv9eeBhydnaFcDkFIjXXZc1S+A71xjr zr3p0LHJjQDU0iZpIrOd1r1cpWZ5lAKbBiTNuzflTHh7V1T6bzbEXTnYQ9MHbMUzccrO KTNbyWTSZ13SEe2iz5Kxo7ZrPRoiXpAqAovGrDRFhXggOfR4wvCVE/+Yz+0QGmyfFCMi 5JKvZtWdfb9vY20Dak7E92Tx3MGc7cTR+ddS19/nm9Y5987fEU+PaiPq4BocJdUZ1jPE CSdZxLgtI4NQCJeWlv8hgVX5fDFvup3OP56xKAgJRRxYT0nGE8aAhUVPfuFz221Q5gJa kR+g== X-Gm-Message-State: AOJu0Yzl7i+9tVWfkXSS7vVUOiUvtw0ec7vfU9gKHuBD4x6yRVXpYYYu meytcWyXgNpft2BmPS6W7tDI8Q6qDGTyBnE32vdl8V6A49I/afMrsjrUgURs X-Google-Smtp-Source: AGHT+IHp3WMqDHHUpJ2hcHOTQtGO3Hayc7k9Tki5VEphEg5a5XIBAgN0eKsAUWwaXMQ9iIWlREfSQA== X-Received: by 2002:a81:6f57:0:b0:5ff:a52b:55ac with SMTP id k84-20020a816f57000000b005ffa52b55acmr146082ywc.34.1708702127001; Fri, 23 Feb 2024 07:28:47 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id ku23-20020a05622a0a9700b0042e69db4c1fsm268274qtb.39.2024.02.23.07.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:28:46 -0800 (PST) From: No Wayman In-Reply-To: <86zfvrwxgh.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 23 Feb 2024 09:12:42 +0200") References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> User-Agent: mu4e 1.11.27; emacs 30.0.50 Date: Fri, 23 Feb 2024 10:29:34 -0500 Message-ID: <87frxjkxlt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.0 (/) 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: -1.0 (-) Juri Linkov writes: > > Like this? > > diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el > index 1981b757017..ccce0b541df 100644 > --- a/lisp/net/dictionary.el > +++ b/lisp/net/dictionary.el > @@ -787,7 +787,7 @@ dictionary-do-search > Optional argument NOMATCHING controls whether to suppress the > display > of matching words." > > - (message "Searching for %s in %s" word dictionary) > + (insert (format "Searching for %s in %s\n" word dictionary)) > (dictionary-send-command (concat "define " > (dictionary-encode-charset dictionary "") > " \"" Thanks, Juri. This takes care of dictionary-do-search, but dictionary-do-matching indirectly calls the function responsible for displaying the results and does not pass the query along. So a similar modification will not work there. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Feb 2024 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170879822014405 (code B ref 69312); Sat, 24 Feb 2024 18:11:02 +0000 Received: (at 69312) by debbugs.gnu.org; 24 Feb 2024 18:10:20 +0000 Received: from localhost ([127.0.0.1]:46074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdwTb-0003kE-6C for submit@debbugs.gnu.org; Sat, 24 Feb 2024 13:10:20 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdwGF-000334-Kz for 69312@debbugs.gnu.org; Sat, 24 Feb 2024 12:56:34 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8B6F520003; Sat, 24 Feb 2024 17:55:24 +0000 (UTC) From: Juri Linkov In-Reply-To: <87frxjkxlt.fsf@gmail.com> (No Wayman's message of "Fri, 23 Feb 2024 10:29:34 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> Date: Sat, 24 Feb 2024 19:39:02 +0200 Message-ID: <86cyslep8p.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) >> diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el >> index 1981b757017..ccce0b541df 100644 >> --- a/lisp/net/dictionary.el >> +++ b/lisp/net/dictionary.el >> @@ -787,7 +787,7 @@ dictionary-do-search >> Optional argument NOMATCHING controls whether to suppress the display >> of matching words." >> - (message "Searching for %s in %s" word dictionary) >> + (insert (format "Searching for %s in %s\n" word dictionary)) >> (dictionary-send-command (concat "define " >> (dictionary-encode-charset dictionary "") >> " \"" > > Thanks, Juri. This takes care of dictionary-do-search, but > dictionary-do-matching indirectly calls the function responsible for > displaying the results and does not pass the query along. So a similar > modification will not work there. Sorry, I didn't notice there is another place: diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 1981b757017..e2fc2d823fd 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -787,7 +787,7 @@ dictionary-do-search Optional argument NOMATCHING controls whether to suppress the display of matching words." - (message "Searching for %s in %s" word dictionary) + (insert (format-message "Searching for %s in %s\n" word dictionary)) (dictionary-send-command (concat "define " (dictionary-encode-charset dictionary "") " \"" @@ -799,7 +799,7 @@ dictionary-do-search (if (dictionary-check-reply reply 552) (progn (unless nomatching - (insert "Word not found") + (insert (format-message "Word not found: %s\n" word)) (dictionary-do-matching word dictionary @@ -1128,8 +1128,8 @@ dictionary-new-matching (defun dictionary-do-matching (word dictionary strategy function) "Search for WORD with STRATEGY in DICTIONARY and display them with FUNCTION." - (message "Lookup matching words for %s in %s using %s" - word dictionary strategy) + (insert (format-message "Lookup matching words for %s in %s using %s\n" + word dictionary strategy)) (dictionary-send-command (concat "match " (dictionary-encode-charset dictionary "") " " (dictionary-encode-charset strategy "") " \"" From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2024 04:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170883443416159 (code B ref 69312); Sun, 25 Feb 2024 04:14:02 +0000 Received: (at 69312) by debbugs.gnu.org; 25 Feb 2024 04:13:54 +0000 Received: from localhost ([127.0.0.1]:35459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re5th-0004CX-OC for submit@debbugs.gnu.org; Sat, 24 Feb 2024 23:13:54 -0500 Received: from mail-yb1-f181.google.com ([209.85.219.181]:49648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re5tg-0004CA-4D for 69312@debbugs.gnu.org; Sat, 24 Feb 2024 23:13:52 -0500 Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dcbcea9c261so2150891276.3 for <69312@debbugs.gnu.org>; Sat, 24 Feb 2024 20:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708834341; x=1709439141; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=9hXaCuQFB0tYCC08tJEaR+S6MZtSvJOtUPzg/ggEKyQ=; b=LqY/yQh5jDmUINJ4NJTKxkaOTuJn1yxeVuai4M1Idv+61FGMPCcBsyDHWGCGWteXdK yg8WEaYtwulDZnVB5+PZ1lXJTPi2TI1iVKKzY3ZbzNhSOVCVdOo7YcpsdJ4Ppl6fXoul UYhgVD40aaVMHK8XgbObW5xnfWh+4e7XcLWRHaVUEgYRry+fP7OH3L2KuOrrGumeBBIl eumki28Lgw8T7hKPctaBBtCLzMj5VGq2DjYrY2qLCt6a9Y6EGVlibD743iYy4FsEZyjX 2NJK/VgdChSoTn+mJy/r/OgnlPa9iVGY6Yl+neroLSRtqlzm4lFqkLhn4BmjvnkZKwhn PlRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708834341; x=1709439141; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9hXaCuQFB0tYCC08tJEaR+S6MZtSvJOtUPzg/ggEKyQ=; b=c4aeKd7PW/a4J1G12ciquIqPMftamLTpxUwpMdjoBUQGnuFpOwk46lVaNXZdh7nF1C Tgji1D2AXqHAG/R65hbeUGCXXz84GAEc3EC7J44+hWqI+w+RmywA4HLKblmbRsCUrLOU nZCZGi/uBiRZbUH348eULQKTx5InyCC/xHjL70VOy4QwxemTa+NJKMzqbLSv/aK8fFIY mkbIeXmN2g67qHJyWWUoNSGnOCeEcHpYXdrZ/Wb+WTHU38MNoxxq0num+bICulzjEYrk B+DrKlrYF5meLgpFUdoWLm2JQ9jykbdb+WFPRBeYMgGlJRiJpVVT02jFDVyBwHFNWlFI 46tQ== X-Gm-Message-State: AOJu0YyPSr1qez9Xg23VUPMCu8nKpUwazjhMvdXOTKkRWbROenG46T1r bF9m2SwlS0Rs28Vxh0AxlkJUBSwjJksATeE5ZG/vLasI1QamwlQvHtRAyB2z X-Google-Smtp-Source: AGHT+IHzHjsZZuMYIIcy9Qcmb3PdbecIU20O95WhqUgZ8c+Mh1v6Qm2SltPoJmHExb0hht2NbPeCEQ== X-Received: by 2002:a0c:e3c1:0:b0:68f:2d61:e72c with SMTP id e1-20020a0ce3c1000000b0068f2d61e72cmr3883130qvl.28.1708833926277; Sat, 24 Feb 2024 20:05:26 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id y3-20020a056214016300b0068f48266e32sm1363354qvs.40.2024.02.24.20.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 20:05:25 -0800 (PST) From: No Wayman In-Reply-To: <86cyslep8p.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 24 Feb 2024 19:39:02 +0200") References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> User-Agent: mu4e 1.11.27; emacs 30.0.50 Date: Sat, 24 Feb 2024 23:06:10 -0500 Message-ID: <8734thfarx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.0 (/) 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: -1.0 (-) Juri Linkov writes: > Sorry, I didn't notice there is another place: > @@ -787,7 +787,7 @@ dictionary-do-search Thanks again. The changes to dictionary-do-search look fine. > @@ -1128,8 +1128,8 @@ dictionary-new-matching > > (defun dictionary-do-matching (word dictionary strategy > function) > "Search for WORD with STRATEGY in DICTIONARY and display them > with FUNCTION." > - (message "Lookup matching words for %s in %s using %s" > - word dictionary strategy) > + (insert (format-message "Lookup matching words for %s in %s > using %s\n" > + word dictionary strategy)) > (dictionary-send-command > (concat "match " (dictionary-encode-charset dictionary "") " > " > (dictionary-encode-charset strategy "") " \"" This won't work. The buffer is in read-only mode, but even if that is inhibited, the string is overwritten by the call to the display function at the end: > (funcall function reply) From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2024 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170884649823989 (code B ref 69312); Sun, 25 Feb 2024 07:35:02 +0000 Received: (at 69312) by debbugs.gnu.org; 25 Feb 2024 07:34:58 +0000 Received: from localhost ([127.0.0.1]:50032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re92H-0006Em-Ca for submit@debbugs.gnu.org; Sun, 25 Feb 2024 02:34:58 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:37801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re92F-0006EG-AW for 69312@debbugs.gnu.org; Sun, 25 Feb 2024 02:34:56 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 61C46C0004; Sun, 25 Feb 2024 07:34:20 +0000 (UTC) From: Juri Linkov In-Reply-To: <8734thfarx.fsf@gmail.com> (No Wayman's message of "Sat, 24 Feb 2024 23:06:10 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> Date: Sun, 25 Feb 2024 09:19:03 +0200 Message-ID: <86o7c513ep.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-=-= Content-Type: text/plain >> @@ -1128,8 +1128,8 @@ dictionary-new-matching >> (defun dictionary-do-matching (word dictionary strategy function) >> "Search for WORD with STRATEGY in DICTIONARY and display them with >> FUNCTION." >> - (message "Lookup matching words for %s in %s using %s" >> - word dictionary strategy) >> + (insert (format-message "Lookup matching words for %s in %s using >> %s\n" >> + word dictionary strategy)) >> (dictionary-send-command >> (concat "match " (dictionary-encode-charset dictionary "") " " >> (dictionary-encode-charset strategy "") " \"" > > This won't work. The buffer is in read-only mode, but even if that is > inhibited, the string is overwritten by the call to the display function at > the end: > >> (funcall function reply) This means that we need more reformatting of error messages: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=dictionary-messages.patch diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 1981b757017..e8ac9b679a0 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -787,7 +787,7 @@ dictionary-do-search Optional argument NOMATCHING controls whether to suppress the display of matching words." - (message "Searching for %s in %s" word dictionary) + (insert (format-message "Searching for `%s' in `%s'\n" word dictionary)) (dictionary-send-command (concat "define " (dictionary-encode-charset dictionary "") " \"" @@ -799,13 +799,13 @@ dictionary-do-search (if (dictionary-check-reply reply 552) (progn (unless nomatching - (insert "Word not found") + (insert (format-message "Word `%s' not found\n" word)) (dictionary-do-matching word dictionary "." (lambda (reply) - (insert ", maybe you are looking for one of these words\n\n") + (insert "Maybe you are looking for one of these words\n") (dictionary-display-only-match-result reply))) (dictionary-post-buffer))) (if (dictionary-check-reply reply 550) @@ -1128,8 +1128,8 @@ dictionary-new-matching (defun dictionary-do-matching (word dictionary strategy function) "Search for WORD with STRATEGY in DICTIONARY and display them with FUNCTION." - (message "Lookup matching words for %s in %s using %s" - word dictionary strategy) + (insert (format-message "Lookup matching words for `%s' in `%s' using `%s'\n" + word dictionary strategy)) (dictionary-send-command (concat "match " (dictionary-encode-charset dictionary "") " " (dictionary-encode-charset strategy "") " \"" @@ -1141,10 +1141,13 @@ dictionary-do-matching (if (dictionary-check-reply reply 551) (error "Strategy \"%s\" is invalid" strategy)) (if (dictionary-check-reply reply 552) - (error (concat - "No match for \"%s\" with strategy \"%s\" in " - "dictionary \"%s\".") - word strategy dictionary)) + (let ((errmsg (format-message + (concat + "No match for `%s' with strategy `%s' in " + "dictionary `%s'.") + word strategy dictionary))) + (insert errmsg "\n") + (user-error errmsg))) (unless (dictionary-check-reply reply 152) (error "Unknown server answer: %s" (dictionary-reply reply))) (funcall function reply))) @@ -1271,7 +1274,7 @@ dictionary-lookup-definition (interactive) (let ((word (current-word))) (unless word - (error "No word at point")) + (user-error "No word at point")) (dictionary-new-search (cons word dictionary-default-dictionary)))) (defun dictionary-previous () @@ -1311,7 +1314,8 @@ dictionary-mouse-popup-matching-words (defun dictionary-popup-matching-words (&optional word) "Display entries matching WORD or the current word if not given." (interactive) - (dictionary-do-matching (or word (current-word) (error "Nothing to search for")) + (dictionary-do-matching (or word (current-word) + (user-error "Nothing to search for")) dictionary-default-dictionary dictionary-default-popup-strategy 'dictionary-process-popup-replies)) --=-=-=-- From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Mar 2024 17:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17094008038173 (code B ref 69312); Sat, 02 Mar 2024 17:34:01 +0000 Received: (at 69312) by debbugs.gnu.org; 2 Mar 2024 17:33:23 +0000 Received: from localhost ([127.0.0.1]:39321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgTEh-00027k-6h for submit@debbugs.gnu.org; Sat, 02 Mar 2024 12:33:23 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgTEf-00027T-1o; Sat, 02 Mar 2024 12:33:21 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 16E5E60002; Sat, 2 Mar 2024 17:32:24 +0000 (UTC) From: Juri Linkov In-Reply-To: <86o7c513ep.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 25 Feb 2024 09:19:03 +0200") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> Date: Sat, 02 Mar 2024 19:31:35 +0200 Message-ID: <86v864sfpk.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) close 69312 30.0.50 thanks > This means that we need more reformatting of error messages: So now the patch is pushed to master. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 01:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17094304403075 (code B ref 69312); Sun, 03 Mar 2024 01:48:01 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 01:47:20 +0000 Received: from localhost ([127.0.0.1]:39455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgawi-0000nX-Cc for submit@debbugs.gnu.org; Sat, 02 Mar 2024 20:47:20 -0500 Received: from mail-qt1-f174.google.com ([209.85.160.174]:47492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgawd-0000n2-Cw for 69312@debbugs.gnu.org; Sat, 02 Mar 2024 20:47:18 -0500 Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-42ee7fa077bso1566181cf.3 for <69312@debbugs.gnu.org>; Sat, 02 Mar 2024 17:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709430340; x=1710035140; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ClzsS/7sAOgBYKUNH0DKA+DRO5YTJgayK3wtX11Q2r8=; b=QmF4Pm2CWjpGwrPYnZFygRhm5PN2Jd5NyZnHoEl+073cDx9FRTmBZZzMw+OGKVL55B v7MR4r0luaVqvFsDHhxVjLQ2ulqdptXFjcHF2iSgpf/pnjSbRJzXqu4BXHVIZITEu0Yh Kl/0C0FOuas6h7MMS07OBQxuv+6eXdcLYZwfxlXtOtnkYn0ejPAp/IYj6GpdN+X522aK R4wi7c9IdOO58PC5YWCfyR3SXo1WReG7d01iOgthjjqmjhLnOzC5wLi4Aq4KLVV+540u Y1jjdV9ieV2qc4ony+tGh6BvX1o9pAdsE1G4XkZNgPiBiWXwnHaZF3wFY3Lu2qs+cX4P osgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709430340; x=1710035140; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ClzsS/7sAOgBYKUNH0DKA+DRO5YTJgayK3wtX11Q2r8=; b=tvU4Rg01avu4jBC/CXzh/+Dps1uW9PIQQMVm1OKuPDKd4OPoqODxhJish+5L1s9Cp+ Vr9VJ5O/ALCKnfpaBP0pdpSHPJGB0l8mUX4Bh9XsNY5sKm04YMZ/sC8pq66hzbApkDkl RA47bPX/ANT1/JuGMX/omu3l+OP/AgSk+CFANUWnbzHHK1V7EOpu4wzlalYdXpa8YkzB RkQyu9wwtUX7hwxhfzVVGXpU8umk3+4ibq7QXMDNdlaEQcH3qG4lbpUkKrX2EaGHqtne FblChpMN1JSmkwNMQ6LUtVazfw+p/JZVJX+DRgaiZtfiECcW1ZgmBjOuImYG6oIDPSbP DCVw== X-Gm-Message-State: AOJu0YymUB1IgoMLVcdaFgOr8nDbNTB0vjqe3u85qgPP+A9SJHOv1hvn eszYoXm9P/+yQ8HUpwf7Kyjz2fEX02/vpSH4ML2qSFyT5l4Ua43ih9BvBSzg X-Google-Smtp-Source: AGHT+IGV4XKk62N0RAHzBDCGXb7t/4mM/VFDHZKHvHp0VYMWn6Y0S3PoYGqPe381p/4uOG9wcxCY8w== X-Received: by 2002:ac8:5e53:0:b0:42e:b9f7:cc89 with SMTP id i19-20020ac85e53000000b0042eb9f7cc89mr7324592qtx.32.1709430340642; Sat, 02 Mar 2024 17:45:40 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id jd27-20020a05622a719b00b0042ecb2fa152sm1938713qtb.48.2024.03.02.17.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 17:45:40 -0800 (PST) From: No Wayman In-Reply-To: <86v864sfpk.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 02 Mar 2024 19:31:35 +0200") References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> User-Agent: mu4e 1.12.0; emacs 30.0.50 Date: Sat, 02 Mar 2024 20:46:21 -0500 Message-ID: <87plwcqe8i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.0 (/) 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: -1.0 (-) Juri Linkov writes: > close 69312 30.0.50 > thanks > >> This means that we need more reformatting of error messages: > > So now the patch is pushed to master. This bug should be re-opened. The patch did not address what I mentioned here: > This won't work. The buffer is in read-only mode, but even if > that is inhibited, > the string is overwritten by the call to the display function at > the end: > (funcall function reply) With it installed, the dictionary-do-matching command is broken. It results in: dictionary-do-matching: Buffer is read-only: # From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170945394324054 (code B ref 69312); Sun, 03 Mar 2024 08:20:02 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 08:19:03 +0000 Received: from localhost ([127.0.0.1]:39720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgh3n-0006Fs-4f for submit@debbugs.gnu.org; Sun, 03 Mar 2024 03:19:03 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:43105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgh3k-0006FH-Mc; Sun, 03 Mar 2024 03:19:01 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 3164DC0002; Sun, 3 Mar 2024 08:18:23 +0000 (UTC) From: Juri Linkov In-Reply-To: <87plwcqe8i.fsf@gmail.com> (No Wayman's message of "Sat, 02 Mar 2024 20:46:21 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> Date: Sun, 03 Mar 2024 09:50:37 +0200 Message-ID: <86cysbrbw6.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) reopen 69312 thanks > This bug should be re-opened. The patch did not address what I mentioned > here: > >> This won't work. The buffer is in read-only mode, but even if that is >> inhibited, >> the string is overwritten by the call to the display function at the end: > >> (funcall function reply) > > With it installed, the dictionary-do-matching command is broken. > It results in: > > dictionary-do-matching: Buffer is read-only: # Please provide a test case to reproduce the issue that you see. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170948527524557 (code B ref 69312); Sun, 03 Mar 2024 17:02:01 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 17:01:15 +0000 Received: from localhost ([127.0.0.1]:41150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpD8-0006Nz-P3 for submit@debbugs.gnu.org; Sun, 03 Mar 2024 12:01:15 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:59661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpD6-0006Jw-Ea; Sun, 03 Mar 2024 12:01:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 5111B40004; Sun, 3 Mar 2024 17:00:34 +0000 (UTC) From: Juri Linkov In-Reply-To: <86cysbrbw6.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 03 Mar 2024 09:50:37 +0200") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> <86cysbrbw6.fsf@mail.linkov.net> Date: Sun, 03 Mar 2024 18:59:01 +0200 Message-ID: <86r0grntey.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) close 69312 30.0.50 thanks >>> This won't work. The buffer is in read-only mode, but even if that is >>> inhibited, >>> the string is overwritten by the call to the display function at the end: >> >>> (funcall function reply) >> >> With it installed, the dictionary-do-matching command is broken. >> It results in: >> >> dictionary-do-matching: Buffer is read-only: # > > Please provide a test case to reproduce the issue that you see. Never mind, I see now what is missing. So this is fixed now. Thanks for the bug report. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17094862604523 (code B ref 69312); Sun, 03 Mar 2024 17:18:01 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 17:17:40 +0000 Received: from localhost ([127.0.0.1]:41217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpT2-0001As-3X for submit@debbugs.gnu.org; Sun, 03 Mar 2024 12:17:40 -0500 Received: from mail-oo1-f41.google.com ([209.85.161.41]:52479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpSz-0001AZ-So for 69312@debbugs.gnu.org; Sun, 03 Mar 2024 12:17:38 -0500 Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5a136ac89b3so121805eaf.0 for <69312@debbugs.gnu.org>; Sun, 03 Mar 2024 09:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709486163; x=1710090963; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=m2lgKZETI26Ei8lPfnhRXX7n0CRa8EwxtuMkKTM2eY8=; b=D0+x13gaLHgF8Y10Ynx8sjfjPrPq42u6xN5gSkVbmobTye3S6nT3gbWEEtEIwB986T h6/j3zb5Ix7NmeHdOxFMGomchBoUHjnleWkYcTUHukY0hlf0adIIJfY6VU/4DYMUGkBp +GSx0PJdBDYImnbLhLE8Q3MWXu5oo2EJ+SXPTd7td1WkgC6PwGOOD3DLcsI+22I7FswC fQxauarcBn7r+lvjGLNmE0tfGNpddeFm7LtJO1Ldr82luI/bv3GFciPNNM9qfgndjcjf XmdnwYN3b9S1SgHM5mRGynMcW+1+p3YU36EzNboIl92UPdjLTODgJaIWntguuXefnt8R BSwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709486163; x=1710090963; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=m2lgKZETI26Ei8lPfnhRXX7n0CRa8EwxtuMkKTM2eY8=; b=hB4m7RKY4ahZQdynpfCzQhXwTDeSsCvEbz9SGuCmRu+bQ8J6hr5veX43UH+fQAC7o5 XWLmXc+EHllEV3lB4KZyp+Aui7OVHWEJvm6G2a8/TcWywVkXX0Yz+QvdK4Mij9nb8kv9 /qnlVPjNim1eFnDJAxDxzpJJht63SLZJKCcZ3H1VKvp6NtxCJHjBmg3KjUlHkreZVhZ+ Fxp3QNMhG9/yOO+BHNuf4WLjoEPiqTFeQ7j8jaQZ9rkf0GAJk8Iu2yT9dr26n5Aq25o1 4EBcAeVAMaYYX+PqoHjA+mW/Xo70MB+TcAG1Q4ZWHQbmggvGemtEhq9X9RQ+cjWshPXn +5uQ== X-Gm-Message-State: AOJu0YxVMPtrCcH9vD9gc9mMPGNg8YFr3aZ7/fkCk2+/4V5oWMQduaHa OAtn1mIGpbFfxThWvmvjLA8w56K/DS/z34EBN/P2oGr+Czi6SNYGIteJzTs6 X-Google-Smtp-Source: AGHT+IEhPr5qAYjC61I6vX0ifnVHVdvHEjmLUl/k7DvlbrFg/Z/+aBlHzTQLJxckkZSUhS/KXGmQeA== X-Received: by 2002:a05:6358:3a03:b0:17b:bd6e:22c9 with SMTP id g3-20020a0563583a0300b0017bbd6e22c9mr9146392rwe.8.1709486162637; Sun, 03 Mar 2024 09:16:02 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id mf15-20020a0562145d8f00b0068cc0b46682sm4254596qvb.4.2024.03.03.09.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 09:16:02 -0800 (PST) From: No Wayman In-Reply-To: <86r0grntey.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 03 Mar 2024 18:59:01 +0200") References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> <86cysbrbw6.fsf@mail.linkov.net> <86r0grntey.fsf@mail.linkov.net> User-Agent: mu4e 1.12.0; emacs 30.0.50 Date: Sun, 03 Mar 2024 12:16:42 -0500 Message-ID: <87jzmjtev9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.0 (/) 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: -1.0 (-) Juri Linkov writes: > close 69312 30.0.50 > thanks > >>>> This won't work. The buffer is in read-only mode, but even if >>>> that is >>>> inhibited, >>>> the string is overwritten by the call to the display function >>>> at the end: >>> >>>> (funcall function reply) >>> >>> With it installed, the dictionary-do-matching command is >>> broken. >>> It results in: >>> >>> dictionary-do-matching: Buffer is read-only: #>> *Dictionary*> >> >> Please provide a test case to reproduce the issue that you see. > > Never mind, I see now what is missing. So this is fixed now. > Thanks for the bug report. To clarify the issue: (defun dictionary-do-matching (word dictionary strategy function) "Search for WORD with STRATEGY in DICTIONARY and display them with FUNCTION." ;;This insertion is thrown away... (insert (format-message "Lookup matching words for `%s' in `%s' using `%s'\n" word dictionary strategy)) ;; [OMITTED FUNCTION BODY] ;; ...when this display function is called (funcall function reply))) From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17094883428450 (code B ref 69312); Sun, 03 Mar 2024 17:53:02 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 17:52:22 +0000 Received: from localhost ([127.0.0.1]:41265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgq0c-0002CE-2c for submit@debbugs.gnu.org; Sun, 03 Mar 2024 12:52:22 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgq0a-0002Bv-0p for 69312@debbugs.gnu.org; Sun, 03 Mar 2024 12:52:21 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 810D960003; Sun, 3 Mar 2024 17:51:23 +0000 (UTC) From: Juri Linkov In-Reply-To: <87jzmjtev9.fsf@gmail.com> (No Wayman's message of "Sun, 03 Mar 2024 12:16:42 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> <86cysbrbw6.fsf@mail.linkov.net> <86r0grntey.fsf@mail.linkov.net> <87jzmjtev9.fsf@gmail.com> Date: Sun, 03 Mar 2024 19:49:53 +0200 Message-ID: <86bk7vkxxa.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) > To clarify the issue: > > (defun dictionary-do-matching (word dictionary strategy function) > "Search for WORD with STRATEGY in DICTIONARY and display them with > FUNCTION." > > ;;This insertion is thrown away... > > (insert (format-message "Lookup matching words for `%s' in `%s' using > `%s'\n" > word dictionary strategy)) > > ;; [OMITTED FUNCTION BODY] > > ;; ...when this display function is called > (funcall function reply))) Thanks for the detailed explanation. Hopefully this is now fixed as well. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2024 21:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.170949962227654 (code B ref 69312); Sun, 03 Mar 2024 21:01:01 +0000 Received: (at 69312) by debbugs.gnu.org; 3 Mar 2024 21:00:22 +0000 Received: from localhost ([127.0.0.1]:41365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgswY-0007By-8s for submit@debbugs.gnu.org; Sun, 03 Mar 2024 16:00:22 -0500 Received: from mail-qv1-f47.google.com ([209.85.219.47]:43106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgswW-0007Bj-P5 for 69312@debbugs.gnu.org; Sun, 03 Mar 2024 16:00:21 -0500 Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6905d51fdfbso16404016d6.0 for <69312@debbugs.gnu.org>; Sun, 03 Mar 2024 12:59:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709499525; x=1710104325; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=u7Nf54NGzKkQmYRjkg5dtICUmNrm3volf4W/X+hc/1w=; b=B2FsOUK5A4Vsr7Z0Dw/lagJGG50c33JZcKxXb7eEoSirRUWA5WQ+FgWfWxi1tsjR6o ZaR0D/5Y9IBY8s6yt63pSk9X45rXFny16a5Y4UqQP/hbgkHMhOrE76PK7N1Ih/5zR0F6 GZV1b5JoPUBWG4tnaeyMX6dWDOwAfdSBcaeoOH/SHRLySLAHdXpqrCxsgUD4Xr70NNxq b/ypfFbXMgezACSBT0qLegOEpzM0B1QSKDBlUXsROZIrBmLd9xc9nKJd/KHijgiOLGgl W1LOqHCsii29vfvZ9k8H33gXFaPM+8DKfrH3Xje3QvYreW2TsIbxcjz3LqoiZXtUz/mi cijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709499525; x=1710104325; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=u7Nf54NGzKkQmYRjkg5dtICUmNrm3volf4W/X+hc/1w=; b=CNY/eh93gU356BWAtErVmLdvFjle7TI5OXgQ4agqu0nUXOW9S1RqEamlYXO1WQWJmm YqKMJgYyUFXSlzKfFHikDi6/iWk9Mt3dB2aEnGy6R+x2YkS8kfEe7HbFKNRhVJ1+7bBJ qrvTCclgnOzUd6r9G/pFX+xqFcbAv1oMzdo6QT9Q1P5vJLWu8eRkJLqdLDLfTd49jETb 6oGNKcCn4owccFrQdLjPmHfjBcV8HG9lzp1vFSY/UjYg5ePTw5jQL+xxI0mevAIyj2A7 KXAB1d5c/fBmEVqhoTZ8YkQA1HrBMGWbyFCbt67lZP9ikrPZzlOzj9gHJv1hpdqhUB+i f1zg== X-Gm-Message-State: AOJu0Yyu3O1EYAd4kuV8KjqaUgoSLilf8g+WM7MKx9ZETb999uvYqGyN 41deHuXPbCYoBrcNdRJZL+nO38MQ5zmzXAoBze1w86iReFqO7kw8NuriHbyg X-Google-Smtp-Source: AGHT+IGEGJ6K53oOOd1CbQ/dntgxESC41dgzAWFi4c89iKPRp5M7DSsv3L1EQcZkgsxTjSVYVGTFNw== X-Received: by 2002:a05:6214:202f:b0:690:2139:b50e with SMTP id 15-20020a056214202f00b006902139b50emr19472813qvf.18.1709499525384; Sun, 03 Mar 2024 12:58:45 -0800 (PST) Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4]) by smtp.gmail.com with ESMTPSA id oj2-20020a056214440200b006901303d90bsm4385404qvb.79.2024.03.03.12.58.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 12:58:45 -0800 (PST) From: No Wayman In-Reply-To: <86bk7vkxxa.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 03 Mar 2024 19:49:53 +0200") References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> <86cysbrbw6.fsf@mail.linkov.net> <86r0grntey.fsf@mail.linkov.net> <87jzmjtev9.fsf@gmail.com> <86bk7vkxxa.fsf@mail.linkov.net> User-Agent: mu4e 1.12.0; emacs 30.0.50 Date: Sun, 03 Mar 2024 15:59:22 -0500 Message-ID: <878r2z821h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.0 (/) 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: -1.0 (-) Juri Linkov writes: > Thanks for the detailed explanation. > Hopefully this is now fixed as well. Confirmed that it does work. Thanks again, Juri. I've found another, separate bug while testing. I'll open a separate thread for that. From unknown Mon Jun 23 02:25:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2024 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 69312@debbugs.gnu.org Received: via spool by 69312-submit@debbugs.gnu.org id=B69312.17096571343799 (code B ref 69312); Tue, 05 Mar 2024 16:46:01 +0000 Received: (at 69312) by debbugs.gnu.org; 5 Mar 2024 16:45:34 +0000 Received: from localhost ([127.0.0.1]:48790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhXv4-0000zC-HG for submit@debbugs.gnu.org; Tue, 05 Mar 2024 11:45:34 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:58899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhXv0-0000ys-5r for 69312@debbugs.gnu.org; Tue, 05 Mar 2024 11:45:32 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 79B4FFF803; Tue, 5 Mar 2024 16:44:31 +0000 (UTC) From: Juri Linkov In-Reply-To: <878r2z821h.fsf@gmail.com> (No Wayman's message of "Sun, 03 Mar 2024 15:59:22 -0500") Organization: LINKOV.NET References: <87v86gbaxp.fsf@gmail.com> <86zfvrwxgh.fsf@mail.linkov.net> <87frxjkxlt.fsf@gmail.com> <86cyslep8p.fsf@mail.linkov.net> <8734thfarx.fsf@gmail.com> <86o7c513ep.fsf@mail.linkov.net> <86v864sfpk.fsf@mail.linkov.net> <87plwcqe8i.fsf@gmail.com> <86cysbrbw6.fsf@mail.linkov.net> <86r0grntey.fsf@mail.linkov.net> <87jzmjtev9.fsf@gmail.com> <86bk7vkxxa.fsf@mail.linkov.net> <878r2z821h.fsf@gmail.com> Date: Tue, 05 Mar 2024 18:43:06 +0200 Message-ID: <86il20mxyd.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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: -1.7 (-) >> Thanks for the detailed explanation. >> Hopefully this is now fixed as well. > > Confirmed that it does work. Oh, it turned out this is not the whole story. Using dictionary-select-dictionary immediately after dictionary-new-matching failed because it stored a state that didn't disable read-only. The problem is that dictionary-new-matching was out of sync from dictionary-new-search, therefore it falls apart. That required adding dictionary-new-matching-internal like the existing dictionary-new-search-internal, which is now done.