help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert an arbitrary string into a filename


From: James Thomas
Subject: Re: How to convert an arbitrary string into a filename
Date: Sat, 29 Apr 2023 11:50:18 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

Marcin Borkowski wrote:

> Is there a function for that in Emacs already

I don't think so, because the denote package for eg., uses a custom
function called denote-sluggify:

https://git.sr.ht/~protesilaos/denote/tree/main/item/denote.el

There's also something similar in the function `make-backup-file-name-1`
in files.el, for paths.


--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]