unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Sanitizing file names?
@ 2024-09-10 20:09 Christopher Howard
  2024-09-11  2:27 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Howard @ 2024-09-10 20:09 UTC (permalink / raw)
  To: Help Gnu Emacs Mailing List

Hi, does Emacs/Elisp have any kind of API to help with sanitizing file names for the underlying OS/file-system limitations? Some of my projects involve older Windows systems that won't allow various characters in the file name like question marks and colons.

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ



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

* Re: Sanitizing file names?
  2024-09-10 20:09 Sanitizing file names? Christopher Howard
@ 2024-09-11  2:27 ` Eli Zaretskii
  2024-09-11 16:41   ` Christopher Howard
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-09-11  2:27 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Howard <christopher@librehacker.com>
> Date: Tue, 10 Sep 2024 12:09:50 -0800
> 
> Hi, does Emacs/Elisp have any kind of API to help with sanitizing file names for the underlying OS/file-system limitations? Some of my projects involve older Windows systems that won't allow various characters in the file name like question marks and colons.

Is convert-standard-filename what you want?



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

* Re: Sanitizing file names?
  2024-09-11  2:27 ` Eli Zaretskii
@ 2024-09-11 16:41   ` Christopher Howard
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Howard @ 2024-09-11 16:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

> Is convert-standard-filename what you want?
>

Thanks, this was the sort of thing I was looking for.

-- 
Christopher Howard



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

end of thread, other threads:[~2024-09-11 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-10 20:09 Sanitizing file names? Christopher Howard
2024-09-11  2:27 ` Eli Zaretskii
2024-09-11 16:41   ` Christopher Howard

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