unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to convert an arbitrary string into a filename
@ 2023-04-26  3:55 Marcin Borkowski
  2023-04-26  4:03 ` Platon Pronko
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Marcin Borkowski @ 2023-04-26  3:55 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

given an arbitrary string, say "Hello, world!!!", I want to have
a filename with all the runs of weird characters (that is,
non-alphanumeric ones) converted to dashes (say, "Hello-world").  Is
there a function for that in Emacs already or should I write my own?

TIA,

-- 
Marcin Borkowski
http://mbork.pl



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

end of thread, other threads:[~2023-04-29  6:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26  3:55 How to convert an arbitrary string into a filename Marcin Borkowski
2023-04-26  4:03 ` Platon Pronko
2023-04-26  4:42   ` Marcin Borkowski
2023-04-26  5:39     ` Platon Pronko
2023-04-26 18:32       ` Marcin Borkowski
2023-04-26  5:42 ` Yuri Khan
2023-04-26 18:32   ` Marcin Borkowski
2023-04-26 10:08 ` Jean Louis
2023-04-26 12:30   ` Jean Louis
2023-04-26 13:07   ` Eli Zaretskii
2023-04-27  4:52     ` Jean Louis
2023-04-27  5:53       ` Eli Zaretskii
2023-04-27  8:06         ` Platon Pronko
2023-04-26 18:30   ` Marcin Borkowski
2023-04-26 21:29 ` Emanuel Berg
2023-04-27  6:51   ` Marcin Borkowski
2023-04-26 21:32 ` Emanuel Berg
2023-04-27  6:49   ` Marcin Borkowski
2023-04-29  6:20 ` James Thomas

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