From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Lam Newsgroups: gmane.lisp.guile.user Subject: Unbound variable warning/exception Date: Sat, 19 Dec 2020 09:25:46 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15176"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 19 02:26:20 2020 Return-path: Envelope-to: guile-user@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 1kqR0l-0003qM-CM for guile-user@m.gmane-mx.org; Sat, 19 Dec 2020 02:26:19 +0100 Original-Received: from localhost ([::1]:47320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqR0k-00084b-7C for guile-user@m.gmane-mx.org; Fri, 18 Dec 2020 20:26:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqR0Z-00084I-DG for guile-user@gnu.org; Fri, 18 Dec 2020 20:26:07 -0500 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:34335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqR0U-0003C4-Gx for guile-user@gnu.org; Fri, 18 Dec 2020 20:26:07 -0500 Original-Received: by mail-pj1-x102a.google.com with SMTP id n3so5559136pjm.1 for ; Fri, 18 Dec 2020 17:25:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=TFpRyLqkrIHUkncgiQrte7V6YkpN5l20gqRqo37u4zQ=; b=lSODEgPrEqq55w0DnUfrtiTm+jRj75dDC7/HeYABSzZol9UkQDzsk58cz/nqzDfa7+ OgbAPVmnEUw8w1iwAeTKn9qlXFykHbeIoM203M6y08EAzEATpsQIS9CgSot1j27SB3SF FHeP3WbbUoitZp3vz50M+ug1cj1LuH3/DctMPfjIubola1Ez8DU+j/Hme3BvV5HlzSjd 9y8JivH7MxoWj/3CqbhRn1DAmxG360e7DO3etStWl4zPUmioNm0a47EmQQIlZpuRE5DZ KVWOTZOqzuTuLLvAmyerZ+ru15njRhg6dvIM2/vJmXNv/1Kho99H+Q0g91xWA7L9g+Ai Kpyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TFpRyLqkrIHUkncgiQrte7V6YkpN5l20gqRqo37u4zQ=; b=VVaVsWfDtJzQTZ1Blkb0RCIIbyv5GFsEIuqP7e7RJ7Jvr/oJJ1ZK43UzrZ09RajHw5 ypRtdyif04PU2lbOCazr6dCfbOv7v07SRQStay8vzSL3M+/gRYwl1SUCHqz0xjpy/b32 wY6Wl5RmgmTQ5Ie5I0tizhsDI4TA74wvkWyMaSbjG6Lx62FSpl3p4I5LW4B16Fnh5PHW e2AKhzmoaDpjrT9hzWD/zLG+80gqJZ2r79tbYZ9CXdkMbu6h4ypR5DJc472ey6RNfX5W cs8gwUH92Flyf0zCc7HE1qIgrno3yYtuZeKvqKQjP320cioGaSyHwkm7CTe109/DRCl/ xR+A== X-Gm-Message-State: AOAM532JaUJqX3C/j8h8UauHht6321oRA4OnaCpsZHCJrOXpJ6N9fPR2 cCwpbNp39C4BQGPXEgVq6ce0tYkhb0Z+4K7vua+CR5lO X-Google-Smtp-Source: ABdhPJyhC+xOwIaVNoh+hoW/5c7m2jA8sImHiGho+al6U3AHa0+2MpfGC4TATq2FPm92Cg3/66TUrP1iyRJXpHtVxh8= X-Received: by 2002:a17:90b:3596:: with SMTP id mm22mr6882483pjb.235.1608341158078; Fri, 18 Dec 2020 17:25:58 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=christopher.lck@gmail.com; helo=mail-pj1-x102a.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17085 Archived-At: Hi guilers, I saw in guix the incredibly useful unbound-variable exception printer written by Ludovic. I've adapted for use in gnucash as https://github.com/Gnucash/gnucash/commit/6f951784 -- there are now in guile 3.0.4 many more unbound-var warnings than in 3.0.2 -- wouldn't it be a useful hint to add to the warning in core guile as well?