GNU bug report logs - #43955
two friendlier org-speed default commands

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: org-mode; Severity: wishlist; Reported by: Boruch Baum <boruch_baum@HIDDEN>; Keywords: moreinfo; merged with #43954; dated Mon, 12 Oct 2020 13:41:02 UTC; Maintainer for org-mode is emacs-orgmode@HIDDEN.
bug reassigned from package 'emacs,org-mode' to 'org-mode'. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Forcibly Merged 43954 43955. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 12 Oct 2020 13:40:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 12 09:40:31 2020
Received: from localhost ([127.0.0.1]:41962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kRy3z-0000Kh-E0
	for submit <at> debbugs.gnu.org; Mon, 12 Oct 2020 09:40:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:44356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1kRy3x-0000Ka-Hc
 for submit <at> debbugs.gnu.org; Mon, 12 Oct 2020 09:40:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50008)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1kRy3x-0003Rv-Ah
 for bug-gnu-emacs@HIDDEN; Mon, 12 Oct 2020 09:40:29 -0400
Received: from mout.gmx.net ([212.227.17.20]:36563)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1kRy3t-0007w6-Cf
 for bug-gnu-emacs@HIDDEN; Mon, 12 Oct 2020 09:40:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1602510023;
 bh=PJW6kzOfdfj+kQNT/STamedNrxppBO9nv1IAKkllngY=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=QUolk5P8ankihG6JYRPafybtXfWjsFY676WTLfoEXaX0OHkzaL/vuPAB0uXbRTGSI
 yAD0PCjVDgy1p/axVXaGT+QdBVIeXl5v23boEh0rG7JLFnp68QHcoEEn9uyAki8K/j
 6CJX4R+Y51OXHonLT3cc28cSm4uRDkBQIO4kIRmU=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([72.89.170.172]) by mail.gmx.com
 (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MEV3C-1khvZs47wo-00G0Qy for <bug-gnu-emacs@HIDDEN>; Mon, 12 Oct 2020
 15:40:23 +0200
Date: Mon, 12 Oct 2020 09:40:20 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: two friendlier org-speed default commands
Message-ID: <20201012134020.m3dny3n7njbwdfhh@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:f8bvzTa4FtwhojNegoC6p/idHOmVoZwPpNC1if/EDOj+epxrTiV
 WgMTtxu0auvJY7E1jB8ijRRoYesJXBvbcfTlSi4bEPzIkFVp6L0MQX7qV1SVYZSW1/D1FwA
 5aooTJeyBoyFvtf3xTRMqRLu/YnKxkjXDrz9jO+2QCJz3JpDD08QFDOuLDjtnP4J+PJeRnb
 d/V+j4ObZanUlaFJdTFZg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Eov8dVlFY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znhwnQCJyHsY
 llR48OibEB6FdzYhivYXmLs/XBvN9NyHqfP3HMtyMEvJt4rdokWB2qmlfUpagZ7c5hXaiL4DF
 t/g5rwQMcoldZH+GgbnWTws+keMNyHDRKxgb6XoJfQHIKs7AVVPBNq2Nvgbt719WJbRMwAp5p
 LzLh4EuEw0YiU3vweLQauv9abhLNbSJzaAtnOdFHHid5BAggjK19mN8jFOJs0mIB9mPqBpmfO
 Hpcp5yLA+l9XGpeAVvqLfBqD5OchZYGc91hLJHA==
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.17.20; envelope-from=boruch_baum@HIDDEN;
 helo=mout.gmx.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 09:35:13
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)

When POINT is on the first column of an org-heading, org-mode makes
available a set of 'speed-commands'. However, some of those commands
have exit/undo methods that are unintuitive. The following code offers
examples of how to improve two of those situations. If you want me to
re-submit the code as a patch with associated NEWS entries, let me know,
along with any changes you need.

Case #1: S - org-narrow-to-subtree

   #+BEGIN_SRC emacs-lisp
   (push '("s" . org-speed-narrow-widen-subtree) org-speed-commands-defaul=
t)
   (defun org-speed-narrow-widen-subtree ()
     (if (/=3D (point-min) (point))
       (call-interactively 'org-narrow-to-subtree)
      (widen)
      (message "Pro tip: Use M-x widen, %s"
               (key-description (where-is-internal 'widen nil t)))))
   #+END_SRC

Case #2: =3D org-columns

   #+BEGIN_SRC emacs-lisp
   (push '("=3D" . org-speed-columns) org-speed-commands-default)
   (defun org-speed-columns ()
     (if org-columns-overlays
       (org-columns-quit)
      (org-columns)))
   #+END_SRC

=2D-
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43955; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 6 Jun 2022 18:00:02 UTC

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