Subject: bug#60447: Incorrect keys for structure slots

From: Dmitry Gutov <[email-masked]>
Date: Wed, 13 Sep 2023 19:17:08 +0300

On 13/09/2023 19:11, Stefan Kangas wrote:
> Emily Seville<[email-masked]>  writes:
> 
>> Original issue: open
>> Emacs: 27.1
>> Steps to reproduce:
>>
>> 1 Install this package via M-x package-install RET company
>> 2 Switch to*Scratch*  buffer
>> 3 M-x company-mode RET
>> 4 Type (cl-defstruct person (name :re and see this incorrect suggestions
>> 5
>> image.png
>>
>> Expected behavior: 3 listed keys shown explained in documentation⚠️.
>> Workaround: not found
> Dmitry, could you take a look at this?

This behavior is just what elisp-completion-at-point gives us.

You can also see the same completions by hitting 'C-M-i'.

So it's something to be improved, but not in company-mode.