unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo <akrl@sdf.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no
Subject: bug#48029: 28.1; [native-comp] Function names with non-ascii characters
Date: Thu, 07 Jul 2022 08:58:26 +0000	[thread overview]
Message-ID: <xjfa69lqoy5.fsf@ma.sdf.org> (raw)
In-Reply-To: <8335fh9lah.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Jul 2022 14:20:22 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: 48029@debbugs.gnu.org, jakanakaevangeli@chiru.no
>> From: Andrea Corallo <akrl@sdf.org>
>> Date: Mon, 04 Jul 2022 08:51:01 +0000
>> 
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>> 
>> > Andrea Corallo <akrl@sdf.org> writes:
>> >
>> >>>> nonascii.el, saved with encoding utf-8-unix:
>> >>>>
>> >>>>     ;; -*- lexical-binding: t; -*-
>> >>>>     (defun nonascii-test-žžž (arg)
>> >>>>       (when arg t))
>> >>>>
>> >>>> Visit it and M-x emacs-lisp-native-compile-and-load.
>> >>>> A function called "nonascii-test-žžž" 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 this?
>> 
>> Hi Lars,
>> 
>> 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





  reply	other threads:[~2022-07-07  8:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26  8:53 bug#48029: 28.1; [native-comp] Function names with non-ascii characters jakanakaevangeli
2021-05-02  8:47 ` Lars Ingebrigtsen
2021-05-02 21:19   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-30 13:10     ` Lars Ingebrigtsen
2022-07-04  8:51       ` Andrea Corallo
2022-07-04 11:20         ` Eli Zaretskii
2022-07-07  8:58           ` Andrea Corallo [this message]
2022-07-07 17:47             ` Lars Ingebrigtsen
2022-07-07 20:51               ` Andrea Corallo
2022-07-08  5:43                 ` Eli Zaretskii
2022-07-08  8:49                   ` Andrea Corallo
2022-07-08 12:40                     ` Eli Zaretskii
2022-07-08 13:43                       ` Andrea Corallo
2022-07-08 13:59                         ` Eli Zaretskii
2022-07-08 14:53                           ` Andrea Corallo
2022-07-10 12:56                       ` Lars Ingebrigtsen
2022-07-10 13:02                         ` Eli Zaretskii
2022-07-12 14:24                           ` Andrea Corallo
2022-07-12 15:40                             ` Eli Zaretskii
2022-07-12 15:46                               ` Lars Ingebrigtsen
2022-07-13 13:20                                 ` Andrea Corallo
2023-06-05  8:50                                   ` Andrea Corallo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfa69lqoy5.fsf@ma.sdf.org \
    --to=akrl@sdf.org \
    --cc=48029@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jakanakaevangeli@chiru.no \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).