From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.help Subject: Re: How to convert an arbitrary string into a filename Date: Sat, 29 Apr 2023 11:50:18 +0530 Message-ID: <87h6sz1a71.fsf@gmx.net> References: <87wn1z8fgo.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34042"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Help Gnu Emacs mailing list To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 29 08:20:53 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1psdwz-0008dw-RS for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 29 Apr 2023 08:20:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psdwh-0005SH-Ba; Sat, 29 Apr 2023 02:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psdwf-0005Qv-IX for help-gnu-emacs@gnu.org; Sat, 29 Apr 2023 02:20:33 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psdwd-0005di-Az for help-gnu-emacs@gnu.org; Sat, 29 Apr 2023 02:20:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1682749224; i=jimjoe@gmx.net; bh=ujcWhbAbQDbBlUKtuT/TVLTD8mbtXbTRAY4b0XuEK/w=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=r++KufBEv8JaQ1mrx5QTJxXXQYZLWkwpna1AC3T1MkcB104KrniGSXV9d8HH1QuJA ysKjNHmsKYbKrcPNikGcsAwyAfLbxzsYjEuU9lT9k3Y50kQApJbhuPTBsDooU7TRQy U7TL2mplrvREFkF0+1D4N4pKdrhsPWuekzDzmOfLuuT5mpdFCnRg9gRGWFEXzSdOPT HO1aauJlatWmtwUo3kFsUaav/RRmgNofSEj0foV8YHlQ88njUFJx3MQwH6OufyI5Ah z/WNd5W6TfDv5ob7+NUIVffu4miX96q/mZfsmsXEI2KksvRUPd9JLLP6M6F7Kews7E v30gvkYxwhHBQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-15-5518 ([117.216.0.104]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MSc1L-1phxdv4BI1-00SvIO; Sat, 29 Apr 2023 08:20:23 +0200 In-Reply-To: <87wn1z8fgo.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 26 Apr 2023 05:55:35 +0200") X-Provags-ID: V03:K1:+hDnYebjAmAfoWV5HxE0ATFD+Fe3IvQk62W1VQUABcnFryHTTht eYLJEDmkS/uZIZDP/7eUfl4efwkZXqX624SMSCf1cM90nxY9giBlZp1Z6+QYNhawHYAUdAp cDPtHhGhrdROVFjlwpVPEwb8nRX/i3Al0MdjuJplVIRl8H9kjCadlptlNjhuiKeizuw1lk6 A3FKMheI+cf2kEFb+4fCg== UI-OutboundReport: notjunk:1;M01:P0:CkpOcaKEWm4=;We23tpeF2ltGTYnfvL/ttz7+KO6 HvUFj4XtB92Sj0RcFY04vU3aLV8R7UWzTHBGzYsSOLjDDrppmB8dGJzvt/c4yQ80Uk0Fbt0VU y8kLOPi0SSt1z2p/y3eftVvSRq5eqUBT/6VnvKQ93hnx5L+iyLe31pwSAfmi3IoKckSYiCxry H29tYWrvrILJm1ZQoQpJkLXc16XkTJMQmUAnS5j2MD2I/RNvdQweV+ZLFV5ONLHijpURr4uLt 5fJVJJj9SKMddmI+oGlNPtQFhrKGU1o8nqGAsXS5ugkKqOS0ftAjc5gBiexx1m60LTXLTiLBP 58fcfvEMMNW7aOB7hQUV77HoDV3ZRwxpaDiFnLG5p0wOpA7zAdrgk3mLDPPYe/DUPHWM7gIZn vfy3UlvQ3ILcKb1a2Ib0KeoH/5f4TXgCoxB7zFgGCvNykCFYEc376ItsxIyGcxwpdxj5VkwrK ydPAWrUR7VTRNmRYmJ66I4arDsI7rsW9I2K6GjqNJhPsnJFZVEdpmXa357F+yG8uXuu4Gnob9 YmmltwCDLqI73QwJqmdLh2otejR5Q+M+St7+QGfhhs7grmRvY9Y3aYvGCUwE+gJ+CfPrM7D8e MsXbFEHptwxKaLIiufGe6G6DuBSRTam0KEaPW4HkoYqlqfLkJHzy/Q+lnuBnAYaA70+k/F6VJ yNAC45tvBXXdGSOdepNcdpr1z6EqCrcUhy4yW9VbRUqyGpAeOOFD4yhu4eyVAKu+vW7tl3brz nj6h4VbJzWJBMokOlRC0pqEDpckuaC1ngVIWr+uhZqrRbTwxOvNEcUCu/fvpyeMxxxOEH/eh Received-SPF: pass client-ip=212.227.15.19; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143452 Archived-At: 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. --