From: Karl Fogel <email@example.com>
To: Max Nikulin <firstname.lastname@example.org>
Subject: Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.
Date: Wed, 22 Feb 2023 11:01:09 -0600 [thread overview]
Message-ID: <email@example.com> (raw)
In-Reply-To: <firstname.lastname@example.org> (Max Nikulin's message of "Wed, 22 Feb 2023 22:57:34 +0700")
On 22 Feb 2023, Max Nikulin wrote:
>On 22/02/2023 14:29, Karl Fogel wrote:
>> I put it on "C-<tab>" because that's normally unbound in Org
>> and because so many of the Org Mode cycling commands involve
>> modified tab already.
>Perhaps C-<tab> is not the best choice:
>author Bastien Mon Jun 1 14:39:28 2020 +0200
>Bind `org-force-cycle-archived' to C-c C-TAB
>* lisp/org-keys.el (org-mode-map): Bind
>to C-c C-TAB instead of C-TAB to avoid conflict with native Emacs
Ah, clearly it is not a good choice -- thank you for noticing
I think there are two separate questions here:
1) Would it be useful to bind `org-fold-hide-subtree' by default?
2) If yes to (1), then is there a good key to bind it to? (C-c
C-something, I guess.)
If we agree on (1), then let's figure out the answer to (2). I
don't know if anyone else agrees about (1) yet, though.
By the way, the binding in my Org Mode hook looks like this:
(when (not (keymap-lookup nil "C-<tab>"))
(keymap-local-set "C-<tab>" 'org-fold-hide-subtree))
So FWIW C-<tab> is not bound in Org Mode buffers for me, in Emacs
30.x (i.e., recent development builds). However, I agree with
Bastien's logic: C-<tab> is not in the reserved keymap space, so
Emacs might bind it (and perhaps does bind it in other modes).
I don't know how widely-used `org-cycle-force-archived' is (that's
the new name of that function). I don't use it, personally, so if
we decide against (1)+(2) above, then perhaps I'll just override
that binding for myself instead.
next prev parent reply other threads:[~2023-02-22 17:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 7:29 PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode Karl Fogel
2023-02-22 15:57 ` Max Nikulin
2023-02-22 17:01 ` Karl Fogel [this message]
2023-02-23 2:35 ` Max Nikulin
2023-02-23 4:48 ` Samuel Wales
2023-02-25 8:01 ` Key binding in help (was: Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.) Max Nikulin
2023-02-25 23:32 ` Samuel Wales
2023-03-08 15:27 ` Max Nikulin
2023-02-23 19:02 ` PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode Karl Fogel
2023-02-25 0:13 ` Karl Fogel
2023-02-25 11:26 ` Max Nikulin
2023-02-25 17:33 ` Karl Fogel
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).