Ronan Waide <[EMAIL PROTECTED]> writes:
> On February 22, [EMAIL PROTECTED] said:
> > Hi,
> >
> > I still cannot create the file from within emacs
> > (GNU Emacs 20.6.1 (i386-*-nt4.0.1381)/
> > BBDB version 2.3 ($Date: 2001/02/19 23:10:27 $))
>
> Is there a 20.7 build for Windows? You may want to try that, as some
> of the earlier 20.x builds had bugs.
>
> > The error is
> > ,----
> > | Signaling: (error "Extraneous text at end of command line.")
> > | signal(error ("Extraneous text at end of command line."))
> > | error("Extraneous text at end of command line.")
> > | texinfo-discard-line()
> > | texinfo-format-scan()
> > | texinfo-format-buffer-1()
> > | texinfo-format-buffer()
> > | command-line-1(("bbdb.texinfo" "-eval" "(while (re-search-forward \"@\\\\(end
>\\\\)?ifnottex\" nil t) (replace-match \"\"))" "-eval" "(setq max-lisp-eval-depth
>600)" "-eval" "(toggle-debug-on-error)" "-f" "texinfo-every-node-update" "-f"
>"texinfo-format-buffer"))
> > | command-line()
> > | normal-top-level()
> > `----
> >
> > Am I the only one getting this error?
> > Any advice on how to proceed? Is this an emacs error or a problem with
> > the texinfo file?
>
> This looks like a problem with what you're asking emacs to do. The
> error doesn't happen in the regular build; the stacktrace above is
> from emacs' startup process. You may need to mess around with quoting,
> or try putting the commands you want to execute into a file and load &
> run that instead of eval'ing stuff on the command line.
Actually, there are some indent problems in the texinfo file. See info
of texinfo.
,----
| * Write a command such as `@noindent' at the beginning of a line as
| the only text on the line. (`@noindent' prevents the beginning of
| the next line from being indented as the beginning of a paragraph.)
|
| * Write a command such as `@chapter' at the beginning of a line
| followed by the command's arguments, in this case the chapter
| title, on the rest of the line. (`@chapter' creates chapter
| titles.)
`----
The attached patch fixes the problem. The changes are unindenting or
inserting a new line. If no one objects, I'll check it in.
ShengHuo
Index: bbdb.texinfo
===================================================================
RCS file: /cvsroot/bbdb/bbdb/texinfo/bbdb.texinfo,v
retrieving revision 1.37
diff -u -u -r1.37 bbdb.texinfo
--- bbdb.texinfo 2001/02/14 12:11:23 1.37
+++ bbdb.texinfo 2001/02/23 20:53:26
@@ -335,14 +335,19 @@
@tab @center P[3]
@end multitable
-@* @noindent @b{NOTES:}
+@*
+@noindent
+@b{NOTES:}
@enumerate
-@item The three year old GNUS mail/newsreader should still
+@item
+The three year old GNUS mail/newsreader should still
work. Please keep in mind that you have a relatively recent Emacs (GNU
19.34 or later, XEmacs 19.15 or later), you are probably using Gnus.
-@item As of this writing, Reportmail is available as
+@item
+As of this writing, Reportmail is available as
part of the @code{edit-utils} package.
-@item As of this writing, @code{browse-url} is
+@item
+As of this writing, @code{browse-url} is
available as part of the @code{mail-lib} package.
@end enumerate
@@ -551,39 +556,39 @@
install the appropriate files to the appropriate places. The final
installation tree will take the following form:
+@table @code
+@item $(PACKAGEDIR)/
@table @code
- @item $(PACKAGEDIR)/
- @table @code
- @item lisp/
- @table @code
- @item bbdb/
+@item lisp/
+@table @code
+@item bbdb/
@i{@b{BBDB} lisp source files. This directory contains a copy of all
@code{.el} and @code{.elc} files from the @file{lisp} source directory,
or is a symbolic link to it.}
- @end table
- @item info/
- @table @code
- @item bbdb.info*
+@end table
+@item info/
+@table @code
+@item bbdb.info*
@i{@b{BBDB} documentation files. These are either copies of the info
files from the @file{texinfo} source directory, or are symbolic links to
them.}
- @end table
- @item etc/
- @table @code
- @item bbdb/
- @table @code
- @item tex/
+@end table
+@item etc/
+@table @code
+@item bbdb/
+@table @code
+@item tex/
@i{@b{BBDB} support files for bbdb-print. This directory contains a
copy of the appropriate files from the @file{tex} source directory, or
is a symbolic link to it.}
- @item utils/
+@item utils/
@i{@b{BBDB} miscellaneous utilities. This directory contains a copy
of the appropriate files from the @file{utils} source directory, or is a
symbolic link to it.}
- @end table
- @end table
- @end table
@end table
+@end table
+@end table
+@end table
@node Initial Configuration, , XEmacs Package, Installation
@subsection Initial Configuration
@@ -1778,12 +1783,15 @@
the @b{BBDB} will be used if available. If it is @samp{nil}, data from
the @b{BBDB} will not be used.
-@noindent In the following examples, assume the following:
+@noindent
+In the following examples, assume the following:
@enumerate
-@item Message: @code{From: Jamie <jwz@@netscape.com>}@*
+@item
+Message: @code{From: Jamie <jwz@@netscape.com>}@*
@b{BBDB}: No record
-@item Message: @code{From: Matt <simmonmt@@acm.org>}@*
+@item
+Message: @code{From: Matt <simmonmt@@acm.org>}@*
@b{BBDB}: Name: @samp{Matthew}, Net: @samp{simmonmt@@purdue.edu}
@end enumerate
@@ -1797,11 +1805,14 @@
@tab @center @code{bbdb}
@tab @center @code{t}
@item Printed in Summary buffer for
+@tab
+@tab
+@tab
@item @center Case 1
@tab @center Jamie
@tab @center jwz@@netscape.com
@tab @center Jamie
-@item @center Case 2
+@item @center Case 2
@tab @center Matthew
@tab @center Matthew
@tab @center Matt
@@ -3006,7 +3017,8 @@
@code{bbdb-snarf-region} that determines the relevant region and passes it
on.}, the active region is used to generate the record.
-@noindent @b{Restrictions:}
+@noindent
+@b{Restrictions:}
@enumerate
@item
@@ -3015,7 +3027,8 @@
@code{bbdb-snarf} works best with things that look like mailing addresses.
@end enumerate
-@noindent Example of an address that @code{bbdb-snarf} will recognize:
+@noindent
+Example of an address that @code{bbdb-snarf} will recognize:
@example
another test person
@@ -3078,13 +3091,15 @@
@code{bbdb-srv.pl}@footnote{Use the full path to @code{bbdb-srv.pl} if
it is not in the default path.} as follows:
-@noindent Bourne Shell (@file{/bin/sh}) and variants:
+@noindent
+Bourne Shell (@file{/bin/sh}) and variants:
@example
# NS_MSG_DISPLAY_HOOK bbdb-srv.pl
# export NS_MSG_DISPLAY_HOOK
@end example
-@noindent C-Shell (@file{/bin/csh}) and variants:
+@noindent
+C-Shell (@file{/bin/csh}) and variants:
@example
% setenv NS_MSG_DISPLAY_HOOK bbdb-srv.pl
@end example
@@ -3503,7 +3518,8 @@
@node The Latest Version, The Future, Changes, Top
@section The Latest Version
-@noindent Released versions of the @b{BBDB} can be found at the
+@noindent
+Released versions of the @b{BBDB} can be found at the
following site:
@itemize @bullet
@@ -3513,7 +3529,8 @@
FTP: @code{ftp://ftp.sourceforge.net/pub/bbdb}
@end itemize
-@noindent Development versions of the @b{BBDB} can be obtained in the
+@noindent
+Development versions of the @b{BBDB} can be obtained in the
following ways:
@itemize @bullet
@@ -3541,7 +3558,8 @@
@subsection Known Bugs
@enumerate
-@item @b{@kbd{M-TAB} conflicts with ispell.} Workaround: The binding
+@item
+@b{@kbd{M-TAB} conflicts with ispell.} Workaround: The binding
installed by the @b{BBDB} for address completion/expansion conflicts with
that used by ispell. The suggested workarounds are to rebind the ispell
key (the @b{BBDB} binding is not configurable at this time), to manually
@@ -3555,18 +3573,21 @@
(add-hook 'message-mode-hook 'my-message-mode-keys)
@end lisp
-@item @b{@b{BBDB} and abbrev expansion is inconsistent.} Workaround:
+@item
+@b{@b{BBDB} and abbrev expansion is inconsistent.} Workaround:
Currently, @kbd{M-TAB} must be used to expand/complete against @b{BBDB}
names and net addresses, and @kbd{TAB} must be used to expand abbrevs (the
values in the @code{mail-alias} field). Unification is planned for a
future version.
-@item @b{The @code{*BBDB*} buffer does not always come up when the first
+@item
+@b{The @code{*BBDB*} buffer does not always come up when the first
article in a Gnus Summary Buffer is selected.} Workaround: Pressing
@kbd{g} to reload the article. This will cause the @code{*BBDB*} buffer
to be displayed.
-@item @b{Expansion will fail when the name to be expanded is a subset of
+@item
+@b{Expansion will fail when the name to be expanded is a subset of
the name for another record.} For example, if you have entries for
@samp{John} and @samp{Johnathan}, you will not be able to expand the
name for @samp{John}. Workaround: Use the net address for the subset
@@ -3731,7 +3752,8 @@
@item
@code{country-info}
@end itemize
-@noindent Note that these files have not been investigated. They may or
+@noindent
+Note that these files have not been investigated. They may or
may not be incorporated.
@item
@@ -3804,14 +3826,16 @@
may be removed without warning at any time thereafter.
@enumerate
-@item @code{advertized-bbdb-delete-current-field-or-record}@*
+@item
+@code{advertized-bbdb-delete-current-field-or-record}@*
Support for this function will be removed for version 2.2. It is
recommended that all code depending on this variable be switched to use
@code{bbdb-delete-current-field-or-record}. The two functions have the
same calling conventions and effects. This EOL statement was added for
version 2.1.
-@item Support for the GNUS (not Gnus) newsreader@*
+@item
+Support for the GNUS (not Gnus) newsreader@*
The GNUS-specific parts of the @b{BBDB} will be actively removed for the
2.2 release. No further maintenance and/or bugfixes are planned for
GNUS code at this time. This EOL statement was added for version 2.1.