Re: LaTeX-math-list: Binding on key sequences?

2021-07-18 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Thinking about the difficulty for full flexibility, it would be the best > we can do for now. It would be good to push forward that. Thanks for your comments. I updated the docstring and the manual and pushed the change. Best, Arash

Re: LaTeX-math-list: Binding on key sequences?

2021-07-16 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Well, currently this is the only solution we have in the lowercase > area. More uppercase and \C-prefixed options are available. But as you > said, a framework for full flexibility is not easy. Indeed. > What do you think about a change like this: Think

Re: LaTeX-math-list: Binding on key sequences?

2021-07-16 Thread Arash Esbati
Ikumi Keita writes: >> Arash Esbati writes: >> >> 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 thre

Re: LaTeX-math-list: Binding on key sequences?

2021-07-15 Thread Ikumi Keita
Hi Arash, > Arash Esbati 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. > |

Re: LaTeX-math-list: Binding on key sequences?

2021-07-15 Thread Arash Esbati
Hi Heiko, Heiko Schröder writes: Please always use the `Reply to all' function in your MUA when replying to a mailing list. Thanks. >> Try this: >>> (eval-after-load "latex" >>>'(progn >>> ;; Remove default binding. >>> (setq LaTeX-math-default >>>(delq (assq ?g LaTeX-

Re: LaTeX-math-list: Binding on key sequences?

2021-07-14 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: >> Heiko Schröder writes: >>  I tried: > > >> (setq LaTeX-math-list > >> '((''g a''  ''alpha'' ''Greek Lowercase'' 945))) > > >> with no success, as I expected.  Why was it possible to bind >> ''varepsilon'' to a key sequence? > >> Isn't it possible for no

Re: LaTeX-math-list: Binding on key sequences?

2021-07-10 Thread Ikumi Keita
> Heiko Schröder writes: >> I guess something in your "~/.emacs.d/macros/mymacros" causes problem. > > YES, YOU'RE RIGHT AS WELL!! Glad to hear that. > Although I wonder, why it should, because it is really, what it says:  > Keyboard macros, e.g. the most ''primitive'' way to enhance Emacs.

Re: LaTeX-math-list: Binding on key sequences?

2021-07-10 Thread Ikumi Keita
> Heiko Schröder writes: > This is the contents of my .emacs (after snip).  Aftwards (after snap) > there is the output of TeX-submit-bug-report > on the function eval-after-load as well. The following init.el works for me, i.e., after restarting emacs 27.1 on windows 10 and typing C-x C-f a

Re: LaTeX-math-list: Binding on key sequences?

2021-07-09 Thread Ikumi Keita
Hi Heiko, > Heiko Schröder writes: >> Try this: > Yes, I tried. >> >> (eval-after-load "latex" >> ... >> It works at least for me. > But not for me.  I loaded the whole function in .emacs, > but it did not succeed after a new start or loading. Hmm. I tried again and confirmed it does work

Re: LaTeX-math-list: Binding on key sequences?

2021-07-09 Thread Ikumi Keita
Hi Heiko, > Heiko Schröder writes: >  I tried: > (setq LaTeX-math-list > '((''g a''  ''alpha'' ''Greek Lowercase'' 945))) > with no success, as I expected.  Why was it possible to bind > ''varepsilon'' to a key sequence? > Isn't it possible for normal users?  ;-) The reason why th

Re: LaTeX-math-list: Binding on key sequences?

2021-07-08 Thread Vladimir Lomov
Hello, ** Heiko Schröder [2021-07-08 12:52:26 +0200]: > In AUCTeXs math-mode nearly all letters of the keyboard are bound to greek > letters. > Thererfore they are not available any more for commands, that are often > used. > I would like to bind e.g. the command for the letter ''alpha'' to the

LaTeX-math-list: Binding on key sequences?

2021-07-08 Thread Heiko Schröder
In AUCTeXs math-mode nearly all letters of the keyboard are bound to greek letters. Thererfore they are not available any more for commands, that are often used. I would like to bind e.g. the command for the letter ''alpha'' to the key sequence ''g a''. In /LaTeX-math-default /the command