all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Friedrich Dominicus <frido@q-software-solutions.com>
Subject: Re: Emacs regexp/incrementer question
Date: 17 Jan 2003 13:59:31 +0100	[thread overview]
Message-ID: <87lm1kue30.fsf@fbigm.here> (raw)
In-Reply-To: b08go3$hbp$1@s1.read.news.oleane.net

"Tim Morley \(remove vegetable for email address\)" <tim@teamlog.turnip.com> writes:

> Hi Friedrich.
> 
> I'm no lisp hacker at all, so thanks very much for the copy-and-paste
> solution. Unfortunately I'm having trouble persuading it to work on my
> machine. (Win2K, GNU Emacs 20.3.1)
> 
> I even copyied-and-pasted the example from your post to be sure  :o),  did a
> M-x replace-with-changing-replacement, and entered the pattern and the
> replacement. On finding the first 'foo' though, the function stopped with
> the error : "Symbol's function definition is void: incf".
Just put a (require 'cl) before that function or even better put it in
the first place of your .emacs file. Or replace it with
(setq i (1+ i)) or (setq i (+ i 1)) or write a macro for it ;-)

> As I said, I don't
> know lisp at all -- is it just a typo? If not, do you have a suggestion as
> to how I might resolve this?
Done see above ;-)

Regards
Friedrich

  reply	other threads:[~2003-01-17 12:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 11:15 Emacs regexp/incrementer question Tim Morley (remove vegetable for email address)
2003-01-16 12:17 ` Friedrich Dominicus
2003-01-17  9:01   ` Tim Morley (remove vegetable for email address)
2003-01-17 12:59     ` Friedrich Dominicus [this message]
2003-01-17 13:44       ` Christopher J. White
2003-01-17 14:12       ` Tim Morley (remove vegetable for email address)
2003-01-16 14:49 ` Peter Boettcher

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lm1kue30.fsf@fbigm.here \
    --to=frido@q-software-solutions.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.