Hi when I cycle using <shift>-TAB and I go from all->content, that is just the headlines, I often don't see the top headlines in the buffer, although there would be enough space to show them. The top is truncated and a "..." is shown and I need to do a ctrl-l or scroll upward to see everything.
I was wondering if it would be possible to automatically recenter when the cycle goes from all->content? I tried to change the org-cycle-hook to include a line like: ((eq state 'content) (recenter 1)) and I also tried to add a (recenter-top-bottom) in org.el where org-cycle-global-status is being set to 'contents. But couldn't get it to work... what's the correct place to do this and is there a reason not to recenter by default during this cycle operation? NB: in org-cycle-hook state is tested for 'content, should it be 'contents? org-cycle-hook and org-pre-cycle-hook list both content and contents and both show up in org.el, but org-cycle-global-state seems to be only set to 'contents Arun