[emacs-berlin] Slugify function in elisp?

Christian Tietze me at christiantietze.de
Thu Jul 28 06:26:07 UTC 2022


Replied in private instead to the list, sorry :)

Here's the adjusted org-roam based slugify version (see attachment).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/emacs-lisp
Size: 2487 bytes
Desc: slugify.el
URL: <http://mailb.org/pipermail/emacs-berlin/attachments/20220728/fb6953f8/attachment.bin>
-------------- next part --------------

The function produces:

    (ct/slug "»Woher weißt du, daß ich toll bin ?« fragte Alice.")
    ;; woher-weißt-du-daß-ich-toll-bin-fragte-alice

I do agree that it's weird there's no dedicated slugify.el package.

-- Christian

-- 
Sent from Bielefeld, Germany <3
https://christiantietze.de -- Programming + Personal
https://zettelkasten.de    -- Creative Knowledge Work


More information about the emacs-berlin mailing list