Path: utzoo!attcan!uunet!convex!texsun!texbell!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!ghoti+ From: ghoti+@ANDREW.CMU.EDU (Adam Stoller) Newsgroups: comp.soft-sys.andrew Subject: Re: Line Numbers in ez Message-ID: Date: 19 Oct 89 13:18:44 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 > Excerpts from internet.info-andrew: 18-Oct-89 Line Numbers in ez > CapouchV1ULFj6:8:8@zeta. (460) > Do any of you folks know if there's anything built into ez to allow movement to a particular ordinal line number? I believe they are bound by default: Esc-n - textview-goto-paragraph (name is somewhat misleading, but it does the correct thing, i.e. understanding wrapped lines do not count more than once) - it will prompt in the message-line for a line number. Esc-N - textview-what-paragraph - will indiciate in the message-line what line number the cursor is on. > My C compiler tells me that there's an "error in line n," and I > currently count with my little cursor pointer all the way down to the > offending line. Of course there are other ways of finding that line out of ez; it would just be nice if I could find it while I'm in the editor. You can compile IN ez - there are two commands (I believe bound by default): ^X^E - compile-build - will run either a system default (make?) a user's preference default - or (see below) the last run compile command. ^U^X^E - (i'm not sure of a binding name) - will prompt you for the compile command you want to run. If you only have a single EZ window up for that EZ process - it will create another buffer called "Error-Log" and the output of the compile command will go there. You can get to this buffer using ^X^O (frame-old-buffer). Better yet - get two windows up from the same EZ process (^X2 - frame-new-window) and you will see the compilation going on in the second window. The commands for parsing the warnings/errors in compilations are: ^X^N - compile-next-error ^X^P - compile-previous-error --fish