From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48029: 28.1; [native-comp] Function names with non-ascii characters Date: Fri, 08 Jul 2022 15:40:35 +0300 Message-ID: <838rp34w1o.fsf@gnu.org> References: <877dkp2zr6.fsf@miha-pc> <874kfliksx.fsf@gnus.org> <87bkua8fga.fsf@gnus.org> <8335fh9lah.fsf@gnu.org> <87bku0g6h7.fsf@gnus.org> <83pmig40s4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 08 14:42:49 2022 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 1o9nJo-0002Vu-CG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 14:42:48 +0200 Original-Received: from localhost ([::1]:57126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9nJl-0006es-NS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 08:42:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nI7-0004c3-4r for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 08:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9nI6-0007u1-7I for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 08:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9nI6-0001Fr-2n for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 08:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2022 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48029 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 48029-submit@debbugs.gnu.org id=B48029.16572840524790 (code B ref 48029); Fri, 08 Jul 2022 12:41:02 +0000 Original-Received: (at 48029) by debbugs.gnu.org; 8 Jul 2022 12:40:52 +0000 Original-Received: from localhost ([127.0.0.1]:59050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9nHv-0001FC-Sc for submit@debbugs.gnu.org; Fri, 08 Jul 2022 08:40:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9nHq-0001En-I7 for 48029@debbugs.gnu.org; Fri, 08 Jul 2022 08:40:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nHh-0007Q8-NF; Fri, 08 Jul 2022 08:40:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rN9j+FIbIcRwuRx8u5OLCd8e12I20IzrkeLC8bjCWGE=; b=Yg9LdenRoTuh gLJioktA8pMdzPiE289WkPliOetzqBnhhdYqCKz3cW6ggG73Rzmv6PE1qI7T4F21cu7pB2RPVQys2 xO2H8n3BLS5t8TjGad4vDQ+pTvJ2c82NP/Ai51yIG45sHsIZgbYKCuhHJKCSkULFsuGn6sRUUZTKD Ydb6i8tnZfMQXTAzkboyjnnWT9BxysJjTIWVWAbUmEr32NAnyQdRh9GiO3M0J2l2SJRZMNTb88SsS FY+ei15/q5mKskN4KNWIqquCV7pYoQm8WzCPj93fNk4BOAJc1SnGWujQYyg2E3GVa8yVJ2OLWXu2v ZIX7RqZ1VG9yF5/8BcQdqA==; Original-Received: from [87.69.77.57] (port=2322 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nHh-0002NK-6e; Fri, 08 Jul 2022 08:40:37 -0400 In-Reply-To: (message from Andrea Corallo on Fri, 08 Jul 2022 08:49:42 +0000) 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:236450 Archived-At: > From: Andrea Corallo > Cc: larsi@gnus.org, 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no > Date: Fri, 08 Jul 2022 08:49:42 +0000 > > > Why do we have ";; -*-coding: nil; -*- "? I think that's the problem: > > it should be ";; -*-coding: utf-8; -*- " instead. Where does the nil > > come from? > > AFAIR at the time we encountered a situation when one of these files was > read back with some other encoding (I guess it's heuristic?) so fixing > the encoding to nil solved the issue. You mean, bug#45433? If the problem is EOL conversion, using utf-8-unix instead of utf-8 should take care of that. Or maybe even use utf-8-emacs-unix. Are we likely to write bytecode into this temporary file? > > Lisp sources are by default UTF-8 encoded, so that should be the > > default for the temp file we write. Bonus points for using the actual > > encoding of the Lisp source file there (which in very rare cases can > > be something other than UTF-8). > > Ok attached the patch that sets it to utf-8, seems to work for me. > > I'll have a look on how to spill the original coding system and get the > bonus points hopefully next week. Thanks. > Should this patch go in master or into the release branch? To the release branch, if Lars agrees. But let's first try to see if bug#45433 is not back after the above change.