GNU bug report logs -
#53800
29.0.50; pcomplete does not search completion function in parent major mode
Previous Next
To reply to this bug, email your comments to 53800 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53800
; Package
emacs
.
(Sat, 05 Feb 2022 13:39:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
TAKAHASHI Yoshio <yfb02119 <at> nifty.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 05 Feb 2022 13:39:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 3 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.