[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: replacement with variable
From: |
Bingham, Jay |
Subject: |
RE: replacement with variable |
Date: |
Tue, 21 Aug 2001 10:55:40 -0700 |
Sure there is a way but you will have to write some elisp to do it. Since
you are asking I assume that you are not familiar with elisp.
So the next question is do you want someone to write this for you or are you
willing to tackle it yourself?
J_)
C_)ingham
. COMPAQ Telecommunications
. Austin, TX
-----Original Message-----
From: Bryan W. Lepore [mailto:lepore@brandeis.edu]
Sent: Monday, 20 August, 2001 7:41 p
To: help-gnu-emacs@gnu.org
Subject: replacement with variable
Is there a way to get _emacs_ to replace a field with a variable, such
that it is incremented by 1 each time? The example is...
file.aa.foo >>> emacs >>> file.1.foo (or file.01.foo )
file.bb.foo >>> emacs >>> file.2.foo (or file.02.foo )
file.cc.foo >>> emacs >>> file.3.foo (or file.03.foo )
....
file.nn.foo >>> emacs >>> file.10.foo
-Bryan
___________________________________________________________________________
Bryan Lepore
Brandeis University
Petsko/Ringe Laboratory
Rosenstiel Basic Medical Sciences Research Center
Floor Six
MS029
Waltham, MA 02454
Lab: 781-736-4925
Fax: 781-736-2405
___________________________________________________________________________
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs