Get information about input method command(s).
function returns information about the command
of the input method specified by
An input method command is a pseudo key event to which one or more actual input key sequences are assigned.
There are two kinds of commands, global and local. A global command has a global definition, and the description and the key assignment may be inherited by a local command. Each input method defines a local command which has a local key assignment. It may also declare a local command that inherits the definition of a global command of the same name.
this function returns information about a global command. Otherwise information about a local command is returned.
information about all commands is returned.
The return value is a
plist (Property List) of this format:
((NAME DESCRIPTION STATUS [KEYSEQ ...]) ...)
is a symbol representing the command name.
is an M-text describing the command, or
if the command has no description.
is a symbol representing how the key assignment is decided. The value is
(the default key assignment),
(the key assignment is customized by per-user customization file), or
(the key assignment is set by the call of
minput_config_command()). For a local command only, it may also be
(the key assignment is inherited from the corresponding global command).
is a plist of one or more symbols representing a key sequence assigned to the command. If theres no KEYSEQ, the command is currently disabled (i.e. no key sequence can trigger actions of the command).
the first element of the returned plist contains the information about
If the requested information was found, a pointer to a non-empty plist is returned. As the plist is kept in the library, the caller must not modify nor free it.
Otherwise (the specified input method or the specified command does not exist),