emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert some files from outline-mode to org-mode


From: Stefan Kangas
Subject: Re: Convert some files from outline-mode to org-mode
Date: Wed, 29 Apr 2020 16:03:16 +0200

Howard Melman <address@hidden> writes:

> ;; I can never remember the outline keybindings,
> ;; grabbing C-tab and S-Tab from org-mode is genius
> ;; Also make the outline move commands memorable (borrowing from org)
> (with-eval-after-load "outline"
>   (define-key outline-minor-mode-map (kbd "C-<tab>") 'org-cycle)
>   (define-key outline-minor-mode-map (kbd "S-<tab>") 'org-global-cycle)
>   (define-key outline-minor-mode-map (kbd "M-<left>") 'outline-demote)
>   (define-key outline-minor-mode-map (kbd "M-<right>") 'outline-promote)
>   (define-key outline-minor-mode-map (kbd "M-<up>") 'outline-move-subtree-up)
>   (define-key outline-minor-mode-map (kbd "M-<down>") 
> 'outline-move-subtree-down)
> )

Yes, this would completely remove (from my point of view) any need of
switching from outline-mode to org-mode, as I originally suggested.

So we need to untangle 'org-cycle' and 'org-global-cycle' from
org-mode and move the functionality to outline-mode, and the rest are
just keybindings.  It would be very good if someone would work on a
patch along those lines.  I hope that this proposal is uncontroversial
also to outline-mode users.

Best regards,
Stefan Kangas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]