From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Peter Tury <tury.peter@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: editing binary (hexa) data
Date: Thu, 17 May 2007 17:29:04 +0200 [thread overview]
Message-ID: <BBF231AD-226B-4844-9917-6F5932083219@Web.DE> (raw)
In-Reply-To: <ulkfn671p.fsf@nokia.com>
Am 17.05.2007 um 11:09 schrieb Peter Tury:
> Or perhaps you know some other mode for me?
In GNU Emacs 22 you can use query-replace-regexp or replace-regexp to
convert between ASCII and numeric:
M-x replace-regexp RET \(.\) RET \,(string-to-number \1) RET
or such and back with
M-x replace-regexp RET \([1-9][0-9]\) RET \,(string (+ ?a \1)) RET
There are some "invisible" spaces in the expressions, and they're not
tested ...
--
Greetings
Pete
A lot of us are working harder than we want, at things we don't like
to do. Why? ...In order to afford the sort of existence we don't care
to live.
-- Bradford Angier
next prev parent reply other threads:[~2007-05-17 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 11:09 editing binary (hexa) data Peter Tury
2007-05-17 15:29 ` Peter Dyballa [this message]
[not found] ` <mailman.776.1179416261.32220.help-gnu-emacs@gnu.org>
2007-05-17 17:24 ` David Kastrup
2007-05-17 18:27 ` Peter Dyballa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BBF231AD-226B-4844-9917-6F5932083219@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=tury.peter@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).