/* global definitions for EMACS editor */ /* EMACS_MODES: c !fill */ int curln; /* current line */ int column; /* collumn */ char *clptr; /* ptrs[curln,column] */ int nlines; /* number of lines in buffer */ int kline; /* line to kill to */ char *klptr; /* ptrs[kline][kcol] */ int kcol; /* collumn ... */ int mklbuf; /* temporary for makeline macro */ int SREGION; /* Size screen region affected by command */ /* macro arguments */ #define NMVAR 10 /* number of local variables */ int *marg; /* macro argument pointer */ /* buffer stuff */ #define BLEN 512 /* length of each block */ #define NBLOCK 16 /* number of buffer blocks */ char bbuf[NBLOCK] [BLEN]; /* storage for buffer */ /* macro definitions */ #define EOL '\n' #define INMEM(xnumb) (ptrs[xnumb] &01) #define OUTMEM(xnumb) ((ptrs[xnumb]&01) == 0) #define mkline(lineno) (((lineno