From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 866F21F451 for ; Thu, 4 Jan 2024 00:31:35 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=gRVgEdQG; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=e2FNYgXa; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 8C97481AD2; Thu, 4 Jan 2024 00:31:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1704328287; bh=C5pjKw08DLm2tE7X1CcZSodbrBu6DjMF5xW1qhAbC5c=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=gRVgEdQGbuU95kTrg4l6NrB2bKTS1AcwIV0zJkZldlDFjy0Ey7qpTjE4le13yllzc cFVREdn+LmhQlr6fBE/7AihRvObJwhMcxhyhoEiniIPOuJq+Lod/Y3mEzDZKkolwiL qr+KLiT9N0DrSMp3EOD4HjoabCCVQW6oOmR/wm4k= Received: from csnrwnwx.outbound-mail.sendgrid.net (csnrwnwx.outbound-mail.sendgrid.net [198.37.146.154]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 713F881A8D for ; Thu, 4 Jan 2024 00:31:24 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=e2FNYgXa; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=6vl6v6LuZ+diCek93GJVB5SUPYzqfkiX3sQFfhMwGbA=; b=e2FNYgXa7EKAhgbdYjbCP7X584LsIUfE5EX2ga1wFdW2uqJfC2JY4+tghw+Tm3UCBwOr x4BKYBGqSldoa/IuBAPeAj0SuIWdQ6+pWsmjJy6JPIDYNjb/8Yy0Uw4FZ+HQrmLbATXXXm IHUjH8Ni448K8NPWsuxo2Hwb1JlHW0ROb5NrfBGhPMjY/hiv1M+s3RwGRcNarj17wfK4f7 yAHw32xLTerK+chGWYtkdgSeYpQLVSyT4a2jyva/xthqZTi5+rK/SSWSrAbYv9E/Za0+fq dPAOeqe4SUTzBgws1Q1Jx3PaQ7NJgpzoaEaAP92Nu1FrUdwcvKMNXjAUOnYRjw1w== Received: by filterdrecv-655bd866f5-9t24g with SMTP id filterdrecv-655bd866f5-9t24g-1-6595FC5A-10 2024-01-04 00:31:22.367106748 +0000 UTC m=+2017687.851157689 Received: from herokuapp.com (unknown) by geopod-ismtpd-30 (SG) with ESMTP id Pno61s2iT9uwSzY6HZ5CTA for ; Thu, 04 Jan 2024 00:31:22.362 +0000 (UTC) Date: Thu, 04 Jan 2024 00:31:22 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 16495 X-Redmine-Issue-Author: Kolano X-Redmine-Issue-Assignee: matz X-Redmine-Sender: joshuap X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 92565 X-SG-EID: =?us-ascii?Q?1qcgBGGjdGFj2OJGQPflA8RIZF7BvNmPnWDnNh1U3Zon2+iqTDyxxHPUOXo7Hj?= =?us-ascii?Q?Yk9wug2Oc1GoaMmUPFysSlASkT5wHNpTaDeFYrH?= =?us-ascii?Q?2ToW4O+44tU=2F3G9ooni5kqrEj7=2FRbTy8+Ou41ZH?= =?us-ascii?Q?oNxqYjvJtK2KE7VX3BO5UlINLSC9yBCNPgd7kaX?= =?us-ascii?Q?kuNlvB+BFdCr6VWKHQtSqsxaTqfPYbgeZDFhgGC?= =?us-ascii?Q?hOAd7kUbLWmxPXMrXhJZjeSP38V3A=2FShRyhmKli?= =?us-ascii?Q?YcLU1TQYmFUbwG0FExPbA=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: ABXWCYSPOS4UMLWQELUQ5U76GR2SSC5D X-Message-ID-Hash: ABXWCYSPOS4UMLWQELUQ5U76GR2SSC5D X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:116002] [Ruby master Feature#16495] Inconsistent quotes in error messages List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "joshuap (Josh Wood) via ruby-core" Cc: "joshuap (Josh Wood)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #16495 has been updated by joshuap (Josh Wood). ivoanjo (Ivo Anjo) wrote in #note-25: > matz (Yukihiro Matsumoto) wrote in #note-7: > > It was something cultural. I admit nowadays very few people use backquote as a left-hand quote, but it used to be. I also admit consistent quotes are easier for our eyes when using recent major fonts. But changing those quotes may affect existing log parsers. We have to estimate how big is the influence of the changes. > > > > Matz. > > On the topic of impacting the ecosystem, there have been quite a few changes to how exceptions have been displayed recently: > > * https://bugs.ruby-lang.org/issues/17930 > * https://bugs.ruby-lang.org/issues/18564 > > and even more being discussed https://bugs.ruby-lang.org/issues/19117 . > > Overall the impact on the ecosystem seemed quite small, and the gain in usability was nice. So changing the `` ` `` to a `'` doesn't seem like it would be worse than any of those changes. To chime in here, at Honeybadger we use this regular expression to parse the Ruby backtrace: https://github.com/honeybadger-io/honeybadger-ruby/blob/edc815c136c5d61fb4e8363b2ffafedef246e4fc/lib/honeybadger/backtrace.rb#L10 I don't think it should be too difficult for us to support both the old and new quote formats. As a Ruby user myself, I always found the backtick to be odd, and wasn't aware of the history, which is fascinating. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-105997 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- Error messages use inconsistent pairs of quotes, for instance: ``` -e:1:in `
': undefined local variable or method `foo' for main:Object (NameError) ``` where a back tick is used on the left-hand side, and a single quote is used on the right. The same quotes should be used on either side of the elements being quoted. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/