@c @smallbook
@comment %**end of header (This is for running Texinfo on a region.)
+@copying
+This file documents Forms mode, a form-editing major mode for GNU Emacs.
+
+Copyright @copyright{} 1989, 1997, 2001, 2002, 2003, 2004,
+2005, 2006 Free Software Foundation, Inc.
+
+@quotation
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with the Front-Cover texts being ``A GNU
+Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
+license is included in the section entitled ``GNU Free Documentation
+License'' in the Emacs manual.
+
+(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
+this GNU Manual, like GNU software. Copies published by the Free
+Software Foundation raise funds for GNU development.''
+
+This document is part of a collection distributed under the GNU Free
+Documentation License. If you want to distribute this document
+separately from the collection, you can do so by adding a copy of the
+license to the document, as described in section 6 of the license.
+@end quotation
+@end copying
+
@dircategory Emacs
@direntry
* Forms: (forms). Emacs package for editing data bases
by filling in forms.
@end direntry
-@ifinfo
-This file documents Forms mode, a form-editing major mode for GNU Emacs.
-
-Permission is granted to make and distribute verbatim copies of this
-manual provided the copyright notice and this permission notice are
-preserved on all copies.
-
-@ignore
-Permission is granted to process this file through TeX and print the
-results, provided the printed document carries copying permission notice
-identical to this one except for the removal of this paragraph (this
-paragraph not being relevant to the printed manual).
-
-@end ignore
-@end ifinfo
-
-@iftex
@titlepage
@sp 6
@center @titlefont{Forms Mode User's Manual}
@center Johan Vromans
@center @i{jvromans@@squirrel.nl}
@page
-
@vskip 0pt plus 1filll
-Copyright @copyright{} 1989, 1997 Free Software Foundation, Inc.
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-@page
+@insertcopying
@end titlepage
-@end iftex
-@ifinfo
+@ifnottex
@node Top
@top Forms Mode
* Forms Example:: An example: editing the password data base.
* Entering and Exiting Forms Mode::
How to visit a file in Forms mode.
-* Forms Commands:: Special commands to use while in Forms mode.
+* Forms Commands:: Special commands to use while in Forms mode.
* Data File Format:: How to format the data file.
* Control File Format:: How to control forms mode.
* Format Description:: How to define the forms layout.
* Credits:: Thanks everyone.
* Index:: Index to this manual.
@end menu
-@end ifinfo
+@end ifnottex
@node Forms Example
@chapter Forms Example
contents for its fields; you can then edit the fields. With a numeric
argument, the new record is created @emph{after} the current one.
See also @code{forms-modified-record-filter} in @ref{Modifying Forms
-Contents}.
+Contents}.
@findex forms-delete-record
@kindex C-c C-k
than @code{nil} (which it is, by default), the Emacs functions
@code{scroll-up} and @code{scroll-down} will perform a
@code{forms-next-record} and @code{forms-prev-record} when in forms
-mode. So you can use your favourite page commands to page through the
+mode. So you can use your favorite page commands to page through the
data file.
@vindex forms-forms-jump
@findex forms-insert-after
@item forms-insert-after
-If this variable is not @code{nil}, new records are created @emph{after} the
+If this variable is not @code{nil}, new records are created @emph{after} the
current record. Also, upon visiting a file, the initial position will be
at the last record instead of the first one.
@end example
When you construct the value of @code{forms-format-list}, you should
-usually either quote the whole value, like this,
+usually either quote the whole value, like this,
@example
(setq forms-format-list
and records of the database.
All normal editing commands are available for editing the contents of the
-displayed record. You cannot delete or modify the fixed, explanatory
+displayed record. You cannot delete or modify the fixed, explanatory
text that comes from string formatting elements, but you can modify the
actual field contents.
@item Forms control file error: `forms-number-of-fields' must be a number > 0
The variable @code{forms-number-of-fields} did not contain a positive
-number.
+number.
@item Forms control file error: `forms-field-sep' is not a string
@itemx Forms control file error: `forms-multi-line' must be nil or a one-character string
@item No write access to @code{"}@var{file}@code{"}
An attempt was made to enable edit mode on a file that has been write
-protected.
+protected.
@item Search failed: @var{regexp}
The @var{regexp} could not be found in the data file. Forward searching
(concat "\n" (make-string target fill))
(make-string (- target (current-column)) fill)))
;;
-(defun arch-rj (target field &optional fill)
+(defun arch-rj (target field &optional fill)
"Produces a string to skip to column TARGET\
minus the width of field FIELD.
Prepends newline if needed.
@contents
@bye
+
+@ignore
+ arch-tag: 2ac9810b-aa49-4ea6-8030-d7f1ecd467ed
+@end ignore