From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#48029: 28.1; [native-comp] Function names with non-ascii characters Date: Thu, 07 Jul 2022 08:58:26 +0000 Message-ID: References: <877dkp2zr6.fsf@miha-pc> <874kfliksx.fsf@gnus.org> <87bkua8fga.fsf@gnus.org> <8335fh9lah.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17185"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 07 10:59:41 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 1o9NMK-0004Ky-Ns for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 10:59:40 +0200 Original-Received: from localhost ([::1]:33620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9NMJ-0006X2-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 04:59:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9NLi-0006Uv-BO for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 04:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9NLi-0006bx-2n for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 04:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9NLi-0004Ar-0B for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 04:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 08:59:01 +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.165718431916018 (code B ref 48029); Thu, 07 Jul 2022 08:59:01 +0000 Original-Received: (at 48029) by debbugs.gnu.org; 7 Jul 2022 08:58:39 +0000 Original-Received: from localhost ([127.0.0.1]:55733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9NLL-0004AI-5E for submit@debbugs.gnu.org; Thu, 07 Jul 2022 04:58:39 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:55194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9NLF-0004A1-RO for 48029@debbugs.gnu.org; Thu, 07 Jul 2022 04:58:37 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2678wQCV014121 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 7 Jul 2022 08:58:27 GMT In-Reply-To: <8335fh9lah.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Jul 2022 14:20:22 +0300") 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:236334 Archived-At: Eli Zaretskii writes: >> Cc: 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no >> From: Andrea Corallo >> Date: Mon, 04 Jul 2022 08:51:01 +0000 >>=20 >> Lars Ingebrigtsen writes: >>=20 >> > Andrea Corallo writes: >> > >> >>>> nonascii.el, saved with encoding utf-8-unix: >> >>>> >> >>>> ;; -*- lexical-binding: t; -*- >> >>>> (defun nonascii-test-=C5=BE=C5=BE=C5=BE (arg) >> >>>> (when arg t)) >> >>>> >> >>>> Visit it and M-x emacs-lisp-native-compile-and-load. >> >>>> A function called "nonascii-test-=C3=85=C2=BE=C3=85=C2=BE=C3=85=C2= =BE" will be defined. >> >>> >> >>> I can reproduce this problem here, too (under Debian/bullseye). (And >> >>> this works fine when doing non-native compilation.) >> >>> >> >>> I've added Andrea to the CCs. >> >> >> >> Thanks Lars, >> >> >> >> it's in my todo, I'll try to have a look this coming week. >> > >> > This is still the case in Emacs 29 -- did you get any further with thi= s? >>=20 >> Hi Lars, >>=20 >> nope, had no time to progress with this. > > Andrea, can you point to the place (or places) where the name of the > function is generated in this scenario? Perhaps armed with that > knowledge, fixing the problem will not be too hard. > > Thanks. > Sure, the place where the C function name is generated is `comp-c-func-name' at comp.el:1175. ATM I'm not 100% sure the fix limited to this tho. BR Andrea