From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 8AF4B1F466 for ; Sun, 19 Jan 2020 02:22:28 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9B2811209A7; Sun, 19 Jan 2020 11:22:06 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 7DD8D1209A0 for ; Sun, 19 Jan 2020 11:22:04 +0900 (JST) Received: by filterdrecv-p3mdw1-56c97568b5-cmkgv with SMTP id filterdrecv-p3mdw1-56c97568b5-cmkgv-18-5E23BD52-33 2020-01-19 02:22:10.878817178 +0000 UTC m=+2857144.473563772 Received: from herokuapp.com (unknown [34.229.125.23]) by ismtpd0039p1iad1.sendgrid.net (SG) with ESMTP id nckysK1yRdiq-T5pwuWOgg for ; Sun, 19 Jan 2020 02:22:10.799 +0000 (UTC) Date: Sun, 19 Jan 2020 02:22:10 +0000 (UTC) From: nobu@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 72604 X-Redmine-Project: ruby-master X-Redmine-Issue-Id: 16495 X-Redmine-Issue-Author: Kolano X-Redmine-Issue-Assignee: matz X-Redmine-Sender: nobu 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-SG-EID: =?us-ascii?Q?q8Dly+pU2+3ektTtZVXgZtbJPXwqo7p86jCsvYTW4BwDvSqTxuXx5K95OzoWz5?= =?us-ascii?Q?KST6vhpW5ej9=2FvAEzRIFPUE52NKUIznM=2FhmFCmw?= =?us-ascii?Q?z7mBK2TubVnjC5QL2KTPHdqYSH1CRa4AIYXKMPK?= =?us-ascii?Q?e=2FRJsBJEV7F7+Q3V9JB0rQI765eqme2yEwCOjit?= =?us-ascii?Q?O+j2dK09ti26MnSI9HelNaa1jfzmSpIVvco+8jN?= =?us-ascii?Q?BMcMJon5PiY1cjmwA=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 96939 Subject: [ruby-core:96939] [Ruby master Feature#16495] Inconsistent quotes in error messages X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16495 has been updated by nobu (Nobuyoshi Nakada). zverok (Victor Shepelev) wrote: > > I fail to see the actual gain. > > > As it was already pointed in related tickets, the gain (or rather the problem solved) comes when the error message is copy-pasted into any input field supporting Markdown or Markdown-alike syntax. This includes this very tracker; and GitHub/GitLab comments/PRs; and Slack and any of its open- or closed-source modern alternatives, like Gitter or Mattermost; and almost any other of developer-friendly software that emerged in the last 10 years or so. I believe it is relatively small, but constantly annoying problem. Why don't you use block quoting? ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-83966 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- 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/