[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Reftex extra keybindings
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX] Reftex extra keybindings |
Date: |
Sun, 05 Aug 2018 21:09:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 |
Waleed Yousef <address@hidden> writes:
> Thanks so much; I have a suggestion. Why hitting C-c s itself
> repetitively does not do the job and invoke tags-loop-continue
I think in general, this is not the Emacs way to repeat commands. Emacs
comes with a function named `repeat' which you can consider:
,----[ C-h f repeat RET ]
| repeat is an interactive autoloaded Lisp function in ‘repeat.el’.
|
| It is bound to C-x z.
|
| (repeat REPEAT-ARG)
|
| Repeat most recently executed command.
| If REPEAT-ARG is non-nil (interactively, with a prefix argument),
| supply a prefix argument to that command. Otherwise, give the
| command the same prefix argument it was given before, if any.
|
| If this command is invoked by a multi-character key sequence, it
| can then be repeated by repeating the final character of that
| sequence. This behavior can be modified by the global variable
| ‘repeat-on-final-keystroke’.
|
| ‘repeat’ ignores commands bound to input events. Hence the term
| "most recently executed command" shall be read as "most
| recently executed command not bound to an input event".
`----
I haven't tested it.
Best, Arash