Hi Thierry,
Thanks for your answer.
unfortunately I did same thing in "scratch" buffer , still doesn't work. I tried following things.
1. replace the regexp to "#pragma mark" . (I had use "M-x re-builder" to verify that it should match)
2. invoke emacs like this "emacs -q" and load helm-misc.el helm.el manually
3. I found an example in helm-misc.el "helm-c-source-fixme" , I replace my var "helm-c-source-objc-headline" with it and I found it could not list "\\TODO" .
4. I tried helm-mini , they worked fine !
I am using GNU Emacs 24.1.1 under Mac OSX lion , Terminal.app. And the master branch of helm. (pulled latest change yesterday).
I tired to debug the "helm-headline-get-candidates" function however no clues found.
Could you please give me some more hints on this ? e.g. I should check which function's return value?
Thanks!
Bob Cromwell