[comp.unix.programmer] forms question

cshort@nmsu.edu (Spmg*d, Lord of Potted Meat Product) (01/11/91)

help

i am trying to use forms with emacs and not having much luck at it

i'm trying to define a field seperator with the statement

(setq forms-field-sep "$")

it's ignoring that and telling me that my record has only one

field. any ideas or example code i can tear apart would be

appreciated.

thanks much

chris
cshort@nmsu.edu

walt@bcarh133.uucp (Walt Sullivan) (01/11/91)

In article <CSHORT.91Jan10162252@haywire.nmsu.edu> cshort@nmsu.edu (Spmg*d, Lord of Potted Meat Product) writes:

>   i am trying to use forms with emacs and not having much luck at it
>   i'm trying to define a field seperator with the statement
>   (setq forms-field-sep "$")
>   it's ignoring that and telling me that my record has only one
>   field. any ideas or example code i can tear apart would be
>   appreciated.

First, this posting probably belongs in the "gnu.emacs.help" newsgroup.

Second, if the forms-field-sep variable expects a regular expression, your "$" doesn't
mean the character "dollar-sign", it means "end-of-line". Try using
(setq forms-field-sep "\\$").

Where did you get the forms package for Emacs (which Emacs?)?

--
Walt Sullivan
BITNET: walt@BNR.CA (work)
UUCP: walt@orbit.amiga.OCUnix.on.ca (home)