home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.harris.com!controls.ccd.harris.com!abz
- From: abz@controls.ccd.harris.com (Andrew B. Ziffer)
- Subject: emacs hex mappings
- Message-ID: <1992Aug20.180617.11222@ccd.harris.com>
- Originator: abz@rs2
- Sender: abz@controls (Andrew B. Ziffer)
- Organization: Harris Controls
- Date: Thu, 20 Aug 1992 18:06:17 GMT
- Lines: 27
-
-
-
- Has any one ever tried to map an ascii file through C structures using a defined
- emacs function?
-
- The problem is I have large ascii files made up of one structure with 1..n
- entries of the structure. I want to somehow define a routine in emacs that will
- map the ascii file to the structure so the end result will be something like
- this:
-
- var[1].point = 1.23
- var[1].head = 3.45
- var[2].point = 5.67
- var[3].head = 6.79
- .
- .
- .
- .
- and so on
-
- It should be able to map any structure as long as it has access to the .h.
-
- Is this too complicated for emacs?
-
-
- Andrew
- abz@ccd.harris.com
-