Carsten Dominik <carsten.domi...@gmail.com> writes: > Did you restart Emacs? My idea was that the first time you call this, > you change the file name of a buffer, and the second time the problem > happens.
First, I only evaled my function anew, but now I tried with a new emacs instance and the error is still the same. But now I can see what happens (but I don't have a solution right now): - `C-x s' saves the modified org buffer (I checked that the changes are saved to disk) - my function is triggered cause it's in `after-save-hook' buffer locally - somehow the buffer associated with the saved org file uni.org is erased and org tries to insert an agendo into this buffer (only one propertized line) Week-agenda (W20): and the major mode is now `org-agenda-mode', which results in the error I posted when org tries to create the agenda page. Bye, Tassilo -- [Emacs] is written in Lisp, which is the only computer language that is beautiful. -- Neal Stephenson, _In the Beginning was the Command Line_ _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode