From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uIKfOR/HjWCnHwEAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 23:24:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wNUlNR/HjWDgAgAAbx9fmQ (envelope-from ) for ; Sat, 01 May 2021 21:24:47 +0000 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 4CFF71A748 for ; Sat, 1 May 2021 23:24:47 +0200 (CEST) Received: from localhost ([::1]:33318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcx6T-0000zB-4E for larch@yhetil.org; Sat, 01 May 2021 17:24:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcx65-0000z0-VV for emacs-orgmode@gnu.org; Sat, 01 May 2021 17:24:21 -0400 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:42762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcx64-0006tE-Bz; Sat, 01 May 2021 17:24:21 -0400 Received: by mail-qk1-x732.google.com with SMTP id o27so1673137qkj.9; Sat, 01 May 2021 14:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:in-reply-to :message-id:date:mime-version; bh=mktbigElgf97WGD8SBsRnH0JGMawXzDysrKa5ANrykU=; b=WLgijnla1Kax55YDVE/lPr2G6bkR2ZAmmVlawJiCPnXhPYk4rID1mI+jNlrGdIWrpx lKgUYKB+HfLc2SQXLls3+KWV12QttqSqz3gGaTUX0JtglvZhgDYBqAD8g2m1xRy/Y+yI nCfm446iokeeibKKOme4YYJVqT/qa/DgMMD4iiXlh/fJhVUX0d+j9fBdy2n6nt7qpCS9 66VdX2MMh7RxgLvrccf5iYn7QZzGgDH0VBbnmPoBgH/13rOvSEsNWJaP7EFvR8W2GKU6 AQ9PEhdCDFMTNiIIZE26FU6Zkzf7exISqU44SsjeO+czHk+qFuMcEoL/du2umNjskyCF OmaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=mktbigElgf97WGD8SBsRnH0JGMawXzDysrKa5ANrykU=; b=lEgzy4tFDW1h6aotIAorMFpSHqikt0LPTg/PeHdE1gnB/MxkiZcGPl8VEAqZ81ZNAR PoPBnvOxNieOekM55MBAANlVIQx+05Ws2dNolUDSSwoTdwiZv/3CrCDKmOoCt+kP1Exl xmn26rDpSLRPE4MiOR2AEYcNKzZrVCF9toesMBEXlVPVffutAivZv40/qVn3L2V+rvUP JkU3CRsW9SqZuR4lQcy9afelbgw69GWaT8og3rBFmnAE6oEXyP5kUZVyJZcRLfcyy4iv 8WJpYiVyJgHD8ybrMeiPtn69h1F8AcJJ2/YT5dYVn+jQGLwbnAWS7WbzQiwy/ibMslp+ PRcw== X-Gm-Message-State: AOAM533V/X4A2RlCCJnKxTMpQKzajtxeOAVryorTymTGzEXnY8JqQ2tr GWknwsGQhsG/HKn92TqLwm/IkokX/pELmA== X-Google-Smtp-Source: ABdhPJyp0xKOfWk1ekn4CxCKhSztA5OH3xlOzEJ5n/Fn84UH28QDEUYa8y5fNO+pPsIVFDp+GkZmwQ== X-Received: by 2002:a37:9e49:: with SMTP id h70mr11664692qke.419.1619904258883; Sat, 01 May 2021 14:24:18 -0700 (PDT) Received: from gusbrs-laptop ([156.146.42.130]) by smtp.gmail.com with ESMTPSA id z17sm5265034qtf.10.2021.05.01.14.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 14:24:18 -0700 (PDT) References: <87v9hzzhrn.fsf@gmail.com> <87v982a0c8.fsf@bzg.fr> User-agent: mu4e 1.4.15; emacs 27.2 From: Gustavo Barros To: Bastien Subject: Re: [Feature Request] More flexibility in org-speed-commands customization In-reply-to: <87v982a0c8.fsf@bzg.fr> Message-ID: <87wnsignb5.fsf@gmail.com> Date: Sat, 01 May 2021 18:24:14 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::732; envelope-from=gusbrs.2016@gmail.com; helo=mail-qk1-x732.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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619904287; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mktbigElgf97WGD8SBsRnH0JGMawXzDysrKa5ANrykU=; b=Ykjkl3cWX4h0nva02JsiQSl3woiS7FxxZwAShcgTeMjqIg/tLg5ipkgc1r8m/7Gvykh3Fb bOSJpwEAXR6vrbWm/lV4ela6CgyRJazoaCn3jUHZy2Z8jcBa4XHAaR1QdlZRLz2dfig4OH OAoxZq/5m9lyn06xeeif1c1smE+o1Y77gMMX1QrGZSOVpSjb9uUCJpxA5MT2LEOs7xWQ1J EQYzuceAM6e8oIyK+cU6LnhtLLoN/BPx+GyaXyhiUetn1qs+fDBR7VzBZfWBJZbLmDTICm btAssQ316Y6hQrTS5L+jL/yclUocrwAf2PoL9giG7HfYBtvHm5dnIhQOkUyJ8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619904287; a=rsa-sha256; cv=none; b=ec4Va10iYwqM2AzHMrzmgiDlddZ/uaz0fL5V0BnzO4M86kvq0lV5GU32U0pHPAlGW3f9lV kw44lkU0xwgGqj8vX1ee9h6OSIX8fQTb4603MzLXz8GqbVzFC1RPExZk2Jwe+jVAG5sBzh r+GNfE0M6IFzHVNuP+kCYIwyM0sOgsTBelpPlKL9j8AnaxiygNoNOydNvDU+VsY8kiI0ly ReXMRbAxhLOnafGwU917Dm1GTlopgoARYKp0phcY+fKTCt1+jsPpfc9+8xF0SwyMPXtHTl 8asf3+/a+9ek/pPd2ELMlb32Ff6BlkEJhNsZQYtChvGPOrT/bSCOudX4R0FLxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=WLgijnla; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=WLgijnla; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4CFF71A748 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: j23DFkHRhXXi Hi Bastien, On Sat, 01 May 2021 at 13:24, Bastien wrote: > Hi Gustavo, > > Gustavo Barros writes: > >> I don't know if there is a strong reason to hard-code the set of keys >> in `org-speed-commands-default'. But, if there isn't, could you >> consider (somehow) exposing the whole set of `org-speed-commands' to >> user customization? > > Well, no, I don't see a strong reason to hard-code the set of speedy > keys. See the attached patch, which proposes to use just one option > `org-speed-commands'. > > This would be a breaking change, but I don't think we do otherwise. > > Would this suit your needs? What do you think about the change? Thank you for seeing to this. Yes, the patch corresponds pretty much to what I had in mind. That's the way I'd go there too. And it's not about my needs here, I can verify it is safe to override the defconst and do so (as indeed I do). I was thinking more of that kind of user which would be uncertain if they could, and might eventually refrain from using a nice feature for framing it an "expert kind of stuff". A possible way to mitigate breakage here can be at hand, since we ended up with a third name (a proper one, btw). You could mark `org-speed-commands-user' as obsolete but keep it, for the due time as usual, and append it to `org-speed-commands' somehow (no need to distinguish them in `org-speed-command-help' though). Those who had overriden `org-speed-commands-default' are on their own, of course, as they shouldn't have done that in the first place. ;-) Best regards, Gustavo.