GNU bug report logs -
#57377
[PATCH] api-coverage.texi: fix example, remove mentions of unimplemented features
Previous Next
Reported by: Antoine Kalmbach <ane <at> iki.fi>
Date: Wed, 24 Aug 2022 09:10:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57377 in the body.
You can then email your comments to 57377 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#57377
; Package
guile
.
(Wed, 24 Aug 2022 09:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Antoine Kalmbach <ane <at> iki.fi>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Wed, 24 Aug 2022 09:10:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* doc/ref/api-coverage.texi (Code Coverage): #:modules is not
supported... never seems to have been supported?
(example): close port, not file.
---
doc/ref/api-coverage.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/ref/api-coverage.texi b/doc/ref/api-coverage.texi
index 5081d343b..61ac4abf1 100644
--- a/doc/ref/api-coverage.texi
+++ b/doc/ref/api-coverage.texi
@@ -25,12 +25,12 @@ Return @code{#t} if @var{obj} is a @dfn{coverage data} object as returned by
@code{with-code-coverage}.
@end deffn
-@deffn {Scheme Procedure} coverage-data->lcov data port #:key modules
+@deffn {Scheme Procedure} coverage-data->lcov data port
Traverse code coverage information @var{data}, as obtained with
@code{with-code-coverage}, and write coverage information to port in the
@code{.info} format used by @url{http://ltp.sourceforge.net/coverage/lcov.php,
-LCOV}. The report will include all of @var{modules} (or, by default, all the
-currently loaded modules) even if their code was not executed.
+LCOV}. The report will include all the modules loaded at the time
+coverage data was gathered, even if their code was not executed.
The generated data can be fed to LCOV's @command{genhtml} command to produce an
HTML report, which aids coverage data visualization.
@@ -49,7 +49,7 @@ Here's an example use:
(lambda (data result)
(let ((port (open-output-file "lcov.info")))
(coverage-data->lcov data port)
- (close file))))
+ (close port))))
@end example
In addition, the module provides low-level procedures that would make it
--
2.35.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 01 Oct 2022 13:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Antoine Kalmbach <ane <at> iki.fi>
:
bug acknowledged by developer.
(Sat, 01 Oct 2022 13:59:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 57377-done <at> debbugs.gnu.org (full text, mbox):
Hi Antoine,
Antoine Kalmbach <ane <at> iki.fi> skribis:
> * doc/ref/api-coverage.texi (Code Coverage): #:modules is not
> supported... never seems to have been supported?
> (example): close port, not file.
In commit 4456245753ff925cafd3e72d130761b6f1c2c419, Jessica Talon added
support for #:modules.
I applied the fix for the typo you found in the example, though.
Thank you!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 30 Oct 2022 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 179 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.