From: Frank Stutzman <stutzman@cat2.kjsl.com>
To: help-gnu-emacs@gnu.org
Subject: Re: elisp code for replacing every other occurence in a line?
Date: Mon, 12 May 2014 19:22:22 +0000 (UTC) [thread overview]
Message-ID: <lkr71e$2ll9$1@news.kjsl.com> (raw)
In-Reply-To: lkr0iq$2k0u$1@news.kjsl.com
Nevermind....
It took quite a while to get my brain into elisp mode. Once that happened I
realized that my solution was write there on the help page for replace-string.
Right there where it says you probably don't want to use replace-string.
Pretty much the only real change I had to do was to use the COUNT option on
search-forward.
--
Frank Stutzman
next prev parent reply other threads:[~2014-05-12 19:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 17:32 elisp code for replacing every other occurence in a line? Frank Stutzman
2014-05-12 17:41 ` Grant Rettke
2014-05-12 19:22 ` Frank Stutzman [this message]
2014-05-12 20:43 ` Robert Thorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lkr71e$2ll9$1@news.kjsl.com' \
--to=stutzman@cat2.kjsl.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).