From unknown Sun Aug 17 00:59:04 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#74363 <74363@debbugs.gnu.org> To: bug#74363 <74363@debbugs.gnu.org> Subject: Status: [PATCH] Type correction and docstring change in `erc-spelling-dictionaries' Reply-To: bug#74363 <74363@debbugs.gnu.org> Date: Sun, 17 Aug 2025 07:59:04 +0000 retitle 74363 [PATCH] Type correction and docstring change in `erc-spelling= -dictionaries' reassign 74363 emacs submitter 74363 Bruno Boal severity 74363 normal tag 74363 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 00:12:52 2024 Received: (at submit) by debbugs.gnu.org; 15 Nov 2024 05:12:52 +0000 Received: from localhost ([127.0.0.1]:48111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBodX-0008VQ-DE for submit@debbugs.gnu.org; Fri, 15 Nov 2024 00:12:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:59804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBl3H-0006q4-0D for submit@debbugs.gnu.org; Thu, 14 Nov 2024 20:23:12 -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 1tBl3G-0007TL-Ox for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 20:23:10 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tBl3E-0001zz-Or for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 20:23:10 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4XqK5Z6Grwz9snK for ; Fri, 15 Nov 2024 02:22:58 +0100 (CET) From: Bruno Boal To: bug-gnu-emacs@gnu.org Subject: [PATCH] Type correction and docstring change in `erc-spelling-dictionaries' X-Debbugs-Cc: Date: Fri, 15 Nov 2024 01:22:56 +0000 Message-ID: <87zfm1b89b.fsf@bboal.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=80.241.56.161; envelope-from=egomet@bboal.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-Mailman-Approved-At: Fri, 15 Nov 2024 00:12:49 -0500 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 (--) --=-=-= Content-Type: text/plain Tags: patch Salutations, This patch addresses a minor incorrection in the :type of the variable `erc-spelling-dictionaries' in the erc-spelling library. The :group keyword is also dropped, as it inherits from the defgroup declared earlier in the file. Additionally, a change to the docstring is proposed to better adhere to the examples and explanations of the manual. Note that the initial form of :type was preserved for clarity instead of the alternative option: (alist :value-type (group string)) Best regards --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Type-correction-and-docstring-change-in-erc-spelling.patch >From ae9fef20af624c885e3da3583326a2546057e7ce Mon Sep 17 00:00:00 2001 From: Bruno Boal Date: Thu, 14 Nov 2024 23:58:43 +0000 Subject: [PATCH] Type correction and docstring change in `erc-spelling-dictionaries' --- lisp/erc/erc-spelling.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lisp/erc/erc-spelling.el b/lisp/erc/erc-spelling.el index b2f565d71bf..558cef2d2b2 100644 --- a/lisp/erc/erc-spelling.el +++ b/lisp/erc/erc-spelling.el @@ -52,15 +52,17 @@ (define-erc-module spelling nil (defcustom erc-spelling-dictionaries nil "An alist mapping buffer names to dictionaries. -The `car' of every cell is a buffer name, the `cadr' is the -string name of an associated dictionary. + +Each element is a list of strings with the form (KEY VALUE) where KEY +is a buffer name and VALUE, the name of the dictionary to be +associated. + The dictionary is inherited from server buffers, so if you want a -default dictionary for some server, you can use a server buffer -name here." +default dictionary for some server, you can use a server buffer name +here." :type '(choice (const nil) - (repeat (cons (string :tag "Buffer name") - (string :tag "Dictionary")))) - :group 'erc-spelling) + (repeat (list (string :tag "Buffer name") + (string :tag "Dictionary"))))) (defun erc-spelling-init (buffer) "Enable flyspell mode in an ERC buffer. -- 2.47.0 --=-=-= Content-Type: text/plain -- Bruno Boal GPG Key: 7DCD 57C5 CF25 EE42 A561 3382 74AE 782E 08F0 E5A8 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 15:03:36 2024 Received: (at 74363-done) by debbugs.gnu.org; 15 Nov 2024 20:03:36 +0000 Received: from localhost ([127.0.0.1]:50959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC2XX-0005Yg-W7 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 15:03:36 -0500 Received: from mail-108-mta231.mxroute.com ([136.175.108.231]:44693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC2XU-0005YW-Ga for 74363-done@debbugs.gnu.org; Fri, 15 Nov 2024 15:03:34 -0500 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta231.mxroute.com (ZoneMTA) with ESMTPSA id 193316c71ce0003e01.002 for <74363-done@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 15 Nov 2024 20:03:30 +0000 X-Zone-Loop: bbbcf987d9800265a172cf2641bea4c2c27859428610 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; 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=ZprUY+wvpn/4SzuxPsaH8rhvQLHC0p0NsmfBIu861yw=; b=f15zmnkt3egb+LfjGRY4cVAYGG p1z40m8Imi5Lmp888sNpm+YsxVdYTDHZP7m9Wi0idoz9h6iwmbHMsaLm07T4czO98mq021P5j6L+k pFW+z+3X50SOiy+g/5QlCFic8DcyF5xV6g3eiCvvmofpY/RCHxaZKdyfW2+gCE3BpiCYRuFbSQuhr n0i2BqtqtxayaK1OSCJVTBTiqmGioO36YwEUJ5ZRcLkP+s0N1k1glhkCojAdIFBCiY+fNc6zwSr3e 875fNYPt/QdjLQlU4h2rpyn7vLA2gclML/27EG9bTDA/2Au4OkTgowzkLoqHfmZ6minoJ7+q7l1rp lmertbxw==; From: "J.P." To: Bruno Boal Subject: Re: bug#74363: [PATCH] Type correction and docstring change in `erc-spelling-dictionaries' In-Reply-To: <87zfm1b89b.fsf@bboal.com> (Bruno Boal's message of "Fri, 15 Nov 2024 01:22:56 +0000") References: <87zfm1b89b.fsf@bboal.com> Date: Fri, 15 Nov 2024 12:03:27 -0800 Message-ID: <87ttc8s1rk.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: masked@neverwas.me X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74363-done Cc: emacs-erc@gnu.org, 74363-done@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: -1.0 (-) Bruno Boal writes: > Tags: patch > > > Salutations, > > This patch addresses a minor incorrection in the :type of the variable > `erc-spelling-dictionaries' in the erc-spelling library. > The :group keyword is also dropped, as it inherits from the > defgroup declared earlier in the file. > > Additionally, a change to the docstring is proposed to better adhere to > the examples and explanations of the manual. > > Note that the initial form of :type was preserved for clarity instead of > the alternative option: (alist :value-type (group string)) > > Best regards Installed as https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=29098a29 Thanks! From unknown Sun Aug 17 00:59:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Dec 2024 12:24:08 +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