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

Previous Next

Package: org-mode;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Mon, 12 Oct 2020 13:41:02 UTC

Severity: wishlist

Tags: moreinfo

Merged with 43954

To reply to this bug, email your comments to 43955 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43955; Package emacs. (Mon, 12 Oct 2020 13:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 12 Oct 2020 13:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: two friendlier org-speed default commands
Date: Mon, 12 Oct 2020 09:40:20 -0400
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-default)
   (defun org-speed-narrow-widen-subtree ()
     (if (/= (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: = org-columns

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

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




Forcibly Merged 43954 43955. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 06 Jun 2022 17:45:03 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs,org-mode' to 'org-mode'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 06 Jun 2022 17:47:01 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 10 days ago.

Previous Next


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