On Sun, Dec 19, 2021 at 5:18 PM Tassilo Horn <t...@gnu.org> wrote: > > Hongyi Zhao <hongyi.z...@gmail.com> writes: > > >> What do you mean with "the actual characters corresponding to each > >> command"? Could you give an example/mockup of what you would like to > >> see in your example screenshot? > > > > Similar to the one given by company-math. > > Oh, allright. We would need to provide an :annotation-function in > `completion-extra-properties' which translates, e.g., \alpha to α.
Only such a function will do the tick for the predefined commands? > company-math seems to use some other ELPA package `math-symbol-list' for > that job which defines such a mapping. You're right. The package is named as `math-symbol-lists' [1-2], and the ELPA version is rather outdated. [1] https://github.com/vspinu/math-symbol-lists [2] https://elpa.gnu.org/packages/math-symbol-lists.html > So that sounds pretty doable to use that if it is installed, e.g., as an > optional dependency. > > Feel free to open a bug report for that with the above mentioned > details. (Also, feel free to attach a patch. ;-)) HZ