Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!amdahl!uunet!mcvax!unido!nixpbe!notes From: notes@nixpbe.UUCP Newsgroups: comp.emacs Subject: Re: mode for Lisp structure editing/bro Message-ID: <6300001@nixpbe> Date: 2 Dec 88 13:37:00 GMT References: <32795@bbn.COM> Lines: 47 Nf-ID: #R:bbn.COM:-3279500:nixpbe:6300001:000:1450 Nf-From: nixpbe.UUCP!notes Dec 2 14:37:00 1988 /* Written 4:09 pm Nov 29, 1988 by sboisen@bbn.com.UUCP in nixpbe:comp.emacs */ /* ---------- "mode for Lisp structure editing/bro" ---------- */ Here's yet another mode/code request: at present i spend a lot of time looking at data in Lisp syntax, and i'm not always concerned about all the lower-level details. Does anyone possess code or have helpful advice on how to do something like "abbreviating" the display in a Lisp-smart way? For example, taking something like (this (is (a long and boring example (of what i mean)))) and turning it into, say (this (is (a long and boring example #))) or (this (is #)) By "turning it into", of course, i mean temporarily: i don't want to actually mangle the data, just ignore some of it (although mangling is okay if i can automatically unmangle it). selective-display -type solutions don't cut it because the syntax isn't right (i.e. for it to really be helpful it needs to know Lisp syntax and behave accordingly, so i could abbreviate the display of a particular long and ugly sexp). Any suggestions? Off the top of my head i thought about some scheme using markers and copying the original sexp someplace associated with that marker... ........................................ Sean Boisen -- sboisen@bbn.com BBN Systems and Technologies Corporation, Cambridge MA Disclaimer: these opinions void where prohibited by lawyers. Sean /* End of text from nixpbe:comp.emacs */