Re: [Orgmode] [PATCH] Always run org-insert-heading-hook when creating headlines

2010-09-29 Thread Carsten Dominik
Hi Bernt, this patch does not work, it calls the hook also after inserting a new item. Please fix it by first reverting, and then call the hook also inside the if clause, right after (insert \n) - you need progn then, of course. Thanks. - Carsten On Sep 26, 2010, at 4:15 PM, Bernt

[Orgmode] [PATCH] Always run org-insert-heading-hook when creating headlines

2010-09-29 Thread Bernt Hansen
* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when creating the first heading in a file The org-insert-heading-hook was skipped when creating the first heading in a new org file. --- Carsten, You're correct -- I completely missed the list details on this one. Here's an

[Orgmode] [PATCH] Always run org-insert-heading-hook when creating headlines

2010-09-26 Thread Bernt Hansen
* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when creating the first heading in a file The org-insert-heading-hook was skipped when creating the first heading in a new org file. --- I use an hook which creates an inactive timestamp for new headings. This was reported by