From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#64791: 30.0.50; [PATCH] Fix dired mismatch on some filenames Date: Sun, 24 Sep 2023 05:34:20 -0700 Message-ID: References: <87sf9gozbl.fsf@ledu-giraud.fr> <83fs5g8392.fsf@gnu.org> <87lef8ovgc.fsf@ledu-giraud.fr> <835y6c7yvo.fsf@gnu.org> <87ttsbbbfy.fsf@ledu-giraud.fr> <83zg235d47.fsf@gnu.org> <83wmx75aad.fsf@gnu.org> <83edje5e0s.fsf@gnu.org> <83ledj35hh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000a22a6306061a0f2e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14049"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64791@debbugs.gnu.org, manuel@ledu-giraud.fr To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 24 14:35:04 2023 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 1qkOKG-0003RD-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Sep 2023 14:35:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkOK4-0003LU-Hz; Sun, 24 Sep 2023 08:34:52 -0400 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 1qkOK2-0003L5-La for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:34:50 -0400 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 1qkOK2-0007S0-D9 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:34:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qkOKD-0008PN-UC for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2023 12:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64791-submit@debbugs.gnu.org id=B64791.169555888032290 (code B ref 64791); Sun, 24 Sep 2023 12:35:01 +0000 Original-Received: (at 64791) by debbugs.gnu.org; 24 Sep 2023 12:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:41244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkOJs-0008Ok-B2 for submit@debbugs.gnu.org; Sun, 24 Sep 2023 08:34:40 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:62858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkOJr-0008OY-Ej for 64791@debbugs.gnu.org; Sun, 24 Sep 2023 08:34:39 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-504427aae4fso3221190e87.1 for <64791@debbugs.gnu.org>; Sun, 24 Sep 2023 05:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695558862; x=1696163662; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=WX1PQUqzGVBF07/J5hfOjw+6borWfGlsI6prGXwWxcM=; b=M76BZxwOhqUGW9IqG0Yur5AV5TpyE7cdQ4uME/uwQFqneiqscAfW9P/1eEHMeQgmHp cZP/cwWXgAEMdaF5qv0pVwYxVQl0Goubu881AJNrAhgibDEQKi6Pll9DMuONVJbSBoBP XWMaB1XonOhKxiVpvd9x11bK0s16MDboaXLX7Dz3ad2B2GO7hO3C8ioceOKBd50/ul36 aLvg3dHO+7eXhSlcDEUO9PpA3qVtJea6pCfQ2a/IcI7OW5d8DHio1HVKR9niBW1p/KJt 1qLngBWmojf+w17CGKQq/qECQpsilpb22wt07RbFS5ibCYlBIhs31iQc0uQmpsBweUM1 f0rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695558862; x=1696163662; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WX1PQUqzGVBF07/J5hfOjw+6borWfGlsI6prGXwWxcM=; b=K412hyX1fpjumGlWDHqeu4MXGHyjqKAzmAorlqoFdvpdLyMVodifcmlkQqytl4Rgfd DQOl0gNKU6aPaFtyYEM+C9a9fMXwxXMzD+OEiJp1E9osVpVVqKEMgnH+OIZc5T2CnTBz 0JkvbO3DD5SeoA+qCtmk+lLdjuMVCtFO6sJQ7pkTZ/LX1aQmmLoeEMaKtKhyIFsRHQt9 e0NoW1Aisol2snxIJPsNVJM53n1K7tQucG45KVBOdLx1sVQE6iJSkBOA0QuXZFTcfRtB W0lrvCXFzpvdATRKFOcO/7UfEb+OZafChhKa9YzcSuoLRW2+7HROig6fG66XOFinuNM1 8O6w== X-Gm-Message-State: AOJu0YwD0l1zoA9cP2IdQtLysDMCZH8aHSi2tVEm9F3fod6XVefUk9Dt gjnhfeNkUCD+zRe5aGf91xqh/uv7+OFtTJI+ItKbDIib X-Google-Smtp-Source: AGHT+IEMz6mpbwmzoBcXfxt6Z0kV3dm9EaMwJL7bzMA2ez1cr06p0QaD52K3OebNMuA3OD9DRiNPufVJC7iLSl606lE= X-Received: by 2002:a05:6512:acd:b0:4f9:dac6:2f3d with SMTP id n13-20020a0565120acd00b004f9dac62f3dmr2031633lfu.13.1695558861456; Sun, 24 Sep 2023 05:34:21 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Sep 2023 05:34:20 -0700 In-Reply-To: <83ledj35hh.fsf@gnu.org> 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:271241 Archived-At: --000000000000a22a6306061a0f2e Content-Type: text/plain; charset="UTF-8" Eli Zaretskii writes: >> I guess we'd have to set it in something like `normal-top-level'. > > We have a machinery for delaying the initialization to startup time: > custom-initialize-delay. TIL, thanks. How does the attached patch look? It bootstraps and seems to work on macOS, at least. --000000000000a22a6306061a0f2e Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Make-insert-directory-program-a-defcustom-and-use-gl.patch" Content-Disposition: attachment; filename="0001-Make-insert-directory-program-a-defcustom-and-use-gl.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 167dec96e0ea5c9_0.1 RnJvbSA3YTE4M2FiMGE2OTA4MDMwY2JlZWU5MzAxNDI5OTIwNDA2NDY1NDcwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpE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