问题
I am learning tags in Emacs org-mode, but I found when using C-c / m (aka org-sparse-tree -- Show entries selected by a tags/property match) or C-c \ (aka org-match-sparse-tree) to search tag in a buffer, TAB does NOT give auto-completion. In many other cases in org-mode, TAB always does the job but not here. How can I solve this problem?
回答1:
After I set up the org-agenda-files, the autocompletion works, and it only gives the candidate tag names from members of org-agenda-files. I thought autocompletion would work within the buffer, even though the agenda files were not set. But it seems that that is not the case.
来源:https://stackoverflow.com/questions/24571109/auto-completion-for-org-sparse-tree-and-org-match-sparse-tree