From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: chris@grierwhite.com (Christopher J. White) Newsgroups: gmane.emacs.help Subject: Re: elisp substitution Date: Sat, 18 Jan 2003 17:04:50 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E28F08B.6050806@XXnetscape.net> <87el7al5sr.fsf@fbigm.here> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042927851 3314 80.91.224.249 (18 Jan 2003 22:10:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2003 22:10:51 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18a1Aw-0000rK-00 for ; Sat, 18 Jan 2003 23:10:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18a1Ao-0005CP-0B for gnu-help-gnu-emacs@m.gmane.org; Sat, 18 Jan 2003 17:10:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (powerpc-apple-darwin) Cancel-Lock: sha1:Rh1BRgc5qAwbnbqizsrU5dU2C/c= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 12 Original-Xref: shelby.stanford.edu gnu.emacs.help:109150 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5677 >>>>> "fd" == Friedrich Dominicus writes: fd> \ are unfine in Emacs lisp but here we go fd> (defvar *str* "c:\\Dokumente und Einstellungen\\") fd> (replace-in-string *str* (regexp-quote "\\") "/" ) fd> "c:/Dokumente und Einstellungen/" 'replace-in-string' doesn't seem to be defined 21.2.1... However, 'dired-replace-in-string' is if you (require 'dired) ...cj