Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Emacs] Alles ersetzen

1 view
Skip to first unread message

Andreas Kohlbach

unread,
Jan 25, 2022, 10:59:11 PM1/25/22
to
Wenn ich meist auch Gnus nutze, dürfte das eine Funktion von Emacs
selbst sein.

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.
--
Andreas

Stefan Wiens

unread,
Jan 26, 2022, 3:17:27 AM1/26/22
to
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
0 new messages