* bug#53800: 29.0.50; pcomplete does not search completion function in parent major mode
@ 2022-02-05 13:37 TAKAHASHI Yoshio
0 siblings, 0 replies; only message in thread
From: TAKAHASHI Yoshio @ 2022-02-05 13:37 UTC (permalink / raw)
To: 53800
hi,
Is there any reason that `pcomplete-find-completion-function' does not
search a completion function in parent major mode?
My use case is:
- In org-mode, I define some `org-link-abbrev-alist' enties.
I can complete LINK in org-mode buffers, because org-mode defines
`pcomplete/org-mode/link' in org-pcomplete.el.
- But, in org-journal-mode buffers, that derived from org-mode, LINK
completion fails. Nobody defines `pcomplete/org-journal-mode/link'.
org-journal-mode will be able to define those pcomplete functions by
itself as defalias to org-mode's counterpart. but if p-f-c-f searchs
parent, grand parent, ... major mode during find completion function,
p-f-c-f can find a completion function in parent major mode, and it
will work in derived mode buffers.
--
tkh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-05 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-05 13:37 bug#53800: 29.0.50; pcomplete does not search completion function in parent major mode TAKAHASHI Yoshio
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.