From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#48043: UTF-8 magic comment is unwelcome with recent Ruby versions Date: Wed, 28 Apr 2021 05:23:56 +0300 Message-ID: References: <5a8e33ff-2ca9-7125-2fac-1874a9f69900@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 Cc: 48043-done@debbugs.gnu.org To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 04:25:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lbZt0-0004Nk-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 04:25:10 +0200 Original-Received: from localhost ([::1]:44112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbZsz-0001gh-90 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 22:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbZss-0001gQ-R2 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 22:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbZss-00016L-Kf for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 22:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbZss-0007Es-Gu for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 22:25:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 02:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 48043@debbugs.gnu.org, dgutov@yandex.ru, p.d.oliver@mavit.org.uk Original-Received: via spool by 48043-done@debbugs.gnu.org id=D48043.161957664827735 (code D ref 48043); Wed, 28 Apr 2021 02:25:02 +0000 Original-Received: (at 48043-done) by debbugs.gnu.org; 28 Apr 2021 02:24:08 +0000 Original-Received: from localhost ([127.0.0.1]:51371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbZs0-0007DH-2f for submit@debbugs.gnu.org; Tue, 27 Apr 2021 22:24:08 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:56103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbZrw-0007Cg-7W for 48043-done@debbugs.gnu.org; Tue, 27 Apr 2021 22:24:06 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id n127so20990583wmb.5 for <48043-done@debbugs.gnu.org>; Tue, 27 Apr 2021 19:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uFx05NxGoci0csCYLw/IvxOoIN6AmBWVgNMXQfYBnWY=; b=O5DdTiel6rVp+tqjCbaKRB3olGNIxFcmuJUHRfjyKJeYWu7A9Dr/reoy/5sr0kLd9J 2EvWinlWLMc3UpVAOoW7FAUwjHvni21eukLh9qG4vjQy7bgOeDfPId2ck5+csAGpWWuO AGmq8ddcVggFuhUHXWla9xzvf+etuSR5h+oNW0fWSdtiGL+VBgH2hwGN4umgWFod+zfL KKCQ/9DnuYB+E85WQrcUHzSnjIWjONTE2S2xIOOItfu+tpbZCqHLjs5P4kmiLD9cYqEA qK5f4UGXBhEdF9P6h4bD078zyoJuLy4kwiKKuuqW5YsDB9u0gyvojPxz9nBNfDjOnE0O QQFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uFx05NxGoci0csCYLw/IvxOoIN6AmBWVgNMXQfYBnWY=; b=PASdVKaX7ueZWVX5FjcSRauxeA6bEy/wWT8YcTRyqfQ5TeCqq7/lHf/4mMGUjB3CYZ tGl4FQPMg+M3PglpXlNUyeSrZaOuStjnJSIsezFZYFVlVTTse1faPwq73dPB91B6835C sjpTlw8rHPE5Obep4+s5yJFeDuwSGuRBGL9OkAwsNvxgznshlIVA8MeAHzAKhlQY07t1 xxzpym+8Tt+2lD7f9ZbZhMMgIAwCI46ck4a8JdEocRo2GNQKqK+ENtq4/u0Lp4efWba6 JXvo0H7MkBvczO00dX8RESozDTbFPhCQPVrcIdfp1uFghI5yJjN1YjYYoHLOwOvOScX6 29lw== X-Gm-Message-State: AOAM533zk9Py+SbjkVoT2pSiEq0rR8RX3efep82vKMjGdSegy8uSf9gf 5yWGNQaORTNX59ZEmJnp02R2WWi5Cbw= X-Google-Smtp-Source: ABdhPJxNuEVuIGrSNIKzVG08HmoPUjDOPka5J6Pbo1qusSoJNumyMvOg6kf5e7WdEgo5pSAhc3gggQ== X-Received: by 2002:a1c:b783:: with SMTP id h125mr1463103wmf.182.1619576638367; Tue, 27 Apr 2021 19:23:58 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id q20sm6286500wmq.2.2021.04.27.19.23.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Apr 2021 19:23:57 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205076 Archived-At: Version: 28.1 On 27.04.2021 18:29, Peter Oliver wrote: > That works for me, and I think is more straightforward than my > approach.  Thanks. > > Attached is an additional patch which adapts the tests added in my patch > for your patch. Thanks! I've pushed the change and the tests to master. Please note that since (AFAICT) you don't have FSF copyright assignment on file this exhausts the allowed limit for code contributions to Emacs. Would you like us to send you the assignment form, so that the next patch could be accepted without reservation?