help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: search and replace codepoints


From: Álvar Ibeas
Subject: Re: search and replace codepoints
Date: Fri, 24 Oct 2014 23:11:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hello,

>>> How do I do a search/replace to replace instances of the latter with the
>>> former?

You may copy the ­ character into the kill ring to yank it when prompted
for the first argument of replace-string. You can also evaluate the
following:

(replace-string "\u00ad" "-")

The purpose of the soft hyphen is to mark a possible hyphenation break.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]