unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36693: 26.2.90; forms.texi: s/forms-number-of-records/forms-number-of-fields/
@ 2019-07-16 16:05 N. Jackson
  2019-07-20  9:54 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: N. Jackson @ 2019-07-16 16:05 UTC (permalink / raw)
  To: 36693

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

There is an error in the Forms manual in the `Control File Format'
node at (info "(forms)Control File Format"). The text

     If the control file does not set ‘forms-format-list’ a default format
  is used.  In this situation, Forms mode will deduce the number of fields
  from the data file providing this file exists and
  ‘forms-number-of-records’ has not been set in the control file.

should read

     If the control file does not set ‘forms-format-list’ a default format
  is used.  In this situation, Forms mode will deduce the number of fields
  from the data file providing this file exists and
  ‘forms-number-of-fields’ has not been set in the control file.

. That is, s/-records/-fields/.

A patch is appended below.


In GNU Emacs 26.2.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.1)
 of 2019-07-16 built on moondust.localdomain
Repository revision: b2fde4b5e8e91aa57313af09465091303eeb7d39


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] * doc/misc/forms.texi (Control File Format): Fix a doc error. --]
[-- Type: text/x-patch, Size: 991 bytes --]

From dca97d494f04ba43ba5556f556aee71498813deb Mon Sep 17 00:00:00 2001
From: "N. Jackson" <nljlistbox2@gmail.com>
Date: Mon, 15 Jul 2019 18:22:44 -0400
Subject: [PATCH] * doc/misc/forms.texi (Control File Format): Fix a doc error.

---
 doc/misc/forms.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi
index d669ed6d03..9423f94609 100644
--- a/doc/misc/forms.texi
+++ b/doc/misc/forms.texi
@@ -431,7 +431,7 @@ Control File Format
 If the control file does not set @code{forms-format-list} a default
 format is used.  In this situation, Forms mode will deduce the number of
 fields from the data file providing this file exists and
-@code{forms-number-of-records} has not been set in the control file.
+@code{forms-number-of-fields} has not been set in the control file.
 
 The control file can optionally set the following additional Forms mode
 variables.  Most of them have default values that are good for most
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#36693: 26.2.90; forms.texi: s/forms-number-of-records/forms-number-of-fields/
  2019-07-16 16:05 bug#36693: 26.2.90; forms.texi: s/forms-number-of-records/forms-number-of-fields/ N. Jackson
@ 2019-07-20  9:54 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-07-20  9:54 UTC (permalink / raw)
  To: N. Jackson; +Cc: 36693-done

> From: nljlistbox2@gmail.com (N. Jackson)
> Date: Tue, 16 Jul 2019 12:05:21 -0400
> 
> There is an error in the Forms manual in the `Control File Format'
> node at (info "(forms)Control File Format"). The text
> 
>      If the control file does not set ‘forms-format-list’ a default format
>   is used.  In this situation, Forms mode will deduce the number of fields
>   from the data file providing this file exists and
>   ‘forms-number-of-records’ has not been set in the control file.
> 
> should read
> 
>      If the control file does not set ‘forms-format-list’ a default format
>   is used.  In this situation, Forms mode will deduce the number of fields
>   from the data file providing this file exists and
>   ‘forms-number-of-fields’ has not been set in the control file.
> 
> . That is, s/-records/-fields/.
> 
> A patch is appended below.

Thanks, pushed to the emacs-26 branch.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-20  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 16:05 bug#36693: 26.2.90; forms.texi: s/forms-number-of-records/forms-number-of-fields/ N. Jackson
2019-07-20  9:54 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).