OK, thanks. I won't expect s-e to work all the time.
The following does not work.
(add-hook 'org-after-todo-state-change-hook
'alpha-org-after-todo-state-change-hook)
(defun alpha-org-after-todo-state-change-hook ()
(let ((alpha-oatsch (point)))
(if (alpha-org-entry-is-todo-type
On Jun 9, 2009, at 10:56 PM, Samuel Wales wrote:
Here is a minimal test case:
(save-excursion
(outline-up-heading 1 'invisible-ok)
(org-sort-entries-or-items nil ?a))
What happens is that point stays on the parent headline.
What I expect is for save-excursion to save point no
differently f