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: Q: Is there a built-in way to read multiple file names? Date: Tue, 16 Jul 2024 12:09:07 +0700 Message-ID: References: <875xthfyz3.fsf@localhost> <87a5it6vr6.fsf@localhost> <86r0c5196r.fsf@gnu.org> <877cdx6ryu.fsf@localhost> <86o77914sh.fsf@gnu.org> <874j916qlv.fsf@localhost> <86ikxh13yc.fsf@gnu.org> <87zfqlpfty.fsf@localhost> <86jzhpjt4x.fsf@gnu.org> <87r0bxpecj.fsf@localhost> <86ikx9jrh4.fsf@gnu.org> <87frscjhhm.fsf@localhost> <8634ocjeze.fsf@gnu.org> <87r0buij3j.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3687"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , mardani29@yahoo.es, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 16 07:10:19 2024 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 1sTaSB-0000go-FB for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Jul 2024 07:10:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTaRJ-0000Qi-2e; Tue, 16 Jul 2024 01:09:25 -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 1sTaRH-0000QV-KW for emacs-devel@gnu.org; Tue, 16 Jul 2024 01:09:23 -0400 Original-Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTaRG-0004jM-2K; Tue, 16 Jul 2024 01:09:23 -0400 Original-Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-48fde151f25so1914615137.1; Mon, 15 Jul 2024 22:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721106560; x=1721711360; darn=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=QPOoyP99FLsIvChF7jKsWmyiFYTOLBREPibbbRhE8vc=; b=hA1M9PnYLbyAYX7/ptEdzniyE5j52mLZGsH8+95Tyvavhsn5RtuAPwdf2B7lL6Qhnq rUEJoxd7wxjxIeD/F2EqCXIP8jihGdo0rMPD741hbTYHfybRI2rFocPUPaP1pcuS2BlW fTeU0m843c3kMBa8rVtoK3eRWP1D1G4xNakUeEZyGLdm+zo2vqtolelJv1Ilv5iZ4tPk qcS4Tmioo41+mwlPCMVgVRaHpj6dNR5sRmexLjlF5YM+h0Mzajc2qsde7FxxK0948aUd ZTbfmS+uis/z4JxtGlirv4iXWiMJUsy8XXO1mM5otUOvq7otQ2P8VWYCE9uG4lQFnqX3 l8Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721106560; x=1721711360; 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=QPOoyP99FLsIvChF7jKsWmyiFYTOLBREPibbbRhE8vc=; b=tj7HnI7qdK88pNDgicIzDu/XOWL7Zg1EZQGLVTYzzlqK/0xMBa2VjhlHP8ccnaUfSI mQCFvnjk+2+ukVLu2LxyU9TpQh61xK4cm+VQm2jSDHS3z1P8OIQwIIkvZqk+LAbqkoAR piq609wZzB/Xv2kMcvmLYj2/vc7O4p5NrbvoeL2dk67jQZkl72xS+gIamyHq4zNigMbw oenUzzkr6RBDL/C2KxrDcpMiRvj/QEn4RCqg/8R7X4ltRdZ4/KazxJKwIVnv/+zTqfTh AvMBKGcuqlJk7lWEfP2ggeAUum19fLn8UaLXnpOdZiXtqOTBjHDGbFninQpPNsasIJlQ AH+Q== X-Forwarded-Encrypted: i=1; AJvYcCV8HeF3plTx5b5aq4y3oyU8DWu5CC7Vo8qUYcnnrEjM+BWEXi2/oF5rJ6G3USIb5zduYapcTCI8Sqy5tGsFuZfDOuN0 X-Gm-Message-State: AOJu0YwG9JTSmtloY3gTRlaJvCYlrT09B/qw+ibvG1jYH+ez9BvznErw 12G2GD27EAVhCkapHEZ0pQlAYFdRwa85VHjX475V4kB2rvXrMQJGY2RLBDYRFlCx0oRX+dF7ho9 /XNftH8BJOBfryas1RuzoFEQ45ZRK/A== X-Google-Smtp-Source: AGHT+IGVbf5+KOIp41/ATmZlq5pY+BkIeCu9XLHJUTiHXyN5dI9wpmSaLnJWAb45/REA6ImdINQULZ1/b18dRUtlR58= X-Received: by 2002:a05:6102:15a8:b0:491:e2b:58c4 with SMTP id ada2fe7eead31-4914c5741cfmr1499346137.21.1721106558744; Mon, 15 Jul 2024 22:09:18 -0700 (PDT) In-Reply-To: <87r0buij3j.fsf@localhost> Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe32.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, SPF_PASS=-0.001 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:321686 Archived-At: On Tue, 16 Jul 2024 at 01:51, Ihor Radchenko wrote: > Why only to file that _begins_ with a character? Why not also moving to > a file that have specific wor[d] in its name? regexp? Prior art: In file managers descending from Norton Commander, there is usually a way to start typing to get incremental prefix search over file names; if you enter a * at the search prompt, it becomes substring/glob search. In my experience, wanting to use the full power of regular expressions has been rare; the extension of glob mini-language with character sets like [aoeui] or [0-9] proved to be handy at times. (Anyway, isearch solves both needs; type-to-search-by-prefix only makes it more convenient for the most common case.) (Somewhat off-topic but related: In those same NC-descending file managers, when you start typing, the default behavior is for typed characters to go into the shell prompt. I have missed this type-to-shell feature in Dired on many occasions.)