From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id AFA543858D3C for ; Tue, 17 Oct 2023 06:49:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AFA543858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AFA543858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697525399; cv=none; b=jySN8k5U/5qCkn4M3AKqq/8/hUL4VwxeEEiNmqjOicB+VmCDIvYfmyvjKv/FIOjo37jJ1iQxyVK9zv+TmKvB9ViGtNZmYWAuL9N6l8hcDZB9uZVAjtLZgByLJ5Dik7HsM3dkD7DIpvVsOKKP3Ein5HmHLzS4qO4aErmvBYbBxs8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697525399; c=relaxed/simple; bh=NeYB/LEX0b/AhVOcaio33qrSeNKLPCqjoMjtQ/HMkA8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Wg9PlA9/i/FbqISpGs+ZzN5LZJxBLULHblSyx9djyc5Z+efTlzIb8n5FRM2RFAby3BAOBxAR7xPvxpN72h/E16lKvFtozIbF9o5CGwlu4C0LIyw05gRDJ+YvbOLp/I5eTAuUQM5/KhhkzzEmz6EOyvMQFQkb5dc7X2U8BDasr4M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-98377c5d53eso815023866b.0 for ; Mon, 16 Oct 2023 23:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697525396; x=1698130196; darn=sourceware.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=V3wT3mJ1eLpRjS52zM8BfDBLGDS1kUvg+3N0FB7hLbI=; b=LhAOinpqiNBylierT5KDqIqKd4FqT6ju5cCWAx0Zc26NhB++3dlRAt0aA0fJ2Farp1 1Atja3i1MYYw4iYqNWQQQjmvpg07CgqOpcJD1GtDmsoZyQ/jeW3BfMwncqxIdILquXkK iIoXPXm3oLhOFzb66B/LIMdr+tzftcUNyoSVGX5J97DlR6EikocpukaFQgVU+1h/IVen HoJdU0LrAQeKhydbDoDJJKe5AF5X/tLjHblDt3d6gDE5U7CUFG2z+07oreenMH3hzH18 9hY3trpLPvg1rKIIKfwMf6B2WOy7t7FEX8/7YzqalbbJjJcWbR6cp1faOzG8uW262948 z9bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697525396; x=1698130196; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V3wT3mJ1eLpRjS52zM8BfDBLGDS1kUvg+3N0FB7hLbI=; b=PsQC1YsY70/DA3xl4dfnwNLBYT2UBdJyX15bkiJFqRDpJlTBC21p8/j/QeK0EiFa9D FXC2bTdARVII7PiK+2OAEsbrdJFYEEaTHlQMFNeiMYXsQLpuun6XjhMgyrHV3SQohyMo I+nd7C3kcMiYM3N0QkS/4Qsi+1SmK3cUiPIASWJ/Kf4PDWiuDzzFiEFy0S7GWCfxyHoM 6TkGREl99umJ+GcY6uaZHbSoRZ5fRZSz5VvJLqn7mdVxfKl5Qau5P32/NkKTGlZdQ4DB xhEq3+iSO3Sj3fbgtoYJviw2TkPIAEvR/BsBCtgTFSWRBAYuas4LmurLah4lMgSaksGt KGcA== X-Gm-Message-State: AOJu0YydEw40wcCWzfQ9VCS2ree8wSlTMyuv6Br8139k+1OLPeyQjTvP fUVZb3yBxV1h29dszITUMrfKPdH8ZAyvWxlLZHPlFL3fkiE= X-Google-Smtp-Source: AGHT+IENPyU0Jdbi3IjXftBV+rcYGftDyjtvQ9SgcfY/kqBhLPxOPWa1Z0ghLwxCt9RqKC3UOIvmJ/bKiiG6uKukGIE= X-Received: by 2002:a17:907:9348:b0:9be:2be:e6f6 with SMTP id bv8-20020a170907934800b009be02bee6f6mr956875ejc.12.1697525395727; Mon, 16 Oct 2023 23:49:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Damien Mattei Date: Tue, 17 Oct 2023 08:49:44 +0200 Message-ID: Subject: Re: pprint bug ? To: kawa mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: in fact guile and racket act the same way: scheme@(guile-user)> (display '(include "../../Scheme-PLUS-for-Kawa/rec.scm= ")) (include ../../Scheme-PLUS-for-Kawa/rec.scm) Welcome to DrRacket, version 8.9 [cs]. Language: racket, with debugging; memory limit: 8192 MB. (display '(include "../../Scheme-PLUS-for-Kawa/rec.scm")) (include ../../Scheme-PLUS-for-Kawa/rec.scm) :-( i just want to output code with indentation ,if i do it with 'write' ,i loose indentation, if i do it with 'display' or 'pprint' i get indentation but code is no more valid as string are without " ". On Mon, Oct 16, 2023 at 11:52=E2=80=AFPM Damien Mattei wrote: > > hello, > i find something strange in pprint: > > (import (kawa pprint)) > (pprint '(include "../../Scheme-PLUS-for-Kawa/rec.scm")) > > will output: > (include ../../Scheme-PLUS-for-Kawa/rec.scm) > > which is no more an s-expr , it has wiped out the " " of the string, > and it is bugging my code > > isn't it more normal to output: > (include "../../Scheme-PLUS-for-Kawa/rec.scm") > > ?