Timeline for Start Emacs Markdown Mode in CONTENTS view
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 14, 2022 at 9:25 | comment | added | joharr | Just for reference, from your first version I used just one line, :preface (defun my/markdown-OVERVIEW () (markdown-cycle t)), which got me to OVERVIEW. Your edited code does get me directly into CONTENTS view, but with one disadvantage: 1st S-TAB (bound to markdown-shifttab) reports "OVERVIEW" though nothing has changed in the buffer; 2nd S-TAB reports "CONTENTS", again no change in the buffer; 3rd S-TAB successfully gets SHOW ALL, and from then cycles through those three views as expected. Any ideas how to get S-TAB immediately fully functional? | |
| Sep 13, 2022 at 16:53 | history | edited | amitp | CC BY-SA 4.0 | Previous hack didn't work, suggesting new even worse hack |
| Sep 13, 2022 at 16:51 | comment | added | amitp | Oh wow, that markdown-cycle code didn't work like I thought. I think at this point the simplest thing is to copy the code from markdown-cycle :-( so I will update my answer. | |
| Sep 12, 2022 at 19:39 | comment | added | joharr | That partially works in my configuration: only the first (markdown-cycle t) is respected, getting me to OVERVIEW (then the first S-TAB has no effect). | |
| Sep 12, 2022 at 16:02 | history | answered | amitp | CC BY-SA 4.0 |