GNU bug report logs -
#59314
29.0.50; EUDC and message-mode header completion
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Thomas Fitzsimmons <fitzsim <at> fitzsim.org> 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 " <emacs-ert-test-", the same as your result, in the absence
> 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
[Emacs CAPF.png (image/png, attachment)]
This bug report was last modified 2 years and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.