From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sebastian Miele Newsgroups: gmane.lisp.guile.bugs Subject: bug#41981: Reference Manual on Vtables: Missing Information on Permission "h" Date: Sun, 21 Jun 2020 15:51:42 +0200 Message-ID: <87h7v4o7bl.fsf@gmail.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="74870"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.10; emacs 26.3 To: 41981@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sun Jun 21 15:52:08 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn0OG-000JLm-6a for guile-bugs@m.gmane-mx.org; Sun, 21 Jun 2020 15:52:08 +0200 Original-Received: from localhost ([::1]:51704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jn0OF-0003th-9C for guile-bugs@m.gmane-mx.org; Sun, 21 Jun 2020 09:52:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn0OA-0003tV-QU for bug-guile@gnu.org; Sun, 21 Jun 2020 09:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jn0OA-0002YV-Hw for bug-guile@gnu.org; Sun, 21 Jun 2020 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jn0OA-0004Tn-Fi for bug-guile@gnu.org; Sun, 21 Jun 2020 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Miele Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 21 Jun 2020 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41981 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159274751217199 (code B ref -1); Sun, 21 Jun 2020 13:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2020 13:51:52 +0000 Original-Received: from localhost ([127.0.0.1]:59362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn0O0-0004TK-EA for submit@debbugs.gnu.org; Sun, 21 Jun 2020 09:51:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn0Nw-0004TB-FQ for submit@debbugs.gnu.org; Sun, 21 Jun 2020 09:51:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn0Nw-0003lg-7s for bug-guile@gnu.org; Sun, 21 Jun 2020 09:51:48 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jn0Nu-0002Xo-NR for bug-guile@gnu.org; Sun, 21 Jun 2020 09:51:47 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id v3so6592296wrc.1 for ; Sun, 21 Jun 2020 06:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:reply-to:message-id:date:mime-version :content-transfer-encoding; bh=E/tCTDAfHTycx73MDkIQ8uEoBw6xwdniIxySzBBw7PU=; b=c5GNKIkudLI7DsEd0NGtWiN1XpeoqsjAhNMykc/LurLtQAS6OeqKCLN0N3JZGmztLH lkRaHWuKgHlDqBye1c5bvvC4iFSU4z6z0UcpNE6KZi5FHHjiKQDkucp5plsPDrySP8jH aUiCegk9KWt3n2MI9KTEQFBlxwi/mFkEEdFee56FEa+vCBxJyGALhGShUc7lGBZ/sFSK 1/EW/BtzN2xLlsiDOCBEMEhI/H8H0VkUY89bzoxafLSqoPDN3zUn1MllcLgPcdFIU3fd O+VccvCRyK5yutnDmxF4tEGINXEoBPWFuAyATOTk/0m7SC1SBShHo3vvitO6CG+G2/WT WnQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:reply-to:message-id :date:mime-version:content-transfer-encoding; bh=E/tCTDAfHTycx73MDkIQ8uEoBw6xwdniIxySzBBw7PU=; b=SPe5pe+HQg8gABQiiDdYk1ScRFke4xVZCDcTtmqSy3/ZlOOvZ6YrtTze4j3bD8VEiq 3LEH5WgDgtbzv0rgG1SQeivxbD7KLoHaWtLCeaRo09OWoIHA3EPxD8WrZmajx4Gfp/qE HiWynVySOyjYZFezwIWlvCAS3PpWijbFFFiUrNa+viX7wlE+aerMgtuA/ax3H4OgKvOQ LAFAx3dEblWi3aTslptAd6lfCoJqMX04PBJAh9ZMBtlgvsqalkTCHPxyNwYbmg2a3tuM HBGg7zyFt87GkGlDR63jpbiJMbZ3T5HE5MyQ1QTWIW6t0Tvtj1ocretH8OTjYq+w+1Cz nyYg== X-Gm-Message-State: AOAM532O3er29uWWsV9mkKoV4fTG5zBHmUxGEAhTKncuoiunxBurGqkb ZfPBdcjv+DfM1UMFSpPu4srNIcrX X-Google-Smtp-Source: ABdhPJxgWMfGhpGKSlGkx1U/4fNfIifviUQ3nSaU+LBgLpMJgr76eNYJXJFfskq4pfzTct51ZGcrIQ== X-Received: by 2002:a5d:470b:: with SMTP id y11mr4998547wrq.101.1592747505070; Sun, 21 Jun 2020 06:51:45 -0700 (PDT) Original-Received: from huette ([2a02:908:175c:4260:33a6:b2b0:4ad5:928d]) by smtp.gmail.com with ESMTPSA id j6sm12571467wmb.3.2020.06.21.06.51.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 06:51:44 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=sebastian.miele@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9818 Archived-At: I am on the current master branch. The standard-vtable-fields is "pwuhuhpwphuhuhuh" on my system and something similar in the Reference Manual. In particular, it contains the permission letter "h", but I find no explanation in the manual what that means. Section 6.6.18.1 (Vtables) just mentions: "It used to be that the second letter for each field was a permission code, such as =E2=80=98w=E2=80=99 fo= r writable or =E2=80=98r=E2=80=99 for read-only." And that read-only has become depriciat= ed. At the end of section 6.6.18.4 (Meta-Vtables) is an example: (define* (make-vtable fields #:optional printer) (make-struct/no-tail (make-struct-layout fields) printer)) Without information on "h", I was not able to make sense of the fact, that fields with permission "h" somehow seem to be skipped by make-struct/no-tail when processing the two init values. In particular, for some reason, the value of printer is put into field 3 of the new structure and not in field 1, almost certainly somehow because fields 1 and 2 have "h". "h" should be documented.