Hello, Mark Barton <mbarto...@gmail.com> writes:
> So I put back the mapping in org-key.el to map TAB instead of <tab> in my > local copy and instead commented out line 185 in outline.el to get TAB to map > to org-cycle. > > ——snippet from outline.el > (defvar outline-mode-cycle-map > (let ((map (make-sparse-keymap))) > (let ((tab-binding `(menu-item > "" outline-cycle > ;; Only takes effect if point is on a heading. > :filter ,(lambda (cmd) > (when (outline-on-heading-p) cmd))))) > (define-key map [tab] tab-binding) > (define-key map (kbd "TAB") tab-binding) > (define-key map (kbd "<backtab>") #'outline-cycle-buffer)) > map) > "Keymap used by `outline-mode-map' and `outline-minor-mode-cycle'.") > > Does that sound like the right thing to do? If so then I could submit > it to the Emacs dev list. There are multiple solutions to this. But, as I wrote, you ought to answer in the other thread I mentioned, the one that initiated this change, and probably to Emacs Devel. Regards, -- Nicolas Goaziou