X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/debf4439f37499edbeb480979aa527b2aa8382cf..6f0652af038234beb67768937d9a8033fa06444b:/doc/misc/forms.texi diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi index ec1b993d32..bcb8d8974e 100644 --- a/doc/misc/forms.texi +++ b/doc/misc/forms.texi @@ -1,4 +1,4 @@ -\input texinfo @c -*-texinfo-*- +\input texinfo @c -*-texinfo-*- @c documentation for forms-mode @c Written by Johan Vromans, and edited by Richard Stallman @@ -18,12 +18,11 @@ @copying This file documents Forms mode, a form-editing major mode for GNU Emacs. -Copyright @copyright{} 1989, 1997, 2001, 2002, 2003, 2004, -2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright @copyright{} 1989, 1997, 2001-2012 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 +under the terms of the GNU Free Documentation License, Version 1.3 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 @@ -35,10 +34,10 @@ developing GNU and promoting software freedom.'' @end quotation @end copying -@dircategory Emacs +@dircategory Emacs misc features @direntry -* Forms: (forms). Emacs package for editing data bases - by filling in forms. +* Forms: (forms). Emacs package for editing data bases + by filling in forms. @end direntry @titlepage @@ -58,6 +57,8 @@ developing GNU and promoting software freedom.'' @insertcopying @end titlepage +@contents + @ifnottex @node Top @top Forms Mode @@ -73,6 +74,8 @@ job: a control file and a data file. The data file holds the actual data to be presented. The control file describes how to present it. +@insertcopying + @menu * Forms Example:: An example: editing the password data base. * Entering and Exiting Forms Mode:: @@ -858,7 +861,7 @@ you said `no'. @chapter Long Example The following example exploits most of the features of Forms mode. -This example is included in the distribution as file @file{forms-d2.el}. +This example is included in the distribution as file @file{etc/forms/forms-d2.el}. @example ;; demo2 -- demo forms-mode -*- emacs-lisp -*- @@ -866,7 +869,8 @@ This example is included in the distribution as file @file{forms-d2.el}. ;; @r{This sample forms exploit most of the features of forms mode.} ;; @r{Set the name of the data file.} -(setq forms-file "forms-d2.dat") +(setq forms-file + (expand-file-name "forms/forms-d2.dat" data-directory)) ;; @r{Use @code{forms-enumerate} to set field names and number thereof.} (setq forms-number-of-fields @@ -971,9 +975,4 @@ Software Foundation. Thanks, Richard! @unnumbered Index @printindex cp -@contents @bye - -@ignore - arch-tag: 2ac9810b-aa49-4ea6-8030-d7f1ecd467ed -@end ignore