Anoncheg,

Part1: In Emacs there is a super useful command: C-u C-space set-mark-command
that allow to return to recent place where you was doing anything. 🤘
But I have problem with this command in Org-mode - it doesn't expand headers
tree and text around it header was fold. 💔
The reason for this was in "Sparse Tree" feature and historical approach:
entire document is folded as much as possible.
That is why, as I understand, (org-fold-show-entry) and (outline-show-entry)
hide some headers and text.⛇
To show this text there is command for it:
C-c C-r (org-reveal)
I don't know why this command require '(4) parameter to work properly. ¯_(ツ)_/¯

I wrote hook that will automatically call org-reveal with appropriate
parameter '(4):
(add-hook 'org-mode-hook (lambda ()
(advice-add 'org-fold-show-context :after (lambda (&rest args) (org-reveal '(4)) ))
))

-mode

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines