Thomas Fitzsimmons writes: > [...] > The next one I'd like to get working is a similar recipe (again, with > eudc-capf-complete not present in message's > completion-at-point-functions): > > HOME=`pwd`/test emacs > C-: (setq message-expand-name-standard-ui t) > C-: (eudc-set-server "localhost" 'bbdb t) > C-x m > emacs-ertTAB > > Then I get " of eudc-capf-complete. This seems to be caused by misinterpreting the > results of eudc-query-with-words. What is 'message--name-table' > supposed to return, what is it returning, and why is its return value > producing " <..." in the output? I could use your input on how > completion-at-point is supposed to work here. I'll look into this tomorrow, and will let you know my findings. FWIW, I'm attaching a diagram of what I _think_ `completion-at-point` works like in general. Perhaps it will help understand how message-mode does completion? As you see in the diagram (and we learnt), `completion-styles` can cause some head-scratching, since it is used to filter any candidates lists returned by completion functions. See also [1]. [1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html Cheers, --alexander