* M-RET collisions (flyspell-correct-word-before-point)
@ 2006-11-09 19:57 Reiner Steib
2006-11-11 2:11 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2006-11-09 19:57 UTC (permalink / raw)
Hi,
the new[1] key binding of M-RET for `flyspell-correct-word-before-point'
collides with `message-newline-and-reformat' (Gnus, message-mode) and
`LaTeX-insert-item' (AUCTeX, LaTeX-mode).
As `flyspell-mode' is a minor mode, I think we should better bind
`flyspell-correct-word-before-point' to `C-c [punctuation]':
,----[ (info "(elisp)Keymaps and Minor Modes") ]
| The key sequences bound in a minor mode should consist of `C-c'
| followed by one of `.,/?`'"[]\|~!#$%^&*()-_+='. (The other punctuation
| characters are reserved for major modes.)
`----
Unfortunately `reftex-mode', a minor mode often used when writing
(La)TeX files, already binds some of the suggested characters [2].
(AUCTeX also uses some of these [3] although in LaTeX-mode, a major
mode.)
`C-c $' (in analogy to `M-$' for `ispell-word') might be an option for
`flyspell-correct-word-before-point'.
Bye, Reiner.
[1]
,----
| 2006-11-06 Richard Stallman <rms@gnu.org>
|
| * textmodes/flyspell.el (flyspell-correct-word-before-point):
| New function broken out of flyspell-correct-word.
| (flyspell-mode-map): Bind it to M-RET.
| (flyspell-correct-word): Call it.
`----
[2]
,----[ reftex-mode ]
| C-c & reftex-view-crossref
| C-c ( reftex-label
| C-c ) reftex-reference
| C-c - reftex-toc-recenter
| C-c / reftex-index-selection-or-word
| C-c < reftex-index
| C-c = reftex-toc
| C-c > reftex-display-index
| C-c [ reftex-citation
| C-c \ reftex-index-phrase-selection-or-word
| C-c | reftex-index-visit-phrases-buffer
`----
,----[ TeX-mode, LaTeX-mode ]
| C-c " TeX-uncomment
| C-c # TeX-normal-mode
| C-c % TeX-comment-or-uncomment-paragraph
| C-c ' TeX-comment-or-uncomment-paragraph
| C-c * LaTeX-mark-section
| C-c . LaTeX-mark-environment
| C-c : .. C-c ; TeX-comment-or-uncomment-region
| C-c ? TeX-doc
| C-c ] LaTeX-close-environment
| C-c ^ TeX-home-buffer
| C-c _ TeX-master-file-ask
| C-c ` TeX-next-error
| C-c { TeX-insert-braces
| C-c } up-list
| C-c ~ LaTeX-math-mode
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-11 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 19:57 M-RET collisions (flyspell-correct-word-before-point) Reiner Steib
2006-11-11 2:11 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).