From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#75379: 30.0.93; project-find-regexp expects "C" or "en" locale Date: Tue, 7 Jan 2025 06:42:43 +0100 Message-ID: References: <86jzb96qul.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000096d5d4062b173739" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 75379@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 07 06:43:21 2025 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 1tV2N6-000646-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jan 2025 06:43:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tV2Mq-0007nL-Pd; Tue, 07 Jan 2025 00:43:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV2Mp-0007mx-6H for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 00:43:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tV2Mo-0004M1-U7 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 00:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=xYk5wJB3RSEEGXc+OYOCzAAMv/cHknc2ogaXCK7+/3w=; b=nUGpXbQudj/zRCeb5SQ5Ir3rDqc04nqQEKT75b8ihTcu1g0z9i6ghsG4DZUMBCQl+X/gbJFV914/eezIWVJwIM7MNvNfDpkAKFSDhCIkiM+eGQ3bN24DUUeOCYHtc8inAq0k1elNNyUjq8lrNGafccT6kvcH3Sms8XE5if0KEMqYYycm86SQVniZvnyrpE8+5Z+0Har3sDHmYlzY2VK307h/EDLUV1beMSvHY0VlTQpKrnPmr3xCZo/AZ1gNulNfG5tM53plFENIf8sKPf2bBhZUohEQXCxXR+Osb2mCgK43QhqMfVqdYTJgaF+LSkw+SSHojYWy3mXZ6gNuw35Zkw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tV2Mo-0001RD-GT for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 00:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2025 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75379 X-GNU-PR-Package: emacs Original-Received: via spool by 75379-submit@debbugs.gnu.org id=B75379.17362285825523 (code B ref 75379); Tue, 07 Jan 2025 05:43:02 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 7 Jan 2025 05:43:02 +0000 Original-Received: from localhost ([127.0.0.1]:41474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tV2Mn-0001Qy-KQ for submit@debbugs.gnu.org; Tue, 07 Jan 2025 00:43:01 -0500 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:55543) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tV2Ml-0001Qo-1R for 75379@debbugs.gnu.org; Tue, 07 Jan 2025 00:43:00 -0500 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-aafc9d75f8bso178723366b.2 for <75379@debbugs.gnu.org>; Mon, 06 Jan 2025 21:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736228578; x=1736833378; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xYk5wJB3RSEEGXc+OYOCzAAMv/cHknc2ogaXCK7+/3w=; b=hqOHusEFpYXqMhHHOuSULMko3SqiE4XoG6cpf+ViUQU5qPKc+2xocL3LWwLi2nmh8L +6cPSgSi+k1Ijua3sNykBHAE9XBpKLht36aNIgEPpH6kv4IYCgtYofgJVxA0cF1nVRCw HQnHCJsMnl0y6wJZp1kO2G5Au8chdkpJggVcN4QpUuySmAmCPOn4jixMNrE4rcsTXKtq rvh1RKh1DMV+8ASrOqEtTabguCxRRr4IUwzHORfPbniuJms/gyMsbix36FKxb5jiOC5l eowS72egztYLaupt7B4wgfAGg4RiSsEojGjhj2iHD6ys7Pgn+ZJCaMu7O1v6HFvYMzwg gvCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736228578; x=1736833378; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xYk5wJB3RSEEGXc+OYOCzAAMv/cHknc2ogaXCK7+/3w=; b=aHouxPmsQQjL6v/wOrgretHBNjFQa0wYnkWXK3XpjIsk/o3F9OjIno/Q/nQ5DfQg2U SRY4z4OHRzH/eh5k5SU3GhYd76zI77u3ouRocOp+x/mSOpO12qXqQwkGD1X5tiY/8iFh vXy4nF/0LL4O2ra756mELvcTlp8gqQ9TQhP397uB9l8L4QeoJHueJUA8FMdMBxBb7bma NpI+FLzwiusXxCGBa43BaIP9yXtJrHn9BA96JUzmugz87C26aY3V/qmJMKJYzaey5Q1E /LRztBLDNbhzqmtzW8LToPrh8ALaQimB4JhpkaexliOYGDxu9cZ+JHlIfIRn8fRwuk0F IR4Q== X-Forwarded-Encrypted: i=1; AJvYcCURY7jQHjeC2UfxmKo1rwanmb0W1XL/yWW8OxL6GsJDOomnlHi0s+ay2PQYE/HSm3r4WiT3HQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyw91SeC3UZcFaVuE2urrcCLD16kUVzTgi1Q6WM/Fq47MhEC9SW vds5kIi4AgUfdLmiPF2lS8dnjlYJgBhya9tIlejRL5Lr/tdiaNydoAZVwI2YERpJw4epsI2G7Oq 1EBT6nzWLSqt11GPQeRr1I+SC7O0= X-Gm-Gg: ASbGncvO9YZqCRj8OulDhtPuERIhuMCVJdAM6g4T5fYmoTamZ6IhR1cnTvuVHUbixkj qW1xIlLZdqU7evHbUzQn1PDeI2oNNVDsPV9kp/TNngtXykmz2fN49MKb4t56hlzh9ZJfw X-Google-Smtp-Source: AGHT+IF5ppRuDrwQgBK+u/VZARjgp6TeO7YisabPoVEPJ4jCCzXGRobkIuhL4cHJj3TIuEcjv1GgntgqCPmOlgOrImw= X-Received: by 2002:a17:907:868c:b0:aac:29a:2817 with SMTP id a640c23a62f3a-aac2ba3f550mr4285226366b.26.1736228577135; Mon, 06 Jan 2025 21:42:57 -0800 (PST) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298711 Archived-At: --00000000000096d5d4062b173739 Content-Type: text/plain; charset="UTF-8" > To try to fix the current behavior on FR locales, we would tell grep to > output its messages in English. That would make xref-matches-in-files > behave the same across languages. > > Step 2 would be to render the "binary file matches" elements in the UI. > Why not keep user locale setting and keep current grep args, but send a generated file with NUL chars to collect the output message and make current check generating the error be dynamically generated? It would cover both cases at once. And work on Windows, right? > --00000000000096d5d4062b173739 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

To try to fix the current behavior on FR locales, we would tell grep to output its messages in English. That would make xref-matches-in-files
behave the same across languages.

Step 2 would be to render the "binary file matches" elements in t= he UI.

= Why not keep user locale setting and keep current grep args, but send a gen= erated file with NUL chars to collect the output message and make current c= heck generating the error be dynamically generated?
=
It would cover both cases at once. And work on = Windows, right?
--00000000000096d5d4062b173739--