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: Richard Stallman
Subject: Re: Convert some files from outline-mode to org-mode
Date: Wed, 29 Apr 2020 22:24:50 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > ;; 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)
  > )

Adding bindings for those commands might be good, but those key
bindings have problems.  C-TAB and S-TAB do not exist on ttys.
M-arrows may not exist either.


-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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