From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Benoit Vaugon <benoit.vaugon@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] A question about Format and semantic tags
Date: Wed, 23 Mar 2016 16:38:33 +0100 [thread overview]
Message-ID: <m2lh59nr0m.fsf@charm-ecran.irisa.fr> (raw)
In-Reply-To: <56F2AFDD.3090609@gmail.com> (Benoit Vaugon's message of "Wed, 23 Mar 2016 16:01:49 +0100")
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
On 2016-03-23 16:01, Benoit Vaugon <benoit.vaugon@gmail.com> writes:
> Hello Alan,
>
> In fact, the Format tag activation is local to a formatter. The function
> Format.set_tags enables tags only for the std_formatter (associated to stdout).
> If you want to activate tags for the Format.str_formatter, you should call:
>
> Format.pp_set_tags Format.str_formatter true;
>
> instead of:
>
> Format.set_tags true;
> Format.set_mark_tags true;
That's it, thanks a lot!
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂ (2016-02, Mauna Loa Obs.): 404.02
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
prev parent reply other threads:[~2016-03-23 15:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 12:47 Alan Schmitt
2016-03-23 15:01 ` Benoit Vaugon
2016-03-23 15:38 ` Alan Schmitt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lh59nr0m.fsf@charm-ecran.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=benoit.vaugon@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox