thanks everyone~ additional to a 'g' shortcut key is work fine. i know kill-buffer is not appropriate in this situation, but I define shortcut key 'f2' -> kill-this-buffer. and I have a habit use f2 to close current window buffer. RET-->open heading buffer--> make change --> f2 kill-buffer, and return the org-agenda view. error occur in this case. thanks. 2011-06-11 zw963 发件人: Nick Dokos 发送时间: 2011-06-09 22:24:50 收件人: zw963 抄送: nicholas.dokos; emacs-orgmode 主题: Re: [O] org-agenda-custom-commands have a serious bug!? zw963 wrote: > 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..... > > only I quit org-agenda-commands buffer, and reenter,i can work file. > I can't reproduce this with the standard agenda view on Org-mode version 7.5 (baseline.265.gcfb05) If it requires the custom agenda view to reproduce, you have to provide that. What version of orgmode are you using? See section 1.4, "Feedback", of the manual on how to report a bug. Nick