[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
M-RET collisions (flyspell-correct-word-before-point)
From: |
Reiner Steib |
Subject: |
M-RET collisions (flyspell-correct-word-before-point) |
Date: |
Thu, 09 Nov 2006 20:57:31 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) |
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 <address@hidden>
|
| * 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/
- M-RET collisions (flyspell-correct-word-before-point),
Reiner Steib <=