unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: M-RET collisions (flyspell-correct-word-before-point)
Date: Thu, 09 Nov 2006 20:57:31 +0100	[thread overview]
Message-ID: <v9ac30tmtw.fsf@marauder.physik.uni-ulm.de> (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/

             reply	other threads:[~2006-11-09 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09 19:57 Reiner Steib [this message]
2006-11-11  2:11 ` M-RET collisions (flyspell-correct-word-before-point) Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9ac30tmtw.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).