unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* directory-files-recursively and completion-ignored-extensions
@ 2024-08-04 19:47 T.V Raman
  2024-08-05 11:24 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: T.V Raman @ 2024-08-04 19:47 UTC (permalink / raw)
  To: emacs-devel

Feature Request:

Would it be possible to have directory-files-recursively take
completion-ignored-extensions into account?

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮
LOC: https://id.loc.gov/authorities/names/n97059241.html

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮
LOC: https://id.loc.gov/authorities/names/n97059241.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: directory-files-recursively and completion-ignored-extensions
  2024-08-04 19:47 directory-files-recursively and completion-ignored-extensions T.V Raman
@ 2024-08-05 11:24 ` Eli Zaretskii
  2024-08-05 20:35   ` T.V Raman
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2024-08-05 11:24 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> Date: Sun, 04 Aug 2024 12:47:31 -0700
> From: "T.V Raman" <raman@google.com>
> 
> Feature Request:
> 
> Would it be possible to have directory-files-recursively take
> completion-ignored-extensions into account?

Only if someone comes up with a way of doing that in a
backward-compatible way.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: directory-files-recursively and completion-ignored-extensions
  2024-08-05 11:24 ` Eli Zaretskii
@ 2024-08-05 20:35   ` T.V Raman
  2024-08-05 21:29     ` [External] : " Drew Adams
  2024-08-06  2:29     ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: T.V Raman @ 2024-08-05 20:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

For starters, add an  optional boolean
'completion-respect-ignored-extensions that default to nil


-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮
LOC: https://id.loc.gov/authorities/names/n97059241.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [External] : Re: directory-files-recursively and completion-ignored-extensions
  2024-08-05 20:35   ` T.V Raman
@ 2024-08-05 21:29     ` Drew Adams
  2024-08-06  2:29     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2024-08-05 21:29 UTC (permalink / raw)
  To: T.V Raman, Eli Zaretskii; +Cc: emacs-devel@gnu.org

tl;dr: This has nothing to do with completion, AFAICT.
___

Not meaning to distract, but `directory-files-recursively' is not a command, a fortiori not a command that prompts for completion or otherwise uses completion in any way.

IF the idea is to use a variable that has a list of extensions to be ignored by `directory-files-recursively', and IF the default content of `completion-ignored-extensions' is what's desired as the default content of that var used by `directory-files-recursively', THEN I'd suggest adding a new var and have its value default to the value of `completion-ignored-extensions'.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: directory-files-recursively and completion-ignored-extensions
  2024-08-05 20:35   ` T.V Raman
  2024-08-05 21:29     ` [External] : " Drew Adams
@ 2024-08-06  2:29     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-08-06  2:29 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> From: "T.V Raman" <raman@google.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 05 Aug 2024 13:35:58 -0700
> 
> For starters, add an  optional boolean
> 'completion-respect-ignored-extensions that default to nil

I'm talking about implementation, not just specification.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-06  2:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 19:47 directory-files-recursively and completion-ignored-extensions T.V Raman
2024-08-05 11:24 ` Eli Zaretskii
2024-08-05 20:35   ` T.V Raman
2024-08-05 21:29     ` [External] : " Drew Adams
2024-08-06  2:29     ` Eli Zaretskii

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).