GNU logs - #79569, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 03:54:02 +0000
Resent-Message-ID: <handler.79569.B.175955002220851 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 79569 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.175955002220851
          (code B ref -1); Sat, 04 Oct 2025 03:54:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Oct 2025 03:53:42 +0000
Received: from localhost ([127.0.0.1]:47119 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v4tL1-0005Q5-90
	for submit <at> debbugs.gnu.org; Fri, 03 Oct 2025 23:53:41 -0400
Received: from lists.gnu.org ([2001:470:142::17]:41342)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1v4tKz-0005Ps-LO
 for submit <at> debbugs.gnu.org; Fri, 03 Oct 2025 23:53:38 -0400
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 <eg642616@HIDDEN>)
 id 1v4tKt-0000gK-VW
 for bug-gnu-emacs@HIDDEN; Fri, 03 Oct 2025 23:53:31 -0400
Received: from mail-yx1-xb142.google.com ([2607:f8b0:4864:20::b142])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <eg642616@HIDDEN>)
 id 1v4tKr-0004sP-S5
 for bug-gnu-emacs@HIDDEN; Fri, 03 Oct 2025 23:53:31 -0400
Received: by mail-yx1-xb142.google.com with SMTP id
 956f58d0204a3-6354a4b4871so3692261d50.2
 for <bug-gnu-emacs@HIDDEN>; Fri, 03 Oct 2025 20:53:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1759550008; x=1760154808; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ZcNjwxenht0BtF3L+8xuSpRiKvD924zkKwSYrRJk+Oo=;
 b=hL2839i71cGrZ/3DoZxDnjI15H01wP9G/vj9oq0IaTGPg69WblpuGCQnqSJsCylhSx
 lGzbTeU17rwsyysDY9SgPFQGt4fGEWBtDXxUSkArPuBq9B72ZppynRvh6e+KwEpJAwnP
 n11Ufao9U9xVpAF/FtY1AouHVifHR+PJ8R+FzE8paiDgHpMicKQpOryAuD+S0wfa8lcf
 2ddBAUoYnHI2rlsztNwNmCK4FYSYrEgQmT/5w4x0uVn5K/xJXmXMAKrxl3tvVcrNsU4b
 348ea0oSZ9He4jNoig0ppCE2YMD2r0UUvvzAKLiIXew+Irf6suWuwILHhpqxN/NouK80
 f9sw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1759550008; x=1760154808;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ZcNjwxenht0BtF3L+8xuSpRiKvD924zkKwSYrRJk+Oo=;
 b=eaNgcJak+59D2F9Kpw/GSDjjBDt7tRWAfd0crx9ESIzygclubM42rV09i26ipNDQFo
 lKtJ26E19fXkJyXhN/qSNWZAg32S2dkFGOIHmc//3assAW6zLkXPgO45lCwi4UkqnhDC
 OBkKZTdPCOCmRSiuh+vC6+5d3pcPHOLwwHN495PLFJnqDoT3flj9qO/KHOJ3dkbSp4Ve
 zOGvs8jmZ8ruSUlwC9OmshymjNaBbuW3pB67jVbgcBvfcGqKFsiAsGu5jw2ctoYrBQiE
 ivrJAGcLyo6vMEDSIaRtU45PdFfmxSO/FlH26+r0Bco87bBLH03zk1A9C52MDFDSA27O
 jFmA==
X-Gm-Message-State: AOJu0YwISvv8cdg6eAR2JDMDWeEdpfh/dJNg/50MPTkDEr2g0eSNIuCk
 ZPf1rhfCkTmaSZslbU8DbNbqYxtN+6+AwJqpfaSu9nuvvWJ2R3Yxdf30MF72kr7I
X-Gm-Gg: ASbGncvQmCqqus4zMR1iykTJFVh2F703bNylTBjhwxIE6aVZyzEJ0Zg65vnUbxL3De3
 J3y646qeWrXuqjJEiu5qi+giKtoSlpd71Yy2GfQd8n1D15PVy/338xbmPeyQ5k/Rq/Zgl0zmrRr
 BehPGoScnUqkLkKHb0dParTI3Z1biTQYfMpdwNwPV3B9+uTy77sLv303Rs1DYkTrxBJmlTeyoLj
 W+DEmRyY/HcYzWMCnJMjDZopVQZ0rkNwDt/ZkJOzH3ufiCLZCjqZtrULTEiqyBk+l3v+24b+ULM
 JZD6dM2M49YpJiEtQtjnlLoAhhF4+CD5rO+IeKii/o0ZEshktB6qo8qEpvi9IGYCWJIIg6LBDp3
 iGBC8IzLKsxKF+sX/CWmgdLXO/xVo8b5uIYkVKzo=
X-Google-Smtp-Source: AGHT+IH4Bc7TN06CHqoszKPiTE0I4gMCUSVYxPQJMELuc4WKNrUfLb27CeGOT4tbjOHqVaucPfesuw==
X-Received: by 2002:a05:690e:686:b0:636:1bb3:2d2d with SMTP id
 956f58d0204a3-63b9a07fdf7mr3399325d50.22.1759550007901; 
 Fri, 03 Oct 2025 20:53:27 -0700 (PDT)
Received: from fedora ([189.215.161.25]) by smtp.gmail.com with ESMTPSA id
 956f58d0204a3-63b846a7b95sm2306826d50.24.2025.10.03.20.53.26
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 03 Oct 2025 20:53:27 -0700 (PDT)
From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Date: Fri, 03 Oct 2025 21:53:22 -0600
Message-ID: <878qhrfhl9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::b142;
 envelope-from=eg642616@HIDDEN; helo=mail-yx1-xb142.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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
 the administrator of that system for details.
 Content preview:  Tags: patch Currently there is no a easy way to change the
 prefix for the commands in `hs-commands-map`, this patch adds a new user
 option and move the commands to a new keymap, so the prefix can be changed.
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (eg642616[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (eg642616[at]gmail.com)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--=-=-=
Content-Type: text/plain

Tags: patch

Currently there is no a easy way to change the prefix for the commands
in `hs-commands-map`, this patch adds a new user option and move the
commands to a new keymap, so the prefix can be changed.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-hideshow-Make-the-C-c-prefix-customizable.patch

From 3beb81b4d7567781112badef6603b9ea6d9ec6ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= <eg642616@HIDDEN>
Date: Thu, 2 Oct 2025 19:41:40 -0600
Subject: [PATCH] hideshow: Make the 'C-c @' prefix customizable.

bug#

* doc/emacs/programs.texi (Hideshow): Update manual.
* etc/NEWS: Announce changes.
* lisp/progmodes/hideshow.el (hs-command-prefix): New user option.
(hs-commands-map): New keymap.
(hs-minor-mode-map): Use the new keymap.
---
 doc/emacs/programs.texi    |  5 +++++
 etc/NEWS                   |  5 +++++
 lisp/progmodes/hideshow.el | 31 ++++++++++++++++++++-----------
 3 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 22968ea878b..153542f961d 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1729,6 +1729,7 @@ Hideshow
 @end table
 
 @vindex hs-hide-comments-when-hiding-all
+@vindex hs-command-prefix
 @vindex hs-display-lines-hidden
 @vindex hs-show-indicators
 @vindex hs-indicator-type
@@ -1742,6 +1743,10 @@ Hideshow
 If non-@code{nil}, @kbd{C-c @@ C-M-h} (@code{hs-hide-all}) hides
 comments too.
 
+@item hs-command-prefix
+This variable controls the key prefix to use for the commands in the
+hideshow keymap.  The default is to use @kbd{C-c @@} as key prefix.
+
 @item hs-display-lines-hidden
 If non-@code{nil}, display the number of hidden lines next to the
 ellipsis.
diff --git a/etc/NEWS b/etc/NEWS
index 602c375dc2f..c79acd8296c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1017,6 +1017,11 @@ The new icons 'hs-indicator-show' and 'hs-indicator-hide', can be used
 for customize the indicators appearance, only if 'hs-indicator-type' is
 set to 'margin' or nil.
 
+---
+*** New user option 'hs-command-prefix'.
+This user option controls the key prefix to use for the commands defined
+in 'hs-minor-mode-map'.
+
 ** C-ts mode
 
 +++
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index d270b5677e3..ba084561c8f 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -448,6 +448,11 @@ hs-set-up-overlay
   :type 'function
   :version "28.1")
 
+(defcustom hs-command-prefix (kbd "C-c @")
+  "Prefix for all the `hs-minor-mode' commands."
+  :type 'key-sequence
+  :version "31.1")
+
 ;;---------------------------------------------------------------------------
 ;; internal variables
 
@@ -455,20 +460,24 @@ hs-minor-mode
   "Non-nil if using hideshow mode as a minor mode of some other mode.
 Use the command `hs-minor-mode' to toggle or set this variable.")
 
+(defvar-keymap hs-commands-map
+  :doc "Keymap for hideshow commands."
+  ;; These bindings roughly imitate those used by Outline mode.
+  "C-h"   #'hs-hide-block
+  "C-s"   #'hs-show-block
+  "C-M-h" #'hs-hide-all
+  "C-M-s" #'hs-show-all
+  "C-l"   #'hs-hide-level
+  "C-c"   #'hs-toggle-hiding
+  "C-a"   #'hs-show-all
+  "C-t"   #'hs-hide-all
+  "C-d"   #'hs-hide-block
+  "C-e"   #'hs-toggle-hiding)
+
 (defvar-keymap hs-minor-mode-map
   :doc "Keymap for hideshow minor mode."
-  ;; These bindings roughly imitate those used by Outline mode.
-  "C-c @ C-h"   #'hs-hide-block
-  "C-c @ C-s"   #'hs-show-block
-  "C-c @ C-M-h" #'hs-hide-all
-  "C-c @ C-M-s" #'hs-show-all
-  "C-c @ C-l"   #'hs-hide-level
-  "C-c @ C-c"   #'hs-toggle-hiding
-  "C-c @ C-a"   #'hs-show-all
-  "C-c @ C-t"   #'hs-hide-all
-  "C-c @ C-d"   #'hs-hide-block
-  "C-c @ C-e"   #'hs-toggle-hiding
   "S-<mouse-2>" #'hs-toggle-hiding
+  (key-description hs-command-prefix) hs-commands-map
   "<left-fringe> <mouse-1>" #'hs-indicator-mouse-toggle-hidding)
 
 (defvar-keymap hs-indicators-map
-- 
2.51.0


--=-=-=
Content-Type: text/plain


-- 
- E.G via Gnus and Org.

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Subject: bug#79569: Acknowledgement ([PATCH] hideshow: Make the 'C-c @'
 prefix customizable.)
Message-ID: <handler.79569.B.175955002220851.ack <at> debbugs.gnu.org>
References: <878qhrfhl9.fsf@HIDDEN>
X-Gnu-PR-Message: ack 79569
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Reply-To: 79569 <at> debbugs.gnu.org
Date: Sat, 04 Oct 2025 03:54:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 79569 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
79569: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79569
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 07:02:02 +0000
Resent-Message-ID: <handler.79569.B79569.17595612672440 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.17595612672440
          (code B ref 79569); Sat, 04 Oct 2025 07:02:02 +0000
Received: (at 79569) by debbugs.gnu.org; 4 Oct 2025 07:01:07 +0000
Received: from localhost ([127.0.0.1]:47540 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v4wGQ-0000dH-Kt
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 03:01:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56806)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1v4wGO-0000cc-EQ
 for 79569 <at> debbugs.gnu.org; Sat, 04 Oct 2025 03:01:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1v4wGF-00032t-Mn; Sat, 04 Oct 2025 03:00:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=1fomQcDTNp+gt6hYkKLLi66dos260I36raRmBQDJKYE=; b=awLi6fXPUG+yVoWW+MoP
 jGycwLeQleprotzoppa9ty9ksscwJI6reM8McGoI2KnctIxH6+bTdG7YwXfI1tKmDekkOrfjX8Ayi
 UhxlAQG1XzrwvIffzj7GsGE7sNYq0GnE8BdyrqqDcuKPqRhYF1otONS3GPM1G/KLtqNeMygDH+GC2
 IqhQ3J99GIpx89D54gBec5SSPROUkd/0ksb5HnjKDXxYT6886xNe8Ecq5cEHQDdVqeqcolIzRPJgp
 OVytPHAyxsMDvM3yp6R2OhBe0xvi+uD2xOLMcuzIzRdfb7D/pe4FNYUilYQvZwVsRJ16n94nI/wpw
 SE6Ezmy68pwTsA==;
Date: Sat, 04 Oct 2025 10:00:47 +0300
Message-Id: <86ms67f8ww.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878qhrfhl9.fsf@HIDDEN> (message from Elijah Gabe
 =?UTF-8?Q?P=C3=A9rez?= on Fri, 03 Oct 2025 21:53:22 -0600)
References: <878qhrfhl9.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Elijah Gabe Prez <eg642616@HIDDEN>
> Date: Fri, 03 Oct 2025 21:53:22 -0600
> 
> Currently there is no a easy way to change the prefix for the commands
> in `hs-commands-map`, this patch adds a new user option and move the
> commands to a new keymap, so the prefix can be changed.

What is the motivation for such a feature?  We don't provide anything
like that for most or all of the other core features.  Why is HS
different?

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 07:51:04 +0000
Resent-Message-ID: <handler.79569.B79569.175956420415236 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.175956420415236
          (code B ref 79569); Sat, 04 Oct 2025 07:51:04 +0000
Received: (at 79569) by debbugs.gnu.org; 4 Oct 2025 07:50:04 +0000
Received: from localhost ([127.0.0.1]:47689 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v4x1n-0003xd-Ln
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 03:50:04 -0400
Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:59811)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>)
 id 1v4x1j-0003wy-Do
 for 79569 <at> debbugs.gnu.org; Sat, 04 Oct 2025 03:50:00 -0400
Received: by mail-pl1-x644.google.com with SMTP id
 d9443c01a7336-27c369f898fso34956015ad.3
 for <79569 <at> debbugs.gnu.org>; Sat, 04 Oct 2025 00:49:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1759564193; x=1760168993; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=lKoEP+DYlNo2dyAtJHe3XXBDo1eSly8WUkpyhQo2HYA=;
 b=iEmzma86iLGBfpNZ8QqPUxLcBYqi03lZQ/dbVrDY5zOV3gJ5o4r6raUu5Ok+Uevw4s
 NOeA/GZg+TJD3/LAskks75kLouH2RVL4pVARLzWR3BHPrnUr5C4HX0ppmJjHNH6AMtm5
 ULa2oUkkjS9zh4KDn7vpXHTQa6Ap4w/PE4Jp2gjGHDvSBHZVLT4iHWNEfGfN/pnUYmCi
 WLQBSWh9QEdPBRBWeKq3S9139cjNnXRl6ABdSs6UxQxrE+MaGNVY4AMXluQE+Vs7taLi
 nZrjiJwevcXxysQyK0bhQJGp6QRGR9wh19FJ6zS7buV8f0IIgul8RKsUYV5ovXt0bTY9
 56aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1759564193; x=1760168993;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=lKoEP+DYlNo2dyAtJHe3XXBDo1eSly8WUkpyhQo2HYA=;
 b=EmDOuUZCQqW7fSehTVGPmhli247z7N8Nejp5XzHyoXj5mDls/5k70m6On8XajB9i55
 NsllSs4sgIwcQC4eRD5SE3LL/s7B2Bv7fOnNEJ5sCV6gdeHMTU9XF2CTNggTQXj1VDws
 +wgeJ2LkFb/XGZTvRwYrZsn4Q4NywY90w9J7LWar4XHX6/uMk0HIXi1y+o4EPWvIMMeu
 GrklccLSCrW/T1Pn3YiwlvBdhtOhxhK+k3erAtZSPg0jcymCDXZjqmJlUTIxKXHP1bHg
 uVQNbb/tbO+6miMJiIyDgYHSEdSyLLiWkrSx8i7d0gKhW4NcSyZRTbZeWR75C4H05maf
 fLng==
X-Forwarded-Encrypted: i=1;
 AJvYcCXmvShJp7i5iN29fiCWK6d6g+wiId4jWcVTw9JvAUoWkVEftZoEnjMGxTUVDz6aQoadYrerJg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyDFSuzCqHV9L7j1zxrcgLzkhI24DP1fSzjykeTAYRL9pPGpX7/
 rpY/9cWJqZWfEM1f8/PBFWiHdk2Z2tInP8Xf5KjyFd4ukdRAyx4LSXjb
X-Gm-Gg: ASbGncupVF4f4iWslLvHMbOVe0Ys12H/NRJkJJ/BQ8V6csJaq7yCx8d5njUO4EFWZK2
 PwAX2Thsdo2JwVUn135FQP6mR9+jrmcLssNu250yL2pB/sV52SNEi+nFaelCJ7p3j746MClkfqp
 n8BTQtChmlnC3MT0HGXrMdrgVaW3mF6lLBQ2ZnBr9NHU6LGmsfFz6+XP7LZFojPhVTHThe0SD39
 Fqnjuk/pBtRrOSSsacKgBft0HtbfxhnvKV4e2m75nb3tuFvWRGrRhpLJmhL95NPKak6d53eQ3FV
 8x2jOWwUHTCSsGNDpIP+aBhbgmpe/EWVJd3Gv+LEgNB96Fyq2sypsVtrmnufWG3X/xwUik0vDxo
 mLUYDRT6JJLYPV5jawkpc6h2a+Ylg0gIshzXqhUT2l0jjSnpW+RZP
X-Google-Smtp-Source: AGHT+IH3jSqrieE7uXMdnSxOlkCfN73Cm/PM08JEBL4R4KJqNN8vE4l1rc8JAbJ2SoFHNXMenRwe1Q==
X-Received: by 2002:a17:902:d2c8:b0:264:70da:7a3b with SMTP id
 d9443c01a7336-28e9a664e55mr79992795ad.49.1759564192842; 
 Sat, 04 Oct 2025 00:49:52 -0700 (PDT)
Received: from localhost ([120.62.82.114]) by smtp.gmail.com with UTF8SMTPSA id
 d9443c01a7336-28e8d1b9e19sm70796525ad.80.2025.10.04.00.49.51
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 04 Oct 2025 00:49:52 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <86ms67f8ww.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
Date: Sat, 04 Oct 2025 13:19:49 +0530
Message-ID: <877bxb6r8i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=
=E0=AE=AA=E0=AE=B0=E0=AF=8D 04, 2025] Eli Zaretskii wrote:

>> From: Elijah Gabe P=C3=A9rez <eg642616@HIDDEN>
>> Date: Fri, 03 Oct 2025 21:53:22 -0600
>>=20
>> Currently there is no a easy way to change the prefix for the commands
>> in `hs-commands-map`, this patch adds a new user option and move the
>> commands to a new keymap, so the prefix can be changed.
>
> What is the motivation for such a feature?  We don't provide anything
> like that for most or all of the other core features.  Why is HS
> different?

We provide it for outline-minor-mode, and IMO it is a worthwhile feature
to have.  I customise outline-minor-mode-prefix to C-z, which I find
much more comfortable to type.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 08:46:02 +0000
Resent-Message-ID: <handler.79569.B79569.175956751028248 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, eg642616@HIDDEN
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.175956751028248
          (code B ref 79569); Sat, 04 Oct 2025 08:46:02 +0000
Received: (at 79569) by debbugs.gnu.org; 4 Oct 2025 08:45:10 +0000
Received: from localhost ([127.0.0.1]:47828 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v4xt8-0007LH-1E
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 04:45:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49840)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1v4xt6-0007G3-DB
 for 79569 <at> debbugs.gnu.org; Sat, 04 Oct 2025 04:45:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1v4xt0-0000Um-MR; Sat, 04 Oct 2025 04:45:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=axWx8M7Mp9451gml7LTE6GkuwwC+fxnVUF4m7AdeMJM=; b=E6cfErY4mCIjzuP47tF9
 EQF+hWpnKlgKGeMmFDbFygio05qtqxbWqlaciNAunHgl237OT1/zSWZFj0b6rga8Hk0dijS5tO2fE
 fk6I/r5rGNS0SntNo2jCc3EZe+zBOI9Kn5ah615TrDarZX1/50IWuXvGXw0T19F1SUtL5q8tlgP9I
 jh5o5eZJOmoMkzoG75hWCczvHX1jm9CJ7CsL11cgaR6KKtBmsnxoBTWX2Wbr6FHaUg1x3Evs74O80
 2TBzCdAajxa2dbQpeyLRtPCodWtgRifPrSe9Tx6tDfk2QJ2fumiBHcWgawgWygxjBvtnLBcN5CA01
 QKUrnB0mlDCbcQ==;
Date: Sat, 04 Oct 2025 11:44:59 +0300
Message-Id: <867bxbf438.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877bxb6r8i.fsf@HIDDEN> (message from Visuwesh on Sat, 04 Oct
 2025 13:19:49 +0530)
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Visuwesh <visuweshm@HIDDEN>
> Cc: Elijah Gabe Pérez <eg642616@HIDDEN>,
>   79569 <at> debbugs.gnu.org
> Date: Sat, 04 Oct 2025 13:19:49 +0530
> 
> [சனி அக்டோபர் 04, 2025] Eli Zaretskii wrote:
> 
> >> From: Elijah Gabe Pérez <eg642616@HIDDEN>
> >> Date: Fri, 03 Oct 2025 21:53:22 -0600
> >> 
> >> Currently there is no a easy way to change the prefix for the commands
> >> in `hs-commands-map`, this patch adds a new user option and move the
> >> commands to a new keymap, so the prefix can be changed.
> >
> > What is the motivation for such a feature?  We don't provide anything
> > like that for most or all of the other core features.  Why is HS
> > different?
> 
> We provide it for outline-minor-mode, and IMO it is a worthwhile feature
> to have.  I customise outline-minor-mode-prefix to C-z, which I find
> much more comfortable to type.

Outline is much more ubiquitous.  (I did say "most or all".)

It just sounded very unusual to offer such capability on the user
level.  I'm open to hear other opinions, though.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 10:33:02 +0000
Resent-Message-ID: <handler.79569.B79569.175957396421018 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, eg642616@HIDDEN
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.175957396421018
          (code B ref 79569); Sat, 04 Oct 2025 10:33:02 +0000
Received: (at 79569) by debbugs.gnu.org; 4 Oct 2025 10:32:44 +0000
Received: from localhost ([127.0.0.1]:48027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v4zZD-0005Sv-OR
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 06:32:44 -0400
Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:55319)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>)
 id 1v4zZB-0005SN-7z
 for 79569 <at> debbugs.gnu.org; Sat, 04 Oct 2025 06:32:41 -0400
Received: by mail-pj1-x1043.google.com with SMTP id
 98e67ed59e1d1-339c9bf3492so1582873a91.2
 for <79569 <at> debbugs.gnu.org>; Sat, 04 Oct 2025 03:32:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1759573955; x=1760178755; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=FczsbBE/9oXQEMzQkIo9Zh7tjTLjAqP8rmqZMOlMMro=;
 b=DMSeUhRD0VmrrThyZvJ2DrWEWUjFBQPcZps33R/d1Vb+2DfEH5NWjGhO+27au3k9I/
 3cPJdK7YH0gB96/IYmgfT/qIZDc6+BPhtdf9BAOAqfsEOP9Npv0tXiqekjOywZF2JPN6
 W4oD3hqNIUO6cq6mm3ILd+I/hW7fgaO1EQoXvu1PYQVD1L6MY1YffANmVdDsbIu8yrCN
 L52S9BfWA3d8uEQXJgzNVtcGPGcvBAR0CQ/PG5BgzSjjvALv7YnXX3I+/vdYcFr/6w+b
 vv4SR1Smcgwmlj4GV+CPxNIdh3czdLwZLiZD1ZilCFB6+pTeIPsJsapGWregfSqiRXap
 S1Rg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1759573955; x=1760178755;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=FczsbBE/9oXQEMzQkIo9Zh7tjTLjAqP8rmqZMOlMMro=;
 b=I0Vid1IQ+XDEMil3AayPkbwsebt49OkRSn6Wa6KC/mGu7wj2/GsrY0EHNnSpJnnFtg
 0OJV8RVhejr2OXTZjxJZDPjNnt/vjXsra4aVQZkbzSt1WD1KB0h2clWc1CR+54DT1j13
 x84Z1zpgTgRWenZZwRE9cfYR4znwRbl5JGCYL6uAvZMRP58yS+h1N+XlIbmQTzGggnyG
 glIDxxvVD3rj/54aionNiCT7Y/53Eo0WhLAC0LWTYrRMRzd5Oc8KciYV/lKnamkc6WHk
 2qhOb4BMy2AlnYOijXLzprTmHpU79kwyEdk8aJJr8FDqMUk6HcAZTAEMc7HfeiCn9I+u
 ifuQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCUYDwqDBzLyEHWWKZxKQSXRJ7sGYszCYh3k/bOD6Q9CoDmWUtVJ/GyM2jgxCWO06LBNkHCFbA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzp5bTQ9YSbFlFV8jR9A4tB75RVuIToZSjSrJlH3rggg8aNSItk
 qGsf5uWcXfTKCX4TcMrY/KpiTFH3bueAUFN8Jqvy6+zIMwb2tqjm68Qb
X-Gm-Gg: ASbGncskCaqIaY0D0w5T+Etx0DKn6I68ZWK7ITMIgyTiaXs9/eSZD+t53npWlDi8I5j
 8mfl5aelj52AL+ITyWNbSZ+RdKLqjyrMOObp9EUhOj/9wN/C2zqnxOSLi9SdgpDBxgz5dvgMqUr
 /85sEtAd0TeTZOcp4TCX6T+L+7fyaVwXOxxtYnFia4jsje8Abu4liyEMQOuO+b0H3up6I0Bwpgk
 Y2t8cP0VAk9DtEVfAQuv6D+Q2bGf/T6lHyYfRr4wSNxYHr8r3n5A5ROLetIGL1R12cVpl+ZPvlG
 QzecJ1dYahEQoNGHkvnNdz8c4lG55FKGYM2orpeUrbK7dEJMVM+7zwFIti+AzjVNJuG/sRfDgXa
 87Xuyi1wnWMEpGl+9qfDaQAaLi/s0ppfw9d0WAYpkF+rp9Hgi1V3z
X-Google-Smtp-Source: AGHT+IFRXHCWj7v8VDbxGMITRiQKQUiqgjBKjglpSOL2Wg459PLP46RNSZAeTVMrAjpE7gHTpszLVQ==
X-Received: by 2002:a17:90b:1e06:b0:330:6f16:c4d8 with SMTP id
 98e67ed59e1d1-339c272488cmr7548955a91.7.1759573954845; 
 Sat, 04 Oct 2025 03:32:34 -0700 (PDT)
Received: from localhost ([120.62.82.114]) by smtp.gmail.com with UTF8SMTPSA id
 98e67ed59e1d1-339a701bf31sm10649711a91.19.2025.10.04.03.32.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 04 Oct 2025 03:32:33 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <867bxbf438.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
Date: Sat, 04 Oct 2025 16:02:30 +0530
Message-ID: <87347z6jpd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=
=E0=AE=AA=E0=AE=B0=E0=AF=8D 04, 2025] Eli Zaretskii wrote:

>> > What is the motivation for such a feature?  We don't provide anything
>> > like that for most or all of the other core features.  Why is HS
>> > different?
>>=20
>> We provide it for outline-minor-mode, and IMO it is a worthwhile feature
>> to have.  I customise outline-minor-mode-prefix to C-z, which I find
>> much more comfortable to type.
>
> Outline is much more ubiquitous.  (I did say "most or all".)
>
> It just sounded very unusual to offer such capability on the user
> level.  I'm open to hear other opinions, though.

In my mind, outline-minor-mode and hs-minor-mode perform similar duties.
The reason why I never used hs-minor-mode much was because of the
unwieldy keybindings, and a lack of outline-cycle equivalent.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
In-Reply-To: <878qhrfhl9.fsf@HIDDEN>
Resent-From: Howard Melman <hmelman@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Oct 2025 16:30:03 +0000
Resent-Message-ID: <handler.79569.B.175959536314898 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 79569 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.175959536314898
          (code B ref -1); Sat, 04 Oct 2025 16:30:03 +0000
Received: (at submit) by debbugs.gnu.org; 4 Oct 2025 16:29:23 +0000
Received: from localhost ([127.0.0.1]:49283 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v558M-0003s7-R6
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 12:29:23 -0400
Received: from lists.gnu.org ([2001:470:142::17]:47728)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1v558I-0003qr-NO
 for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 12:29:19 -0400
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 <geb-bug-gnu-emacs@HIDDEN>)
 id 1v5589-0000Zx-PP
 for bug-gnu-emacs@HIDDEN; Sat, 04 Oct 2025 12:29:09 -0400
Received: from ciao.gmane.io ([116.202.254.214])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1v5587-0007Ex-HD
 for bug-gnu-emacs@HIDDEN; Sat, 04 Oct 2025 12:29:09 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1v5584-0000TA-UH
 for bug-gnu-emacs@HIDDEN; Sat, 04 Oct 2025 18:29:04 +0200
X-Injected-Via-Gmane: http://gmane.org/
From: Howard Melman <hmelman@HIDDEN>
Date: Sat, 04 Oct 2025 12:29:00 -0400
Message-ID: <lyv7kumy0j.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:BwJQUZ8ofEhk1LxnaLBTxkWBI5I=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-Spam_score_int: 0
X-Spam_score: 0.0
X-Spam_bar: /
X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001,
 FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Visuwesh <visuweshm@HIDDEN>
>> Cc: Elijah Gabe Pérez <eg642616@HIDDEN>,
>>   79569 <at> debbugs.gnu.org
>> Date: Sat, 04 Oct 2025 13:19:49 +0530
>> 
>> [சனி அக்டோபர் 04, 2025] Eli Zaretskii wrote:
>> 
>> >> From: Elijah Gabe Pérez <eg642616@HIDDEN>
>> >> Date: Fri, 03 Oct 2025 21:53:22 -0600
>> >> 
>> >> Currently there is no a easy way to change the prefix for the commands
>> >> in `hs-commands-map`, this patch adds a new user option and move the
>> >> commands to a new keymap, so the prefix can be changed.
>> >
>> > What is the motivation for such a feature?  We don't provide anything
>> > like that for most or all of the other core features.  Why is HS
>> > different?
>> 
>> We provide it for outline-minor-mode, and IMO it is a worthwhile feature
>> to have.  I customise outline-minor-mode-prefix to C-z, which I find
>> much more comfortable to type.
>
> Outline is much more ubiquitous.  (I did say "most or all".)
>
> It just sounded very unusual to offer such capability on the user
> level.  I'm open to hear other opinions, though.

I think the important part is defining the keymap without
the prefix builtin so that a user could bind it to a
different prefix.  This is common in emacs.

I think having a hs-command-prefix variable is not a
requirement but is convenient (and I'd say more common in
3rd party packages).

-- 

Howard





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Oct 2025 03:54:01 +0000
Resent-Message-ID: <handler.79569.B79569.175963638424438 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Visuwesh <visuweshm@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.175963638424438
          (code B ref 79569); Sun, 05 Oct 2025 03:54:01 +0000
Received: (at 79569) by debbugs.gnu.org; 5 Oct 2025 03:53:04 +0000
Received: from localhost ([127.0.0.1]:50585 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v5Fo0-0006M5-9A
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2025 23:53:04 -0400
Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]:60737)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1v5Fnv-0006LU-4h
 for 79569 <at> debbugs.gnu.org; Sat, 04 Oct 2025 23:53:01 -0400
Received: by mail-ot1-x344.google.com with SMTP id
 46e09a7af769-7b7325d8fb5so2428569a34.1
 for <79569 <at> debbugs.gnu.org>; Sat, 04 Oct 2025 20:52:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1759636373; x=1760241173; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=k1+faG8RDC7j9ljfuk1FMt1QL0uDqMMut+Np0Nzchj4=;
 b=ijSNAok/Gg3zIXPe4Jw8+97P3rljuB3DEapMrVJSLjo4s9nuWKcLzECzQQ2Hj7DbOA
 Ne2+I1L8qF85vIRKW5Ln8IEUseEjVBljmcYx6tBJQKmXHc+Aso17bmNrqexkR182ACuF
 wLIIIz0+YDIzWZiQBaarHcDL2afBAMttXzxIXy3kiWmwpMVI3f3YhhZflbRk9bYaKcFb
 AuBpF+7FWJe/+tw1EPzp/zuJ04utl2wW2hZrZ45tuUyhMs/kp7oob6IyUUsKOzagOVQP
 gXapZHlB/pfzBjqLf3u6xWKDyg9AMCVPJ1TSrtzFgjcDhpzX9XmxvNwYHn48VNRz5I94
 wSww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1759636373; x=1760241173;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=k1+faG8RDC7j9ljfuk1FMt1QL0uDqMMut+Np0Nzchj4=;
 b=nKgVSdOto8rVAf8rV0u+0tITjAleJlm+A0zIziu2+9qRqIxfzU5fpUH3qXVTXPOVMD
 DXGFf9tzmcSu7CfHkZqOonWRNBukNNJmlwRveUtZQ8S4yF8tuTeaoqOgghnkYzHaVRnT
 Nowsrdu8bBWSaufrU5ReiSmbJ+cOJVcCYZn3104py7IxHbjrlyh3se5kLI83SLXivcjy
 7AdXgR1YfOFJanluiDOqRNGkdqsyrMYors4CdcYEsbFS3+4uO1cDW+y4tNOcwffOvdR1
 YPPcEUREh1NoZ2vJVz/RTLSgivrT5CYMXxjpWTiyYGXfMrZRkHBz6r0YshkegTyyo3kD
 EEXg==
X-Forwarded-Encrypted: i=1;
 AJvYcCXBePgM+/IueIA2u6EOUxwpINd41C6owP7V+kSqnUKz7+mtGuAocadyELRo6iYit47Bx5I1aw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyoNGjqogrFFbd32c5vZdCo+Czv1HGC7Ez8IFxY5pxEuwAdF1yv
 miOvtcGTsZ9VYfs5Utkp8ePm1Ee0zAka1FlgXfHmQO5AaodKOegjucKYfkZTsia4
X-Gm-Gg: ASbGncvhBnU08nJbVQpJoIvA9nnoybRqee6X6QTBL+wD8zptvL7KE0PT4YWzd5E5uy5
 W8qaaUmVonNPZPfhV+mYPCSO3vRX273Ly7hP3sZGVPvFHnyIccQeDeCIDXwQ+GThagPlEktFdwS
 uBhgtnsiCaRcgzcOpx39xo/b7wUFS7egBdX4/pwo2AScN91WFpUAJ8//v6ER1c8dmO2RSC8ECNv
 /Xvkj0VLaV9CxlstecOdvHOFyTgUI1wGXdyAkVyZBFW7dSGtXGnR5s2L4DKcQg82+5ax8a5LsT5
 +USQUydrGS8rcPLm2NU26x3J7X+1+GxvVuHkNBjMTQq2tj2enL3wyCk4jnR51Q7Ycg8EKr2Inyx
 sJObLLtbudVBWkB6pzxmvvEH7peSv3w0cWPR9p98=
X-Google-Smtp-Source: AGHT+IG1igY/amDiTlu8D59CO3BFTGNpdOMgG7nSJgZaMRUvX3GoQi/J+fFlG/CYM1qxZCpLYIrLzw==
X-Received: by 2002:a05:6830:438f:b0:78a:8b0d:cd29 with SMTP id
 46e09a7af769-7bf77231316mr5009025a34.13.1759636372956; 
 Sat, 04 Oct 2025 20:52:52 -0700 (PDT)
Received: from fedora ([189.215.161.25]) by smtp.gmail.com with ESMTPSA id
 46e09a7af769-7bf3fdd06c7sm2774987a34.15.2025.10.04.20.52.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 04 Oct 2025 20:52:52 -0700 (PDT)
From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
In-Reply-To: <867bxbf438.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
Date: Sat, 04 Oct 2025 21:52:39 -0600
Message-ID: <87wm5admyg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Visuwesh <visuweshm@HIDDEN>
>> Cc: Elijah Gabe P=C3=A9rez <eg642616@HIDDEN>,
>>   79569 <at> debbugs.gnu.org
>> Date: Sat, 04 Oct 2025 13:19:49 +0530
>>=20
>> [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=
=8B=E0=AE=AA=E0=AE=B0=E0=AF=8D 04, 2025] Eli Zaretskii wrote:
>>=20
>> >> From: Elijah Gabe P=C3=A9rez <eg642616@HIDDEN>
>> >> Date: Fri, 03 Oct 2025 21:53:22 -0600
>> >>=20
>> >> Currently there is no a easy way to change the prefix for the commands
>> >> in `hs-commands-map`, this patch adds a new user option and move the
>> >> commands to a new keymap, so the prefix can be changed.
>> >
>> > What is the motivation for such a feature?  We don't provide anything
>> > like that for most or all of the other core features.  Why is HS
>> > different?
>>=20
>> We provide it for outline-minor-mode, and IMO it is a worthwhile feature
>> to have.  I customise outline-minor-mode-prefix to C-z, which I find
>> much more comfortable to type.
>
> Outline is much more ubiquitous.  (I did say "most or all".)
>
> It just sounded very unusual to offer such capability on the user
> level.  I'm open to hear other opinions, though.

outline has 'outline-minor-mode-prefix', which is where i made this
implementation.  Both outline (the minor mode) and hideshow have hard
default keybindings (and this is actually one of the reasons why both
modes are criticized).

While outline tries to fix this making the key prefix customizable,
hideshow does not have this.

Honestly i'm not sure if defining a user option is the solution since i
can do:

  (keymap-unset hs-minor-mode-map "C-c @")
  (keymap-set hs-minor-mode-map "M-h" hs-commands-map)

But this would require loading the package first.

--=20
- E.G via Gnus and Org.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 17 Oct 2025 03:53:02 +0000
Resent-Message-ID: <handler.79569.B79569.17606731227681 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Visuwesh <visuweshm@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.17606731227681
          (code B ref 79569); Fri, 17 Oct 2025 03:53:02 +0000
Received: (at 79569) by debbugs.gnu.org; 17 Oct 2025 03:52:02 +0000
Received: from localhost ([127.0.0.1]:43733 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v9bVa-0001ze-1S
	for submit <at> debbugs.gnu.org; Thu, 16 Oct 2025 23:52:02 -0400
Received: from mail-yx1-xb143.google.com ([2607:f8b0:4864:20::b143]:58606)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1v9bVM-0001yu-CA
 for 79569 <at> debbugs.gnu.org; Thu, 16 Oct 2025 23:51:54 -0400
Received: by mail-yx1-xb143.google.com with SMTP id
 956f58d0204a3-63e10cd6efeso1143240d50.0
 for <79569 <at> debbugs.gnu.org>; Thu, 16 Oct 2025 20:51:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1760673100; x=1761277900; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4WHR+QGMxZvDQXskvpKdJwwqwH3eCqO+HPmEWrRdqVo=;
 b=HlQkG0k5rat/7HSADSsGavLBY5axvealVHGu+oXdxWAu8kpEmkpBl3LujzDsfhh93S
 ST3Y7xx/JJL4i3eEEJIsQkPpvcjKzXaOy1pRz+mLI+8AQnP1POdhZ2tS1ICJnttTCyMO
 /qHxgA/J9ftvCGtosW/6Fa8/b7ryZnwRwp91+wwRI3i1JPEVjys0iV+MreF1OXxwjSCG
 mGtotPuXNsbVRQrPfyDT83Mq82O+xVi7OwG/GRw/Eayt2zUX937ypUcRkbF9tRMnb5q3
 7U68KLj4npS0iTw7f6f3JzcjJIjc6fWhNkje49Q28pDuTwTlhC6btPAGtIoSLP8+y0MJ
 2fdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1760673100; x=1761277900;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=4WHR+QGMxZvDQXskvpKdJwwqwH3eCqO+HPmEWrRdqVo=;
 b=aBgrvdJPunDS1oSZ9dDLkEivypZ9qh8fcnkoh1yAoN5dBkda46C2+oqhOL9twQvlxk
 uGXvHRu9PNirHhqS9pYEf7/yxshMPh4vWgMWCRJJjvSMGZGxE1DDB1fEZvj2G+MKu0iC
 9pfBgFlHbRCBX7GkuCR4ofaUzMDAczVp19/7ujgu5x+tlA4MgLvqpnKmkN99oXJhcms4
 wC5B0/OOPMMNlZJVgNkvurmZ75Q0Oodue4VroY/ojFgk/y+GW2AwYbye1JbuasXyfTSP
 lpPMze0ZaBellKbOjBSiKdnPigTnOtemBeU4HyfdJowpY1m5XJ476bMg7Dcvq1E+FOIn
 VDkQ==
X-Gm-Message-State: AOJu0YxqwC2qsnW6EVWzpFh38ieExYcOCSn6PtNJKovWDdnmruXYxKiq
 97DAPe54dw8biCdvwjz3Kb22JvmvwRkQwpm1QraEorCUXYDfwlpBQW6anc052Alh
X-Gm-Gg: ASbGncvoP1qCxV23iWtQ5mFQUeZ5ioe9HS2CZOeJBS360fBKkwft8HZCQ6mc9j3l1kI
 3Wb7MGvIt+Td/FtLx7fQ7xIRiou3fPl+9kqZGZSg4H/1FHkbM1vceRW4uPUF1VTC9Lv/YOqacwR
 /pokNWoA1fhCQVGqUfmIoahvvB1qAnHlqwgG4JjwyzF9JXro5kbJnH4NYB2M+W2+MAbeIWn3XDC
 +FD9bMEFhJYZLSMPEB7ca6aMDVJXbnF5pNmCOpk4+Fl07LAjtDmnhOe33IYm+TD+jPwxojFIbCR
 +smz2A6eNFIdakrp1eGi/+HS1g4OXfjREjr/tKYZLoFk1qsIXJL2ZxlWtLKjEYlqJ35RKGS52OF
 z1ccXH1aCsjb5PSulp2/oboBaosiKLqAamAcDpWxpS9lnNgaTQuZTnJ3xK9OnoDh+Ef1kIGPnEK
 /HeXx2
X-Google-Smtp-Source: AGHT+IHh73CNmzfGpXgp6KFKFpM7WFOfgvUmhhbf/fqeXgFpt5Rma3mVmupxsiEFeROuRqAHtcV/tA==
X-Received: by 2002:a05:690c:9a01:b0:772:3578:2ec5 with SMTP id
 00721157ae682-7836cf309ffmr33502647b3.0.1760673099747; 
 Thu, 16 Oct 2025 20:51:39 -0700 (PDT)
Received: from fedora ([189.215.161.189]) by smtp.gmail.com with ESMTPSA id
 00721157ae682-78293808684sm12762957b3.62.2025.10.16.20.51.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Oct 2025 20:51:39 -0700 (PDT)
From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
In-Reply-To: <87wm5admyg.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
 <87wm5admyg.fsf@HIDDEN>
Date: Thu, 16 Oct 2025 21:51:31 -0600
Message-ID: <87tszyqj7g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: text/plain

I don't know if there are any other comments about this, but I'm sending
an updated patch, I've removed the user option.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-hideshow-Define-new-keymap-for-all-the-commands.patch

From 0cf4fd678e89d57e8f5e2e73261537bd93934bc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= <eg642616@HIDDEN>
Date: Thu, 2 Oct 2025 19:41:40 -0600
Subject: [PATCH] hideshow: Define new keymap for all the commands.

bug#79569

* lisp/progmodes/hideshow.el (hs-commands-map): New keymap.
(hs-minor-mode-map): Use new keymap.
---
 lisp/progmodes/hideshow.el | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index d01f855a7f8..74a568e2479 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -457,20 +457,25 @@ hs-minor-mode
   "Non-nil if using hideshow mode as a minor mode of some other mode.
 Use the command `hs-minor-mode' to toggle or set this variable.")
 
+(defvar-keymap hs-commands-map
+  :doc "Keymap for hideshow commands."
+  :prefix t
+  ;; These bindings roughly imitate those used by Outline mode.
+  "C-h"   #'hs-hide-block
+  "C-s"   #'hs-show-block
+  "C-M-h" #'hs-hide-all
+  "C-M-s" #'hs-show-all
+  "C-l"   #'hs-hide-level
+  "C-c"   #'hs-toggle-hiding
+  "C-a"   #'hs-show-all
+  "C-t"   #'hs-hide-all
+  "C-d"   #'hs-hide-block
+  "C-e"   #'hs-toggle-hiding)
+
 (defvar-keymap hs-minor-mode-map
   :doc "Keymap for hideshow minor mode."
-  ;; These bindings roughly imitate those used by Outline mode.
-  "C-c @ C-h"   #'hs-hide-block
-  "C-c @ C-s"   #'hs-show-block
-  "C-c @ C-M-h" #'hs-hide-all
-  "C-c @ C-M-s" #'hs-show-all
-  "C-c @ C-l"   #'hs-hide-level
-  "C-c @ C-c"   #'hs-toggle-hiding
-  "C-c @ C-a"   #'hs-show-all
-  "C-c @ C-t"   #'hs-hide-all
-  "C-c @ C-d"   #'hs-hide-block
-  "C-c @ C-e"   #'hs-toggle-hiding
   "S-<mouse-2>" #'hs-toggle-hiding
+  "C-c @" hs-commands-map
   "<left-fringe> <mouse-1>" #'hs-indicator-mouse-toggle-hidding)
 
 (defvar-keymap hs-indicators-map
-- 
2.51.0


--=-=-=
Content-Type: text/plain


-- 
- E.G via Gnus and Org.

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 20 Oct 2025 17:59:02 +0000
Resent-Message-ID: <handler.79569.B79569.176098314117703 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Visuwesh <visuweshm@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.176098314117703
          (code B ref 79569); Mon, 20 Oct 2025 17:59:02 +0000
Received: (at 79569) by debbugs.gnu.org; 20 Oct 2025 17:59:01 +0000
Received: from localhost ([127.0.0.1]:47227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vAu9q-0004bC-Lc
	for submit <at> debbugs.gnu.org; Mon, 20 Oct 2025 13:59:01 -0400
Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:34836)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vAu9o-0004aM-HP
 for 79569 <at> debbugs.gnu.org; Mon, 20 Oct 2025 13:58:56 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (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-202.mailbox.org (Postfix) with ESMTPS id 4cr3845Lcfz9sDT;
 Mon, 20 Oct 2025 19:58:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1760983124;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=ChIz2cwbIwc1pMeCvAYjhTH6LbyhXOfK/HMYwaxPsDg=;
 b=HQjpHcq/Ig4Bi3Hq3hhOlip1YQAn47GdpYAr5R9SUv6NP95pKhfsGoj2iE7mt94m9OeE/u
 GSnJ8pI/MPieiv3rD/y5pWaJIhXdNfipMPIa5ucHc44znDm2Fsalo9OLTdkbO0GwJwLJjd
 yCzuLpvcdLqOuSkXOMRsGvTMGXKpYjZfyXBo0hLjK3tbGaRW8GsuPtFDrhunLa5zHTyYjm
 1hUR4pcTRewmIMXDUF6Z9iKsxxkZth7OmJ8tPiwQbLNnoJYbVpWGzIOyVb4hH0BocPwUPO
 rAdDnmilPhClLRIUyLJXIzW+kqEhRvhbta1cCfGtK3vLDYKhbBzB8nFifqALxg==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87tszyqj7g.fsf@HIDDEN>
Organization: LINKOV.NET
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
 <87wm5admyg.fsf@HIDDEN> <87tszyqj7g.fsf@HIDDEN>
Date: Mon, 20 Oct 2025 20:49:35 +0300
Message-ID: <87ikg9a2fk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4cr3845Lcfz9sDT
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> I don't know if there are any other comments about this, but I'm sending
> an updated patch, I've removed the user option.
> [...]
> +(defvar-keymap hs-commands-map
> +  :doc "Keymap for hideshow commands."
> +  :prefix t

Like we have 'outline-mode-prefix-map', I'd recommend naming
this variable 'hs-prefix-map' (or maybe even
'hs-minor-mode-prefix-map' if it's not too long?)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 21 Oct 2025 01:56:01 +0000
Resent-Message-ID: <handler.79569.B79569.17610117373714 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Visuwesh <visuweshm@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.17610117373714
          (code B ref 79569); Tue, 21 Oct 2025 01:56:01 +0000
Received: (at 79569) by debbugs.gnu.org; 21 Oct 2025 01:55:37 +0000
Received: from localhost ([127.0.0.1]:48478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vB1b7-0000xq-4E
	for submit <at> debbugs.gnu.org; Mon, 20 Oct 2025 21:55:37 -0400
Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:55777)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1vB1b3-0000xQ-Tc
 for 79569 <at> debbugs.gnu.org; Mon, 20 Oct 2025 21:55:34 -0400
Received: by mail-ot1-x343.google.com with SMTP id
 46e09a7af769-7c284d4867eso1189350a34.3
 for <79569 <at> debbugs.gnu.org>; Mon, 20 Oct 2025 18:55:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1761011728; x=1761616528; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=bpLtamuKFNFwh9b8GLs7wEZxoJT5aCahpAZ2qvIodsk=;
 b=KuaAKG5OM9G4UWqBqsv7aiXBJashBaq+tSU4E+/8wve9pfhpMip8Q3ArJQXilA04PV
 sznJJWHR4mXTWmoflX9VRFgI/4k3fTFvSKUsA6j+YC/5xSJp7XO3BMGzU+W3hNbWNDBo
 xVnVH5bLuzjUa7jaRxJhMihezBDrirI0Sdexfnv1cWP7H9Qvfoh0Pi45yh4NiuJtI5Es
 MY8Ftk5K1+IAcogxgv9vCaqOwHBxoh1pwadVjSuyPqNxX0+5yiYG2uhosHaGo3Si0eFH
 U+xgmtGrfb0OZuZ9RLJ4fAAiRmaHx9xjRnbLipLuCTFEkMFMDnApFW/OyocW6ZSmkBAq
 ylSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1761011728; x=1761616528;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=bpLtamuKFNFwh9b8GLs7wEZxoJT5aCahpAZ2qvIodsk=;
 b=Vf8zcznj7ghN3v+3Id6Sgg2bM1/hYOWwqokRhukhm+zYsaHDuJmgkk0JT2gZKSpfly
 i/oGfyarXjaSQOSZC+t2VTJGnbHXfszoC5dGP4GuQKnx+3Bh6shXCTosgCNOyE/PNvZk
 24fa3fY3SXHwdtUWmuKrn1kwF1tuEEScFVe+prLff7iZN/qKiuZRMhetzjXaSL0w5yLl
 ATushJF1qePTUutz36VGMBI8dW9AaJzEDRu0b3Vtoag4HQHAPDbbBQMxDRa2mBy5tStB
 quRv3iefT1+R0gHNzkl5TCIdWbGxEZ3y1ZaTJ8zW3lsxX+iiTle3sEvn6X5wDw+1B78V
 psLQ==
X-Gm-Message-State: AOJu0Yx0AJDtJ1lnxxWww863JadvaUTZFysqWB2I9SX8p6rCk/1CvFXH
 QQeT31/RV1A6TJSPGWr7Eay+ZNtk1wmnzgqWxRQ782Gmajf1enZycR58OIf/nDni
X-Gm-Gg: ASbGnct2K7wdR4oKAlFupMpSGmbWh2E63AvOsXtEAJ7tRurNJK95Ar0cqHnBOsJTf7f
 qgq5CB2Ka2TPgEdwzZeqvRixji8G3DGl0cWjZ/d7c3ZA/dezutHDKJXuqV1eUOLOCYxgPQo2lZh
 LfrKZYFGQoKeEyu9LjcWYJ1uV8XgNVmv8lrr5ma0Ph9xma8SEE2tD/okERKxfZJFx4gSUqb25sk
 r+R6zXrXG4lUiN/7j3M8HpY+ANsaLVUH5T+oxEuu8j8sJ30qxxbdVjzDoZ1gACOe+VBxEAUcSIj
 J90nBkoz2InoTW33EQGyLDRJ/94bBT8XX/1KnQ9CV2J8k0sIc2JXLqTrjGSDXXXfUqEmaIuO/7I
 qiaz/SiwF2kQNQivD/iVejWOBCGE7frYHul3gf9XTUP6iHNhdeGKz27LsxglqIjhThdXXAr0kKO
 mcdu3j
X-Google-Smtp-Source: AGHT+IGC/hTpTH5zG7JJbrqOFw1VpPe5pAM6HaxuZWsvfLCBhieYUZiOoPgHbcuhLdhvLjQJSJTT/Q==
X-Received: by 2002:a05:6808:21a9:b0:43f:6979:6c9d with SMTP id
 5614622812f47-443a2ea7009mr7068482b6e.7.1761011727694; 
 Mon, 20 Oct 2025 18:55:27 -0700 (PDT)
Received: from fedora ([189.215.161.189]) by smtp.gmail.com with ESMTPSA id
 46e09a7af769-7c28879ebf8sm3179307a34.4.2025.10.20.18.55.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 20 Oct 2025 18:55:26 -0700 (PDT)
From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
In-Reply-To: <87ikg9a2fk.fsf@HIDDEN>
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
 <87wm5admyg.fsf@HIDDEN> <87tszyqj7g.fsf@HIDDEN>
 <87ikg9a2fk.fsf@HIDDEN>
Date: Mon, 20 Oct 2025 19:55:24 -0600
Message-ID: <87a51l81df.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: text/plain

Juri Linkov <juri@HIDDEN> writes:

>> I don't know if there are any other comments about this, but I'm sending
>> an updated patch, I've removed the user option.
>> [...]
>> +(defvar-keymap hs-commands-map
>> +  :doc "Keymap for hideshow commands."
>> +  :prefix t
>
> Like we have 'outline-mode-prefix-map', I'd recommend naming
> this variable 'hs-prefix-map' (or maybe even
> 'hs-minor-mode-prefix-map' if it's not too long?)

Thanks for the suggestion, i've now renamed it to 'hs-prefix-map'.

Sending patch:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-hideshow-Define-new-keymap-for-all-the-commands.patch

From e8ed173129f75a864988c65e61ea4be7af74cc3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= <eg642616@HIDDEN>
Date: Thu, 2 Oct 2025 19:41:40 -0600
Subject: [PATCH] hideshow: Define new keymap for all the commands.

bug#79569

* lisp/progmodes/hideshow.el (hs-prefix-map): New keymap.
(hs-minor-mode-map): Use the new keymap.
---
 lisp/progmodes/hideshow.el | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 6d3a5bc9fe6..235b8e2c251 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -471,20 +471,25 @@ hs-minor-mode
   "Non-nil if using hideshow mode as a minor mode of some other mode.
 Use the command `hs-minor-mode' to toggle or set this variable.")
 
+(defvar-keymap hs-prefix-map
+  :doc "Keymap for hideshow commands."
+  :prefix t
+  ;; These bindings roughly imitate those used by Outline mode.
+  "C-h"   #'hs-hide-block
+  "C-s"   #'hs-show-block
+  "C-M-h" #'hs-hide-all
+  "C-M-s" #'hs-show-all
+  "C-l"   #'hs-hide-level
+  "C-c"   #'hs-toggle-hiding
+  "C-a"   #'hs-show-all
+  "C-t"   #'hs-hide-all
+  "C-d"   #'hs-hide-block
+  "C-e"   #'hs-toggle-hiding)
+
 (defvar-keymap hs-minor-mode-map
   :doc "Keymap for hideshow minor mode."
-  ;; These bindings roughly imitate those used by Outline mode.
-  "C-c @ C-h"   #'hs-hide-block
-  "C-c @ C-s"   #'hs-show-block
-  "C-c @ C-M-h" #'hs-hide-all
-  "C-c @ C-M-s" #'hs-show-all
-  "C-c @ C-l"   #'hs-hide-level
-  "C-c @ C-c"   #'hs-toggle-hiding
-  "C-c @ C-a"   #'hs-show-all
-  "C-c @ C-t"   #'hs-hide-all
-  "C-c @ C-d"   #'hs-hide-block
-  "C-c @ C-e"   #'hs-toggle-hiding
   "S-<mouse-2>" #'hs-toggle-hiding
+  "C-c @" hs-prefix-map
   "<left-fringe> <mouse-1>" #'hs-indicator-mouse-toggle-hidding)
 
 (defvar-keymap hs-indicators-map
-- 
2.51.0


--=-=-=
Content-Type: text/plain


-- 
- E.G via Gnus and Org.

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 21 Oct 2025 06:40:02 +0000
Resent-Message-ID: <handler.79569.B79569.176102876532034 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79569
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Cc: 79569 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Visuwesh <visuweshm@HIDDEN>
Received: via spool by 79569-submit <at> debbugs.gnu.org id=B79569.176102876532034
          (code B ref 79569); Tue, 21 Oct 2025 06:40:02 +0000
Received: (at 79569) by debbugs.gnu.org; 21 Oct 2025 06:39:25 +0000
Received: from localhost ([127.0.0.1]:49557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vB61l-0008Kc-CV
	for submit <at> debbugs.gnu.org; Tue, 21 Oct 2025 02:39:25 -0400
Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:50746)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1vB61i-0008KB-W3; Tue, 21 Oct 2025 02:39:23 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102])
 (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-202.mailbox.org (Postfix) with ESMTPS id 4crN1W4TXtz9t27;
 Tue, 21 Oct 2025 08:39:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1761028751;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=U5Rg1VH41STCBFXk62OucVNcoMHlIZPw00LyvH8FeAM=;
 b=NkXQtVzccN70bIkHretZtOeXJj0vU4ZZYF+g3svvbHEhXokOKjDWjcgKq9N4TSqSSBRzW/
 ycyspvBB/t38JnBpSURMBIQBh++NS9QzgrO5/47Ma09dRV5iuW5la1ueNJCV/AY9i7WylY
 Xy/K0NaDKeVrfzeRHWA6wYO1SxpR+tV7PK0HJSCMRKs9t4twaYLiYWCrK4uerJREGn0tzt
 CNLL07bik0U6UJbw/vimmAskhOIT3v7lQO7ldZV5lAnHWWUVuX42REkbvcolCg5R/0Qjil
 bYxn64olZU6i25Y3VfACiZvVJ8B26ryanNRP8Mb23ook4dIko7/C4m8IubgVzQ==
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87a51l81df.fsf@HIDDEN>
Organization: LINKOV.NET
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
 <87wm5admyg.fsf@HIDDEN> <87tszyqj7g.fsf@HIDDEN>
 <87ikg9a2fk.fsf@HIDDEN> <87a51l81df.fsf@HIDDEN>
Date: Tue, 21 Oct 2025 09:38:04 +0300
Message-ID: <878qh4n4j7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 79569 31.0.50
thanks

> Sending patch:

Thanks, this is pushed as well.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 21 Oct 2025 06:39:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 21 02:39:39 2025
Received: from localhost ([127.0.0.1]:49559 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vB61y-0008L8-Ok
	for submit <at> debbugs.gnu.org; Tue, 21 Oct 2025 02:39:39 -0400
Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:50746)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1vB61i-0008KB-W3; Tue, 21 Oct 2025 02:39:23 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102])
 (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-202.mailbox.org (Postfix) with ESMTPS id 4crN1W4TXtz9t27;
 Tue, 21 Oct 2025 08:39:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1761028751;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=U5Rg1VH41STCBFXk62OucVNcoMHlIZPw00LyvH8FeAM=;
 b=NkXQtVzccN70bIkHretZtOeXJj0vU4ZZYF+g3svvbHEhXokOKjDWjcgKq9N4TSqSSBRzW/
 ycyspvBB/t38JnBpSURMBIQBh++NS9QzgrO5/47Ma09dRV5iuW5la1ueNJCV/AY9i7WylY
 Xy/K0NaDKeVrfzeRHWA6wYO1SxpR+tV7PK0HJSCMRKs9t4twaYLiYWCrK4uerJREGn0tzt
 CNLL07bik0U6UJbw/vimmAskhOIT3v7lQO7ldZV5lAnHWWUVuX42REkbvcolCg5R/0Qjil
 bYxn64olZU6i25Y3VfACiZvVJ8B26ryanNRP8Mb23ook4dIko7/C4m8IubgVzQ==
From: Juri Linkov <juri@HIDDEN>
To: Elijah Gabe =?iso-8859-1?Q?P=E9rez?= <eg642616@HIDDEN>
Subject: Re: bug#79569: [PATCH] hideshow: Make the 'C-c @' prefix customizable.
In-Reply-To: <87a51l81df.fsf@HIDDEN>
Organization: LINKOV.NET
References: <878qhrfhl9.fsf@HIDDEN> <86ms67f8ww.fsf@HIDDEN>
 <877bxb6r8i.fsf@HIDDEN> <867bxbf438.fsf@HIDDEN>
 <87wm5admyg.fsf@HIDDEN> <87tszyqj7g.fsf@HIDDEN>
 <87ikg9a2fk.fsf@HIDDEN> <87a51l81df.fsf@HIDDEN>
Date: Tue, 21 Oct 2025 09:38:04 +0300
Message-ID: <878qh4n4j7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
Cc: 79569 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 Visuwesh <visuweshm@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 79569 31.0.50
thanks

> Sending patch:

Thanks, this is pushed as well.





Last modified: Tue, 21 Oct 2025 06:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.