Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.editoren > #376

Re: [Emacs] Alles ersetzen

From Stefan Wiens <s.wi@gmx.net>
Newsgroups de.comp.editoren
Subject Re: [Emacs] Alles ersetzen
Date 2022-01-26 09:17 +0100
Organization none
Message-ID <87mtji6hpq.fsf@eswe.dd-dns.de> (permalink)
References <87ilu7m9ki.fsf@usenet.ankman.de>

Show all headers | View raw


Andreas Kohlbach <ank@spamfence.net> writes:

> Wenn ich einen Text per ispell überprüfe, und in diesem ein Wort mehrfach
> falsch geschrieben vorkommt, muss ich jedes einzeln korrigieren lassen,
> falls es sich im Wörterbuch befindet. Kann ich nicht alle Vorkommen auf
> ein Mal korrigieren lassen?
>
> Wenn ich "? eingebe, zeigt mir Emacs:
>
> [r/R]eplace word; [a/A]ccept for this session; [i]nsert into private dictionary
> [l]ook a word up in alternate dictionary;  e[x/X]it;  [q]uit session
> [u]ncapitalized insert into dict.  Type `x C-h f ispell-help' for more help
>
> ispell-help sagt dann noch:
> DIGIT: Replace the word with a digit offered in the *Choices* buffer.
> SPC:   Accept word this time.
> ‘i’:   Accept word and insert into private dictionary.
> ‘a’:   Accept word for this session.
> ‘A’:   Accept word and place in ‘buffer-local dictionary’.
> ‘r’:   Replace word with typed-in value. Rechecked.
> ‘R’:   Replace word with typed-in value. Query-replaced in buffer. Rechecked.
> ‘?’:   Show these commands.
> ‘x’:   Exit spelling buffer.  Move cursor to original point.
> ‘X’:   Exit spelling buffer.  Leaves cursor at the current point, and
>        permits the aborted check to be completed later.
>         ‘q’:   Quit spelling session (Kills ispell process).
>         ‘l’:   Look up typed-in replacement in alternate dictionary. Wildcards okay.
>         ‘u’:   Like ‘i’, but the word is lower-cased first.
>         ‘m’:   Place typed-in value in personal dictionary, then recheck current word.
>
> Dort sieht mir nichts danach aus, alle Vorkommen eines Wortes zu ersetzen.

Wenn du "R" drückst und einen Ersatztext eingibst, landest du in
"query-replace" (C-h funktioniert auch dort). Die zu ersetzenden
Treffer sind hervorgehoben. Mit "!" werden alle ersetzt.

-- 
Stefan

Back to de.comp.editoren | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Emacs] Alles ersetzen Andreas Kohlbach <ank@spamfence.net> - 2022-01-25 22:59 -0500
  Re: [Emacs] Alles ersetzen Stefan Wiens <s.wi@gmx.net> - 2022-01-26 09:17 +0100
    Re: [Emacs] Alles ersetzen Andreas Kohlbach <ank@spamfence.net> - 2022-01-26 11:39 -0500

csiph-web