From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cFsWMm+492MvmwAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 20:03:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AAggMm+492OMBQEA9RJhRA (envelope-from ) for ; Thu, 23 Feb 2023 20:03:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F01B542F58 for ; Thu, 23 Feb 2023 20:03:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVGrH-00041m-St; Thu, 23 Feb 2023 14:02:23 -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 1pVGrF-00041I-QH for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 14:02:21 -0500 Received: from sanpietro.red-bean.com ([45.79.25.59]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVGrE-0005uH-25 for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 14:02:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=red-bean.com; s=202005newsp; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Reply-To:References:In-Reply-To:Subject:Cc:To: From:Sender:Content-ID:Content-Description; bh=NQcVsbFUonrlaOK406Lc/MZYFr7AAuwM5quO39wLPuI=; t=1677178937; x=1678388537; b=JAxVw5adDI+e4bHvdftcCUywJkpv6+JkCIQtrloaRnRYNYC8i2/JpFa7sRCA+zIl5jUa1N7XkRn JVU/5Gk9vKQ8rutLkrMiQ1hVj+HLO/LO8TMkGe1+YvDu82BYhLMWWVilKtM0FZUM08z2D8X7MJvjU JsSdGr3mjFdhTWo5txp5enPTrNRyCr3nR5MyNzJSR+FkDF13Do79WnljbUgpTFJNLFwOPY+4ODC8W MU925u2MYPvJS0d2Vpq66Z/fRU591cThJA84TzXoSBCck07pIrOmOzUTkAKdnOj0cIt20D89YO/H2 L5v65AtVmg3rrtcyShbnvGVsOyPSppIU6zVA==; Received: from 99-112-125-163.lightspeed.cicril.sbcglobal.net ([99.112.125.163]:51028 helo=floss) by sanpietro.red-bean.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pVGrA-00Fj7K-Fl; Thu, 23 Feb 2023 19:02:16 +0000 From: Karl Fogel To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode. In-Reply-To: (Max Nikulin's message of "Thu, 23 Feb 2023 09:35:46 +0700") References: <87k00aw43b.fsf@red-bean.com> <87356xws6i.fsf@red-bean.com> Date: Thu, 23 Feb 2023 13:02:15 -0600 Message-ID: <87mt54tdc8.fsf@red-bean.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.79.25.59; envelope-from=kfogel@red-bean.com; helo=sanpietro.red-bean.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Karl Fogel Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677178991; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NQcVsbFUonrlaOK406Lc/MZYFr7AAuwM5quO39wLPuI=; b=LN0bLx8BNjRM43qa/5zVLJCKzE4UNNkKmb+Rg/8hpGjHB+p5HrgfpkhVjyx5wWXsVhlDeY j1hXTb/uIsUxGJ7+hlbKG74KX+SPbfHR06n/HDGOVy2B+cZCY1cRwTwogpQdSO1nJjQAdu 9wlxgJWJLkNYJ8m0Z2cxH3M671MgCfQ91Maj96+Q/J803EQQCuZVDTTBBdZySM9H16aUmQ xcA/vKSh55qDzmqyl2Ak+76+mmKZm1QOINF6Tarde8sMVtAXPxpoJ+ILITV1s8upD2ohma GcAhWvEm61AoESwx8mpia0SHcBu2sIKWL7X0CXig9Uvjs3CAr7n7wQe3CWAotg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=red-bean.com header.s=202005newsp header.b=JAxVw5ad; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=red-bean.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677178991; a=rsa-sha256; cv=none; b=WXENV/N2IZpXdj9zsfeB9xfkZ2XP/c8lFshzVQG9gnMZO3MWrY3qXDZLAOBpp/QSC2S8To ZXZgLzacX579Ki25IwCtxlo63lry3yGhRzALgvZUvUYt0TDw/hdWmYz+m72DHEzbOHCENo zcgUjbnaDhjbrg8iqj16OVTFaDWb77UK3S3wdLmB05/sBlqr0fyErx6wtHiqIYeYpPz1oX /qDTpXcYw8eJv+cyNqIu7ZPoqcVla8k0zzb23GqTX8+lMVe9NS4eTgNSRI7/q5LtYbQpFA 1GufHqxiIrkQrTcqS+qSezIjY6oQgXB7Ju7XdVlG71cA8V+PcBRw82DWN8xzNQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=red-bean.com header.s=202005newsp header.b=JAxVw5ad; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=red-bean.com (policy=none) X-Migadu-Queue-Id: F01B542F58 X-Spam-Score: -2.61 X-TUID: W1YDQjSMHibm On 23 Feb 2023, Max Nikulin wrote: >On 23/02/2023 00:01, Karl Fogel wrote: >> =C2=A0(when (not (keymap-lookup nil "C-")) >> =C2=A0=C2=A0 (keymap-local-set "C-" 'org-fold-hide-subtree)) >> So FWIW C- is not bound in Org Mode buffers for me, in=20 >> Emacs >> 30.x (i.e., recent development builds). > >lisp/tab-bar.el:130: (unless (global-key-binding [(control=20 >tab)]) >lisp/tab-bar.el:131: (global-set-key [(control tab)]=20 >#'tab-next)) > >Minibuffer file cache completion should not be relevant to Org=20 >buffers. Ah, I don't use tab-bar at all (at least not as far as I know), so=20 I'm not 100% sure what the above is saying. Are you saying that the only current default binding for C-=20 in Emacs is that one in tab-bar.el, and therefore we should feel=20 free to rebind it in Org Mode? If so, we should still be=20 cautious, since Emacs has policies for maintaining the keybinding=20 space. Generally, the space "C-c C-" is reserved for=20 major modes, so ideally we should find something in there if we=20 can -- although Org Mode has used up a lot of that space already=20 :-), so I'm not sure what's left, unless we decide to swap out=20 some existing binding in favor of this one. (I realize this contradicts what I said in my inital post. I had=20 forgotten that C- was not part of the mode-reserved space.) Best regards, -Karl