From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Dired subdirectories & the ls option time-style with the %R sequence Date: Thu, 25 May 2023 00:21:14 +0700 Message-ID: References: <87fs7mugwv.fsf@gautierponsinet.xyz> <87cz2qneqn.fsf@gmail.com> <83wn0xmzt3.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="17212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, gautier@gautierponsinet.xyz, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 24 19:22:36 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q1sC3-0004FH-VO for ged-emacs-devel@m.gmane-mx.org; Wed, 24 May 2023 19:22:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1sBF-0008QA-J1; Wed, 24 May 2023 13:21:45 -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 1q1sBE-0008Pu-1i for emacs-devel@gnu.org; Wed, 24 May 2023 13:21:44 -0400 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1sAz-0006n7-Hz; Wed, 24 May 2023 13:21:43 -0400 Original-Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f603d4bc5bso14189425e9.3; Wed, 24 May 2023 10:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684948886; x=1687540886; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AIOUke580yLlxlskDsaaBRJ2U4IF49+FEk00hzkrb14=; b=gGM7X+E07G1NJYFMmqvfwv6c7cEw+PSWx2xdu7Sh6AWSAY+V6fM8i4vzgYl9KIqBtw xqhQbP3N9D7UyoPrCWGgM7eM5wtaQDN5g4GZY4R1TRVQTsMnMfySx3eIUCC8SGfaLyy7 2Ff4ZuiEo0xM2I+yXX4XDm7xq/VJVru5lvPW098tSpr7x8BVPltfpjU1UmD5NzIygL+d I4gdtfix5u0n1uQa/33b5C+WHpqivL5aquZ2R2+r5dHj4muLzYQ5J3wtVInn0k2BFAtC 0cK+iWyFuRSifBlLy0l6fHJiqx8Z1Iakz7saPkeCIpxGR/tT3kzlJ8fDKki2Atyrw4ES 0O9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684948886; x=1687540886; h=content-transfer-encoding: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=AIOUke580yLlxlskDsaaBRJ2U4IF49+FEk00hzkrb14=; b=SPTw+XTY8DaD4DOat1z/5/MFnOxiNUXEQnQASqydf+X80quga27/q31OErg+yyVXWt i77FUcLicJJYmG7+crW+B9z3SrG41B8e6yv5Uj5LutUfWNGqbMaCBCx+wOk4q5HfnSyB NdeEx6+uExQPQrNcxTmjTfk46kdDijVtf67dWwTttf6vcfxrGoNa5GAMf6cisMDyyqpl DSy6dC5Q5g1mWEv2zrobw11lNpxZLFq+JlK0uNjmoxBmMAXXVXkvoSWVdNZ+3jGGpyyd 9DQQVlimzq+Wu6OhksjFVyt/kXX4wedIjhm9M3VjafnfN3UJxQN3izy0Ccx+rsN5i8r2 jIvw== X-Gm-Message-State: AC+VfDyKEUoWzaG3VsyFB1sk7ijzU972wzD4yWMvdAiuM6DkIU/JHQhb LT+wcqDRqK/00L6mLOC2jf79z4HjJuYQqqi+Dl1ogjs+ X-Google-Smtp-Source: ACHHUZ62NVOvbWBR4llOH1QuoK8MnmiiKyMmG8fLdACowuZ39Eo4gLoi/F9wbeRoGylsRlHEjKwCV4Bpq9HfO7IYoeE= X-Received: by 2002:adf:ce0c:0:b0:2f8:3225:2bc2 with SMTP id p12-20020adfce0c000000b002f832252bc2mr314184wrn.41.1684948885719; Wed, 24 May 2023 10:21:25 -0700 (PDT) In-Reply-To: <83wn0xmzt3.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=yurivkhan@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306306 Archived-At: On Wed, 24 May 2023 at 23:58, Eli Zaretskii wrote: > We sometimes install kludgey solutions if no better ideas are > available. Do you have better ideas for fixing this? I do not have a sufficiently deep understanding of the original problem removing =E2=80=98R=E2=80=99s solves. If it=E2=80=99s intended to b= uild an =E2=80=98ls=E2=80=99 invocation with the same switches as used in the buffer but non-recursive, I=E2=80=99m afraid my idea would be to mimic full-fledged switches parsing, including the cases of =E2=80=98-R=E2=80=99, =E2=80=98--r= ecursive=E2=80=99 (remove the whole switch), bunched single-character switches (remove the R but stop at the first I, T or w because what follows those is no longer switches but the argument value to I, T or w), and stopping at the =E2=80=98--=E2=80=99. Even that is brittle wrt addition of new short option= s taking arguments. Please feel free to disregard.