From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107393,62951c700994df34 X-Google-Attributes: gid107393,public X-Google-Thread: fee84,62951c700994df34 X-Google-Attributes: gidfee84,public X-Google-Thread: f9400,62951c700994df34 X-Google-Attributes: gidf9400,public X-Google-Thread: 10b05a,eebc048575b82884 X-Google-Attributes: gid10b05a,public From: joshi@sal.cs.uiuc.edu (Anil Joshi) Subject: Re: Unix editors w/features for dealing with columnar data? Date: 1995/05/04 Message-ID: <3obk2f$fqa@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 101999091 distribution: inet references: <3nr6nl$cak@news.iastate.edu> <3o33l5$l91@senator-bedfellow.MIT.EDU> <3o3fjv$ens@vixen.cso.uiuc.edu> <3o8cb0$ft0@godzilla.zeta.org.au> <3ob8o3$b7v@vixen.cso.uiuc.edu> <3obgpv$ct7@senator-bedfellow.MIT.EDU> organization: University of Illinois at Urbana newsgroups: comp.editors,comp.os.ultrix,comp.unix.osf.osf1,alt.lang.s-lang davis@space.mit.edu writes: > [ I realize that everyone has their own editing style and that one cannot > objectively say that one is better than the other. However, I just > wanted to point out that what seems implied by your example can be done > easily in other Unix editors. ] I agree whole heartedly. The whole discussion started because somebody gave an example about how columnar editing can be done easily in JED and I gave a counter-example and said that these things can be done easily with xedit or ISPF editors (or clones). Some of these features, if made available in emacs in emulation mode, then all we have to do to move the MF shops painlessly to Unix platforms would be to have a REXX interface to emacs (i.e. along with elisp, have REXX also listen into the editing that is going on). >In JED any line can be a mask line as you have defined. JED includes an >extremely useful function called `double_line' that can be bound to a key. >I bind it to `Ctrl-K Ctrl-L'. As its name suggests, it doubles or >duplicates the current line. So, if I wanted to create a bunch of lines, >say 6 of your example above, I enter the line once (as you must) then press >`ESC 5 Ctrl-K Ctrl-L'. This duplicates the current line 5 times (making a >total of 6). In ISPF, the mask line is not part of the file. You can have various mask lines active at various points inthe file. Also, ISPF has great a way of giving the numeric arguments. >>Is this really useful? Is the overlay smart enough to watch out for code >that crosses the (hidden) boundary into where the comment overlays itself? >Perhaps it is not a good example because I see no reason to put comments in >a file separate from the source. This is a bad example but it can be coupled with other editor procedures written in REXX to do very sophisticated processing. >--John Anil -- Sathsangatve nissangatvam From good company to no company Nissangatve nirmohatvam From no company to lack of desire Nirmohatve nischalatatvam From lack of desire to concentration of mind Nischalatatve jeevanmuktihi From concentration of mind to liberation of life