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=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 A6B041F466 for ; Thu, 16 Jan 2020 08:31:15 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 291A9120C0B; Thu, 16 Jan 2020 17:30:57 +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 0D20C120C0A for ; Thu, 16 Jan 2020 17:30:52 +0900 (JST) Received: by filterdrecv-p3iad2-57f487d66-whbch with SMTP id filterdrecv-p3iad2-57f487d66-whbch-18-5E201F42-66 2020-01-16 08:30:58.748700392 +0000 UTC m=+2619861.712659697 Received: from herokuapp.com (unknown [54.158.130.18]) by ismtpd0030p1iad2.sendgrid.net (SG) with ESMTP id Qg7S8EKrRkGTjtciozfMmg for ; Thu, 16 Jan 2020 08:30:58.681 +0000 (UTC) Date: Thu, 16 Jan 2020 08:30:58 +0000 (UTC) From: matz@ruby.or.jp Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 72564 X-Redmine-Project: ruby-master X-Redmine-Issue-Id: 16495 X-Redmine-Issue-Author: Kolano X-Redmine-Sender: matz 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?bXEIHGfdFwsIlBTndiToCp=2Fmc2rfxRD2sZAksRKJIHVJSItS+ltt9909UsAUek?= =?us-ascii?Q?GfVGd5ABEILwZmK9HPiw6QIjLao=2FUJYJr1gHJtY?= =?us-ascii?Q?BtG3W6iCM1Ss6TTSniHPPTY7h3uo9RqL+QS4f+A?= =?us-ascii?Q?3f1fRrDPTwvZXbxas+Kz2oAOIice=2F9GUP7aDahE?= =?us-ascii?Q?4fm0f+wKcB6MhxaI3QligJx7e=2FCxGtHsAzQ=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 96902 Subject: [ruby-core:96902] [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 matz (Yukihiro Matsumoto). 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. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-83919 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: * 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/