zsh-workers
 help / color / mirror / code / Atom feed
* _complete_help fails in some contexts
@ 2021-05-07 21:53 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2021-05-07 21:53 UTC (permalink / raw)
  To: Zsh hackers list

This occurs for example when pressing ^Xh immediately after:

% : ${()

In this specific case it seems to be because _parameters never calls
_describe, so never goes through the _tags loop, which _complete_help
relies upon to populate its results.  It calls _description directly
(instead?).

On cursory inspection, most completion functions do one of:  call
_describe; call both _tags and _description; or call _description but
then call another function (such as _files) that does one of those
first two.

I haven't come up with a simple way to find examples other than
_parameters that never manage to call _tags at all.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-08 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 21:53 _complete_help fails in some contexts Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).