Milan Glacier <news@milanglacier.com> writes:
The emacs documentation
(https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html)
suggests that "partial-completion" uses hyphens or spaces as word
separator. Is there a way to use other characters as the word
separator?
`completion-pcm-word-delimiters'?
This is very useful for other languages (say python, C) which usually
uses underscore as the word separator. Say I want to complete
`foo_bar`,
then I may just type `f_m` to complete `foo_bar`.
Hmm - the underscore is already in that delimiters list, so what you
want should work out of the box, unless I'm missing something. In
Elisp
it works for me, I can e.g. complete (epg-K_CR) to
(epg--status-KEY_CREATED).
Michael.