[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: Forms Mode
- To: tvraman@xxxxxxxxxxx
- Subject: Re: Forms Mode
- From: Tim Cross <tcross@xxxxxxxxxxx>
- Date: Wed, 8 Dec 1999 23:18:59 +1100 (EST)
- In-Reply-To: <14414.17130.690649.687230@xxxxxxxxxxx>
- Old-Return-Path: <tcross@xxxxxxxxxxx>
- Resent-Date: Wed, 8 Dec 1999 07:07:02 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"ZX8VGB.A.5IG.SnkT4"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
I tried both M-x forms-find-file and C-e C-f with exactly the same
results - still get the error message. It all works fine if I replace
the call to read-file-name function with just the string identifying
the message file e.g. (setq forms-file "/var/log/messages") which
leads me to think I'm starting the forms mode correctly but the
forms-file variable is not being set via the call to
read-file-name. In fact, as I don't get prompted at all, I suspect
that read-file-name is not doing anything or is not setting the
forms-file variable.
Tim
T. V. Raman writes:
> You need to open those files with M-x forms-find-file --not
> load them like a regular lisp file.
>
> >>>>> "Tim" == Tim Cross <tcross@xxxxxxxxxxx> writes:
>
> Tim> I decided to try out the forms mode with the
> Tim> example messages.el file provided in the emacspeak
> Tim> distribution. However, I get the error
>
> Tim> Forms control file error: `forms-file' has not been
> Tim> set
>
> Tim> When I look at the messages.el file, the following
> Tim> piece of code makes me think that when I load this
> Tim> file it should prompt me for the name of the file
> Tim> to use and the forms-file
>
> Tim> (setq forms-file (read-file-name "Messages file: "
> Tim> "/var/log/" "/var/log/messages"))
>
> Tim> and in fact, if I replace this with
>
> Tim> (setq forms-file "/var/log/messages")
>
> Tim> Everything works fine. So, what is going wrong
> Tim> here? Why isn't the read-file-name function
> Tim> working? Am I missing something vital?
>
> Tim> Feeling a bit thick (its been a long week and its
> Tim> still only wednesday!)
>
> Tim> Tim
>
> Tim> -----------------------------------------------------------------------------
> Tim> To unsubscribe or change your address send mail to
> Tim> "emacspeak-request@xxxxxxxxxxx" with a subject of
> Tim> "unsubscribe" or "help"
>
> --
> Best Regards,
> --raman
>
>
> Email: tvraman@xxxxxxxxxxx
> WWW: http://cs.cornell.edu/home/raman/
> PGP: http://cs.cornell.edu/home/raman/raman.asc
-----------------------------------------------------------------------------
To unsubscribe or change your address send mail to
"emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe