From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sDKaHoXEaGJLDwEAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 06:20:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4Pm2HoXEaGK4XwEA9RJhRA (envelope-from ) for ; Wed, 27 Apr 2022 06:20:21 +0200 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 2635D94AC for ; Wed, 27 Apr 2022 06:20:21 +0200 (CEST) Received: from localhost ([::1]:35502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njZA3-0007a3-Gk for larch@yhetil.org; Wed, 27 Apr 2022 00:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njZ9T-0007Zt-IL for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 00:19:43 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:41930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njZ9S-0004HE-2h for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 00:19:43 -0400 Received: by mail-pl1-x631.google.com with SMTP id s14so541247plk.8 for ; Tue, 26 Apr 2022 21:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=osE2pCVGGnOm50rpabwUhM5B9/eHSUXQGsRpI3RLGiQ=; b=cyAVsGMGEdcSUU6l2gR86ogiNJe75RsvygkINHZAtEU3LmVG4tF4y3MdK48U9nCucq hIKSm3R62VSJfoQefj7KrkuW02Jt3lecJyy7j3xUwDnJoNbnU8KI2ky9nyWNPVwTRrnW X2UfAFDzqYMw/+maOaNTaSKk4DOkmeh2mZpNpsduwhEplRR61eFB7vBkBhUkioWG334p nlcD+fbuf8xkCTpABzIIyw9bl3+o+nnaUn6GtuZFQJkB5+YKlN6eu9+t32yze5eY4+V6 SAnv3l8f42McIRs0MFVOAebjJOFon+4HoOuBBvVxvM0wmURfJvjPvyEJA9VmNtFvK8H9 eSdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=osE2pCVGGnOm50rpabwUhM5B9/eHSUXQGsRpI3RLGiQ=; b=uLRFXQPhHG9heIeJXBSk64HkEh0rFoH6v1e1+RXq/ngCi0bBX9UUUICm9XyYZsb0/U FEnQk0FYqwU0G/imxvEgzOlYZ0h9m+PXKv7abD1wqiwjyKdnacsNnaVBPssa/NhZQBQ+ mnaF4CRd3YHCrjV9LP1BupoOWcUHbU8jmhrYPPcjeHLMoBblHTzZdoTfJZ9en1Vps39I XE3JpUqqSayCrLNYGoPNsflgadLz67a1DGl1FxrUm8bxqvN/Ta7+K/9g6QtsaOjBOwcH lbLk5wojFiheZwemRI+Tyua7nOhuwyUalSSGDVsOXAEWieV/Z/vfsu+PLo0fR2/+tdgm mYMQ== X-Gm-Message-State: AOAM533iYQ6u+7gXQLBDbN+mpYMMmA7GFshuzeaeMRGgRVVXy9aemW6t AtXp+qMFHh5rI/99USlyti8= X-Google-Smtp-Source: ABdhPJySDWPpnOyhEAvtAjqlS7v75Rvw7p+8zx8VCJj2DA4ZLe5+FC+ZfcK57o2D1NXBwnahIgXJCg== X-Received: by 2002:a17:90b:688:b0:1d9:9ddd:1f71 with SMTP id m8-20020a17090b068800b001d99ddd1f71mr10799574pjz.207.1651033180415; Tue, 26 Apr 2022 21:19:40 -0700 (PDT) Received: from localhost ([23.27.206.157]) by smtp.gmail.com with ESMTPSA id v4-20020a622f04000000b005057a24d478sm16615739pfv.121.2022.04.26.21.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 21:19:39 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: [tip] Org speed commands improved In-Reply-To: <87pml4lzb4.fsf@posteo.net> References: <87pml4lzb4.fsf@posteo.net> Date: Wed, 27 Apr 2022 12:20:31 +0800 Message-ID: <87zgk7upgw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=yantar92@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651033221; 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: 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=osE2pCVGGnOm50rpabwUhM5B9/eHSUXQGsRpI3RLGiQ=; b=MwJbEyX+f3qHjY0cdKBVgK77jJMaajSnPH8uhdM5JGap32C7WKaXQCRP9kBrGoY6c5mUYn fUqO3v/Th13M9Git+vzGHn1tfUGWsniFgEDF3h6VmJhIjxcgRyKumoUnQOoxn4Xtwvee8E ZuntnVWJgcQ5xkSt2InF/a6UQSvtD1/2ctWiS+wj8YDlf/GkN0HJFUVpkOvA2SRFWoKdsc bWV4ZFd20tqrppOjv8l0as39wE9xPvUBUsjD0IkBtXtkHBm9Y5T7tKa4yjUrsFen5q81H9 BsdbgDm+eK0xgcWySTwmwSAkSTuzMqwXlE48Iv0lbrhanw0GsYn/TwphN38uGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651033221; a=rsa-sha256; cv=none; b=uPQVePytMUbGbuCYyJSVgoJymie8AWlIlMB1/gVLj2mrhVl0VPYrCn9RNaDwJhFT441jIA eLy4A0EAUMttAiDSWbT37+X0poTZ3gVUr1Kw4Ordb9ZVVgpMunMUznxLsP3TPbHw5O2Y53 uiyB7lR86BU4/bTINMuM8Bbvz4zK03F1U5THTTlHlgxvFr0Dl+yeqhIlqOIvVC18+43jqs ywmu7a8Mhht57owRi4UeVs5JQqqCP8RsXSkDh5jI9dyM2JmS24/bIdhkhwPCgZNB24G1Rt LEhy+aUdo9x3VQBpXOmnEirgJMLD/OQz3SSesiA6jzH4Fn5U2mmT4egdQ56rzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cyAVsGMG; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cyAVsGMG; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2635D94AC X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: e0cvhZkbbrWc Juan Manuel Mac=C3=ADas writes: > Org speed commands are a major productivity boost and I love them. > Lately it has occurred to me to make some modifications with the > following configuration, which I share here in case someone wants to try > it. The idea is that Org speed commands are activated anywhere in the > header (not just at the beginning of the line) *or* when point is at the > very beginning of the buffer. This, in my opinion, improves the > navigation speed: > ... > This also serves as a kind of write protection for the header titles. To > be able to edit them, we can use this function: If you are going this far with speed commands, you might as well switch to modal editing. What you are describing is basically a modal command map with ability to switch to insert map. Best, Ihor