From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: john muhl Newsgroups: gmane.emacs.bugs Subject: bug#72093: [PATCH] ; Fix typos in 'which-key-mode' Date: Sat, 13 Jul 2024 10:35:18 -0500 Message-ID: <87y165pao9.fsf@pub.pink> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20769"; mail-complaints-to="usenet@ciao.gmane.io" To: 72093@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 13 17:36:36 2024 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 1sSenb-0005AW-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jul 2024 17:36:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSenA-0001RN-UH; Sat, 13 Jul 2024 11:36:09 -0400 Original-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 1sSen4-0001Q7-Kf for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 11:36:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSen4-0000f8-38 for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 11:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSen4-0004i7-Ox for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2024 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72093 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172088493618069 (code B ref -1); Sat, 13 Jul 2024 15:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2024 15:35:36 +0000 Original-Received: from localhost ([127.0.0.1]:56565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSemd-0004hL-Q0 for submit@debbugs.gnu.org; Sat, 13 Jul 2024 11:35:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSemZ-0004h8-Dk for submit@debbugs.gnu.org; Sat, 13 Jul 2024 11:35:33 -0400 Original-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 1sSemY-0001Jf-0v for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 11:35:30 -0400 Original-Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSemS-0008DS-Oi for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 11:35:29 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C23D51140316 for ; Sat, 13 Jul 2024 11:35:20 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 13 Jul 2024 11:35:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1720884920; x=1720971320; bh=pFPDIo/Kf2RTANs/hw47qBddw3XhckQN tQ7/khJW3mU=; b=ObFXbNvkCAc/SAAq4/KwKn6SNej/bqjaYbkoRMxquIsyOn8B XcxT9kfxxwICbNEeF3ITqy2/t8UTmEJHlp2IQnsbzCCtWk6Jy4fVpDUz/LnhtfSd Qzd0AFq1qZVvCjSnisNYv7NzxdH+EjYp1FufRugYKxb3zm4Ro2BUJVRo9hmIDR0z Msa3sgQ/ZGbkIeecPgOxL1w7emkbYXUP1LsYSdh9OFnbAJFe4bnL+JcSF/cWosRq H8B4T34DmTazWAjFB0cUBmOdHcK9MkE+sF1keFpFYXZeOx7tBFw1ZOvYVTZ5x0lm V45EmCPtzp1q3Di427srqy5n17AzFEO+rb1yDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1720884920; x=1720971320; bh=pFPDIo/Kf2RTANs/hw47qBddw3XhckQNtQ7 /khJW3mU=; b=H4hOzoFkFWgcc6jCDZOAG95/KnmcaTHLs4Sszq9JMXbL11ItTG4 clfWRQQWjLeNQoyu3AV0MMCGsRPr7r0e6VU3K/DLkgQYe0mypdGcpUNPF7ddkXDE 4QB2msQijaY85FPBNxWf5KvvbJpBduurNCuHxWX0Vh3UAjtBjYjegTbGLCS4d4AC 9Jjdf4Xh8AfBdRzYxNbA9/uBTRvQFWJvK62UOinrI/2CtxQNEp9RZ7Wgam7Ew80m cE/r75fUw2fPC8GZcPLkgxAeosEFqddYOM/9Y67EB6gOlBOjKOybgTJW9nP05FDX Jv18+f2p4tnj/Z+WRfCYjXl8SvWi5Z7SHYw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrfeekgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesmhdtreertddttd enucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucggtffr rghtthgvrhhnpeefhfdvfedutdelvddvvdejhfefvdefleeggfeiueeiiedtvddvgfeiue dugeeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjmhesphhusgdrphhinhhk X-ME-Proxy: Feedback-ID: i74194916:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 13 Jul 2024 11:35:19 -0400 (EDT) Received-SPF: pass client-ip=103.168.172.152; envelope-from=jm@pub.pink; helo=fhigh1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288815 Archived-At: --=-=-= Content-Type: text/plain Tags: patch In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-07-07 built on thelio Repository revision: d98c31ae2ca83a1ba8615401aa6d19d80c521b48 Repository branch: main System Description: Fedora Linux 40 (Workstation Edition) Configured using: 'configure -C --with-pgtk --prefix=/home/jm/.local' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Fix-typos-in-which-key-mode.patch >From 6a541bf59f43785e3657b86133ca55945152e125 Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 10 Jul 2024 17:13:58 -0500 Subject: [PATCH] ; Fix typos in 'which-key-mode' * lisp/which-key.el (which-key-preserve-window-configuration): Correct spelling of "taken". (which-key--create-pages): Correct spelling of "widths". (which-key--start-paging-timer): Correct spelling of "secondary". --- lisp/which-key.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/which-key.el b/lisp/which-key.el index 677a84b328d..37b42a009f7 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -444,7 +444,7 @@ which-key-preserve-window-configuration If non-nil, save window configuration before which-key buffer is shown and restore it after which-key buffer is hidden. It prevents which-key from changing window position of visible -buffers. Only takken into account when popup type is +buffers. Only taken into account when popup type is side-window." :type 'boolean :package-version "1.0" :version "30.1") @@ -2113,7 +2113,7 @@ which-key--create-pages-1 (defun which-key--create-pages (keys &optional prefix-keys prefix-title) "Create page strings using `which-key--list-to-pages'. Will try to find the best number of rows and columns using the -given dimensions and the length and wdiths of KEYS. SEL-WIN-WIDTH +given dimensions and the length and widths of KEYS. SEL-WIN-WIDTH is the width of the live window." (let* ((max-dims (which-key--popup-max-dimensions)) (max-lines (car max-dims)) @@ -2825,7 +2825,7 @@ which-key--start-paging-timer (funcall which-key-this-command-keys-function))))) (cancel-timer which-key--paging-timer) (if which-key-idle-secondary-delay - ;; we haven't executed a command yet so the secandary + ;; we haven't executed a command yet so the secondary ;; timer is more relevant here (which-key--start-timer which-key-idle-secondary-delay t) (which-key--start-timer))))))) -- 2.45.2 --=-=-=--