From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bc Newsgroups: gmane.emacs.help Subject: string-replace question -- changing names like variable_name to variableName Date: Tue, 03 Sep 2002 09:17:58 -0400 Organization: we live to survive our paradoxes. Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D74B686.1D603DC1@example.net> Reply-To: bc@example.net NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1031061874 15026 127.0.0.1 (3 Sep 2002 14:04:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 14:04:34 +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 17mEIB-0003uC-00 for ; Tue, 03 Sep 2002 16:04:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mEJh-0004IT-00; Tue, 03 Sep 2002 10:06:05 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!sac.uu.net!dfw.uu.net!an02.austin.ibm.com!ausnews.austin.ibm.com!tivnews!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: bcoley7.raleigh.tivoli.com Original-X-Trace: tivnews.tivoli.com 1031059202 8576 146.84.82.105 (3 Sep 2002 13:20:02 GMT) Original-X-Complaints-To: usenet@tivnews.tivoli.com Original-NNTP-Posting-Date: Tue, 3 Sep 2002 13:20:02 +0000 (UTC) X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-Xref: nntp.stanford.edu gnu.emacs.help:104426 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:991 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:991 Is there an easier way to do this short of some lisp like: (replace-string "_a" "A") (replace-string "_A" "A") (replace-string "_b" "B") etc. Thanks, bc