From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: [elisp] Look for function that create safe file name from string... Date: Mon, 09 Jul 2012 23:54:36 +0300 Message-ID: <834npglkoj.fsf@gnu.org> References: <87r4sk92bc.fsf@desktop.home.int> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1341867332 10139 80.91.229.3 (9 Jul 2012 20:55:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 20:55:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 22:55:31 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoKzS-00018T-RC for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 22:55:30 +0200 Original-Received: from localhost ([::1]:43185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoKzR-00017U-Qf for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 16:55:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoKzL-00017P-Nt for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 16:55:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoKzK-0002ns-3u for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 16:55:23 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoKzJ-0002mq-Rl for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 16:55:22 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M6W00M00VCECT00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 23:54:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6W00MPGVF89B50@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 23:54:45 +0300 (IDT) In-reply-to: <87r4sk92bc.fsf@desktop.home.int> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85750 Archived-At: > From: Oleksandr Gavenko > Date: Mon, 09 Jul 2012 22:12:07 +0300 > > I decide store my message after sending it to mail/news. > > As file name I use date and message header. > > But message header may contain danger symbol. One of errors I get when '/' > char present in file name... > > So I look for function that safely escape string to get file name in portable > for Emacs way... I think you will find a few ideas in make-auto-save-file-name.