On 9.6.2011, at 14:15, Memnon Anon wrote: > "zw963" <zw...@163.com> writes: > >> i have use org-agenda-custom-commands manage my thought and idea. when >> open my agenda custom view, I often require modified some heading >> content. when I use org-agenda-switch-to (shortcut key "enter") open >> and make changes, save and kill this buffer return to >> org-agenda-command window, move point to other heading, but it have a >> error tips."wrong type argument: stringp,nil" if i try to open other >> heading use "enter",I open a unpredictable org buffer. what a >> horrible.....
This is to be expected. The agenda links back to the buffers using markers. Killing the buffers invalidates all the markers. So: don't kill the buffer! >> >> only I quit org-agenda-commands buffer, and reenter,i can work file. A cheaper way to fix this is to rebuild the agenda buffer with "g". - Carsten > > Ui, this sounds serious... > It would help tremendously if you could provide a minimal example > so that others can easily reproduce your setup and the problem. > > Memnon > >