From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: editing binary (hexa) data Date: Thu, 17 May 2007 11:09:06 GMT Organization: Sonera corp Internet services Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179410133 19958 80.91.229.12 (17 May 2007 13:55:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 May 2007 13:55:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 17 15:55:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HogS3-0004Ea-0N for geh-help-gnu-emacs@m.gmane.org; Thu, 17 May 2007 15:55:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hoga8-0000dA-VQ for geh-help-gnu-emacs@m.gmane.org; Thu, 17 May 2007 10:03:52 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!216.196.110.148.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.news.saunalahti.fi!feeder1.news.saunalahti.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read3.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (windows-nt) Cancel-Lock: sha1:dDNcUgH2GW1DA3vFE3NuqqWYCSk= Cache-Post-Path: xnews001!unknown@busrv04nok01269.europe.nokia.com X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) Original-Lines: 17 Original-NNTP-Posting-Host: 147.243.46.180 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read3.inet.fi 1179400146 147.243.46.180 (Thu, 17 May 2007 14:09:06 EEST) Original-NNTP-Posting-Date: Thu, 17 May 2007 14:09:06 EEST Original-Xref: shelby.stanford.edu gnu.emacs.help:148489 X-Mailman-Approved-At: Thu, 17 May 2007 09:56:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44086 Archived-At: Hi, I have strings(!) like this: "54 68 69 73 20 69 73 20 61 20 73 61 6D 70 6C 65 20 74 65 78 74 2E" and would like to edit them in Emacs. However the above example is really "means": "This is a sample text." So I would like to see this "meaning" while I edit it. If I would have the text ("This is a sample text.") originally, then I could use hexl-mode (hopefully it can be customized to group by bytes and not by words). But now I don't know how to use it in my situation? Or perhaps you know some other mode for me? (hexl-mode's UI would be ideal if I could disable its original conversion at activation). (I know I could make a small function to convert my "hexa string" into "real" string before calling hexl-mode... but I hope you have a better alternative.) Thanks, P