all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jürgen Hartmann" <juergen_hartmann_@hotmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: How to enter for example \200 offered by ispell in its buffer *Choices*
Date: Mon, 22 Jun 2015 00:01:00 +0200	[thread overview]
Message-ID: <DUB124-W2161AC52F20F0F4E0898D7A8A20@phx.gbl> (raw)
In-Reply-To: <87wpywvlyu.fsf@debian.uxu>

Thank you Emanuel Berg for your answer:

> Wow! You sure get many suggestions when making
> mistakes in German!

That's because in principle you can compose any number of nouns to a valid
German word. But fortunately Hunspell limits its suggestions to a reasonable
selection.

The example I showed is an extreme case, as it was taken from a word
completion (ispell-complete-word) not from a spell check.

But it leads to the question how to enter such keystrokes.

> To (not) answer your question: I don't know.
>
> But I thought I'd share my ispell setup since it isn't
> often I run into another user. I am Swedish so I use
> the american-insane as well as the Swedish spellcheck.
> I have that `C-o e' for "spell-english" (see the file)
> and `C-o s' for ditto Swedish.

Thank you very much!

That's what I stumble over regularly too: Always the wrong
dictionary is selected.

> It has some DWIM features and calls different
> functions depending on region, mode (e.g.,
> message-mode, programming, etc.) - or that's the
> thought. But it works nine times out of then:
>
>     http://user.it.uu.se/~embe8573/conf/emacs-init/spell.el

There are very nice ideas in your setup: I have bound ispell-message,
ispell-comments-and-strings and friends individually to some keys that I
can't remember when i need them. So I think your DWIM attempt is a very
helpful thing.

> Question: Is there anyone who succeeded or saw
> a solution that had the selection keys changed -
> I don't want to reach for the number keys, I want the
> first suggestion to be (a), then (s), (d), and (f),
> and/or likewise instantly available keys. It shouldn't
> be in alphabetic or numerical order (IMHO) it should
> be in the order of closeness which is a function of
> where they keys are on the keyboard. This is one of
> very, very few things I didn't succeed in getting the
> way I want with all of Emacs, Gnus, w3m etc. so if
> anyone has a solution I would readily let go of
> "100" of my hard-earned reputation.
> No fingers crossed!

As far as I see from the definition of ispell-command-loop, it just assigns
the characters (!) starting from digit 0 upward, skipping the characters that
are used for the fixed commands like <SPC>, i, x, X, q and the like.

I think it should instead be possible to choose them out of a list that holds
them in any desired order. But I never saw something like that realized.

Juergen

 		 	   		  


  reply	other threads:[~2015-06-21 22:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5388.1434915264.904.help-gnu-emacs@gnu.org>
2015-06-21 20:35 ` How to enter for example \200 offered by ispell in its buffer *Choices* Emanuel Berg
2015-06-21 22:01   ` Jürgen Hartmann [this message]
2015-06-21 22:46     ` [OT] Long words (was: How to enter for example \200 offered by ispell in its buffer *Choices*) Marcin Borkowski
2015-06-22  0:16       ` Jürgen Hartmann
2015-06-22  9:19         ` Marcin Borkowski
2015-06-22 10:20           ` Jürgen Hartmann
2015-06-22 11:44             ` Marcin Borkowski
     [not found]       ` <mailman.5407.1434932215.904.help-gnu-emacs@gnu.org>
2015-06-22  0:33         ` Emanuel Berg
2015-06-23 20:13           ` Jürgen Hartmann
     [not found]     ` <mailman.5404.1434926802.904.help-gnu-emacs@gnu.org>
2015-06-21 23:25       ` Emanuel Berg
2015-06-22 11:48         ` Marcin Borkowski
2015-06-23 20:36           ` Jürgen Hartmann
     [not found]         ` <mailman.5435.1434973706.904.help-gnu-emacs@gnu.org>
2015-06-22 20:58           ` Emanuel Berg
2015-06-23 21:19             ` Jürgen Hartmann
2015-06-22 10:46   ` How to enter for example \200 offered by ispell in its buffer *Choices* Oleh Krehel
2015-06-27 11:34     ` Jürgen Hartmann
2015-06-27 11:33   ` Jürgen Hartmann
2015-06-21 19:34 Jürgen Hartmann
2015-06-21 19:42 ` Eli Zaretskii
2015-06-21 21:19   ` Jürgen Hartmann
     [not found]   ` <mailman.5398.1434921573.904.help-gnu-emacs@gnu.org>
2015-06-21 21:43     ` Emanuel Berg
2015-06-21 23:02       ` Jürgen Hartmann

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

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

  git send-email \
    --in-reply-to=DUB124-W2161AC52F20F0F4E0898D7A8A20@phx.gbl \
    --to=juergen_hartmann_@hotmail.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.