I am trying out org-mode in emacs. Strangely, after hooking
text-mode, whenever I press
<RET> key on headlines, the mini-buffer shows
Wrong type argument: stringp, nil
And nothing happens. Similar things happen to normal text region after I use
<alt>-q for column filling.
This issue do no present if I don't hook it to
text-mode and only manually invoke it after opening a file.
What could be causing the issue? Is there any way to debug it?