Hi Arash,

>>>>> Arash Esbati <[email protected]> writes:
> Reading this thread, I think the docstring of `LaTeX-math-list' doesn't
> mention this possibility at all:

> ,----[ C-h v LaTeX-math-list RET ]
> | LaTeX-math-list is a variable defined in ‘latex.el’.
> | 
> | Alist of your personal LaTeX math symbols.
> | 
> | Each entry should be a list with up to four elements, KEY, VALUE,
> | MENU and CHARACTER.
> | 
> | KEY is the key (after ‘LaTeX-math-abbrev-prefix’) to be redefined
> | in math minor mode.  If KEY is nil, the symbol has no associated
> | keystroke (it is available in the menu, though).
> | 
> | [...]
> `----

> Adding "Key sequence" with a string as KEY is missing.

Yeah, I think it should be updated, too. However, I feel that it's not
enough just to mention that KEY can be a string describing key sequence.
As I experienced first in this thread, if a key sequence KEY begins with
an entry in LaTeX-math-default which is already bound to another
command, `define-key' returns error. That would be hard for users
without elisp knowledge to understand why.

A framework such that key sequence specification in LaTeX-math-list can
override LaTeX-math-default in such cases would be preferable. However,
I couldn't think of an easy way to do so.

> I also think we should give users a key for personal key sequences
> instead of replacing the predefined ones.  A list of keys used by
> `LaTeX-math-default' is attached below.  'o' seems to be free in the
> lowercase area.  What do you and others think?

It wouldn't hurt to just suggest `o'. However, we have to anticipate
that there are some users who aren't satisfied with only single fixed
prefix "` o" left for customization. So I don't think it's an enough
solution.

Regards,
Ikumi Keita

Reply via email to