unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Adriano Peluso <randomlooser@riseup.net>
Cc: Ricardo Wurmus <rekado@elephly.net>,
	Bengt Richter <bokr@bokr.com>,
	41956@debbugs.gnu.org
Subject: bug#41956: is this still current ?
Date: Thu, 09 Nov 2023 23:17:44 -0500	[thread overview]
Message-ID: <875y2afdhz.fsf@gmail.com> (raw)
In-Reply-To: <7fd3319aad78a597b9d8855ede45849f6d562e05.camel@riseup.net> (Adriano Peluso's message of "Wed, 02 Jun 2021 09:32:24 +0200")

Hi,

Adriano Peluso <randomlooser@riseup.net> writes:

> I understand that a overhaul of the exceptions stack intervened while
> this bug was open
>
> Is this still current ?

Yes.  The affected code hasn't been touched since 2019.  To recall, the
reproducer is this:

--8<---------------cut here---------------start------------->8---
(use-modules (srfi srfi-34)
             (srfi srfi-35))
(guard (c ((message-condition? c)
           (format #t "error: ~a~%" (condition-message c))))
  (canonicalize-path "/no/such/path"))
--8<---------------cut here---------------end--------------->8---

or this:

--8<---------------cut here---------------start------------->8---
(use-modules (srfi srfi-34)
             (srfi srfi-35))
(guard (c ((message-condition? c)
           (format #t "error: ~a~%" (condition-message c))))
  ;; This is what (canonicalize-path "/do/not/exist) ends up doing:
  (throw 'system-error "canonicalize-path" "~A" '("No such file or directory")))

error: ~A
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim





      reply	other threads:[~2023-11-10  4:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 21:33 bug#41956: [PATCH] ice-9: exceptions: Properly format the error message Maxim Cournoyer
2020-06-20  5:46 ` maxim.cournoyer
2020-06-20 18:33   ` Bengt Richter
2020-06-21  3:49     ` Maxim Cournoyer
2020-06-25 10:04       ` Ricardo Wurmus
2020-06-25 16:33         ` Bengt Richter
2020-06-28  4:25           ` Maxim Cournoyer
2020-06-28 18:23             ` Bengt Richter
2020-06-28  4:17         ` Maxim Cournoyer
2020-06-28  4:31           ` Ricardo Wurmus
2021-06-02  7:32 ` bug#41956: is this still current ? Adriano Peluso
2023-11-10  4:17   ` Maxim Cournoyer [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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875y2afdhz.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=41956@debbugs.gnu.org \
    --cc=bokr@bokr.com \
    --cc=randomlooser@riseup.net \
    --cc=rekado@elephly.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).