all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: search and replace codepoints
Date: Sat, 25 Oct 2014 09:27:00 +0300	[thread overview]
Message-ID: <83egtw64wb.fsf@gnu.org> (raw)
In-Reply-To: <87ioj9dy24.fsf@bach.histomat.net>

> From: Haines Brown <haines@histomat.net>
> Date: Fri, 24 Oct 2014 16:15:15 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Haines Brown <haines@histomat.net>
> >> Date: Fri, 24 Oct 2014 14:50:23 -0400
> >> How do I do a search/replace to replace instances of the latter with the
> >> former?
> >
> > Just replace it with M-%, as you would any other character.
> >
> >> What values should I use?
> >
> > The one shown above, of course.
> 
> Many codings were shown above (45, #055, #x2d, 0x2d for just one
> character).

No, I meant only the values I quoted in my message:

>   character: ­ (displayed as ­) (codepoint 173, #o255, #xad)

They are all the same value, decimal 173, shown in decimal, in octal,
and in hex.

> Because none of them worked, I asked the question. 

How did you try using them in a replace command?  What I had in mind
was use "C-x 8 RET", which allows you to type the codepoint in hex.




      parent reply	other threads:[~2014-10-25  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 18:50 search and replace codepoints Haines Brown
2014-10-24 19:33 ` Eli Zaretskii
     [not found] ` <mailman.11972.1414179242.1147.help-gnu-emacs@gnu.org>
2014-10-24 20:15   ` Haines Brown
2014-10-24 21:11     ` Álvar Ibeas
2014-10-25  6:27     ` Eli Zaretskii [this message]

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=83egtw64wb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.