From: Juri Linkov <juri@jurta.org>
Cc: k.stevens@ieee.org, ispell-el-bugs@itcorp.com, emacs-devel@gnu.org
Subject: Re: ispell-region with M-$ in transient-mark-mode
Date: Wed, 19 Jan 2005 09:46:48 +0200 [thread overview]
Message-ID: <87hdldkgim.fsf@jurta.org> (raw)
In-Reply-To: <01c4fde1$Blat.v2.2.2$f4f851c0@zahav.net.il> (Eli Zaretskii's message of "Wed, 19 Jan 2005 06:46:16 +0200")
"Eli Zaretskii" <eliz@gnu.org> writes:
>> From: Juri Linkov <juri@jurta.org>
>> It's very intuitive to work on the active region when the user has
>> explicitly selected it in Transient Mark mode.
>
> Yes. But word commands are IMHO not the ones that should be sensitive
> to active region.
Word commands executed on active regions can be interpreted as
commands that should operate on every word in the region.
>> I suggested to add this to `ispell-word' because M-$ is only one
>> keybinding available to active ispell.
>
> If that's the main reason, let's have a key binding for ispell-region.
> (Of course, you can always bind it yourself if this is so important
> for you.)
I have plenty of personal key bindings in my .emacs. What I want is
to make default key bindings useful for most Emacs users.
Adding a new key binding for ispell-region is not a bad solution.
Perhaps most natural is `C-x M-$' by analogy with `M-u' - `C-x C-u',
and `M-l' - `C-x C-l'. And also `fill-region' could be bound to
`C-x M-q', and `eval-region' to `C-x C-M-x'.
I also have a better idea for ispell-region. Currently `C-u M-$'
resumes spell-checking interrupted by the `X' command. When there is
no interrupted ispell session then `C-u M-$' just displays the message:
No session to continue. Use 'X' command when checking!
Instead of this, I propose to call the command `ispell' which already
checks a region or a buffer depending on the values of `transient-mark-mode'
and `mark-active'.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-01-19 7:46 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 10:48 ispell-region with M-$ in transient-mark-mode Juri Linkov
2005-01-18 11:42 ` David Kastrup
2005-01-19 0:28 ` Juri Linkov
2005-01-18 19:40 ` Eli Zaretskii
2005-01-19 0:33 ` Juri Linkov
2005-01-19 4:46 ` Eli Zaretskii
2005-01-19 7:46 ` Juri Linkov [this message]
2005-01-19 9:06 ` Kim F. Storm
2005-01-19 18:02 ` Eli Zaretskii
2005-01-19 21:30 ` Luc Teirlinck
2005-01-19 22:03 ` Kim F. Storm
2005-01-20 0:19 ` Luc Teirlinck
2005-01-20 8:18 ` Kim F. Storm
2005-01-20 8:45 ` David Kastrup
2005-01-20 9:44 ` Kim F. Storm
2005-01-21 8:34 ` Kai Großjohann
2005-01-19 17:58 ` Eli Zaretskii
2005-01-20 0:40 ` Luc Teirlinck
2005-01-20 21:32 ` Richard Stallman
2005-01-20 22:00 ` Geoff Kuenning
2005-01-20 22:17 ` David Kastrup
2005-01-20 22:23 ` Geoff Kuenning
2005-01-20 23:11 ` Luc Teirlinck
2005-01-21 16:26 ` Eli Zaretskii
2005-01-22 2:53 ` Richard Stallman
2005-01-20 22:43 ` Luc Teirlinck
2005-01-20 22:36 ` Han Boetes
2005-01-21 20:10 ` Richard Stallman
2005-01-21 20:44 ` Han Boetes
2005-01-21 21:25 ` Luc Teirlinck
2005-01-20 2:14 ` 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=87hdldkgim.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=ispell-el-bugs@itcorp.com \
--cc=k.stevens@ieee.org \
/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).