From: Le TeXnicien de Surface <texnicien.de.surface@chezmoi.eur>
To: help-gnu-emacs@gnu.org
Subject: about register
Date: Sat, 21 Apr 2007 15:19:33 +0200 [thread overview]
Message-ID: <462a0f65$0$27366$ba4acef3@news.orange.fr> (raw)
hello
I'd like to use the following command:
(defun complete-pid ()
(interactive)
(goto-char 0)
(number-to-register 1 "A")
(while (re-search-forward "p=PID=0" nil t)
(insert-register "A")
(increment-register 1 "A")
))
but when emacs finds the first `p=PID=' it says:
`register does not contain a number'
and stops.
it did work yesterday and I've not changed anything since (perhaps I did
something before using the command but I can't remember what)
Any hint appreciated
thanks for your reading so far
--
Le TeXnicien de Surface
next reply other threads:[~2007-04-21 13:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-21 13:19 Le TeXnicien de Surface [this message]
2007-04-21 15:37 ` about register Daniel Jensen
2007-04-21 19:02 ` Le TeXnicien de Surface
2007-04-22 10:42 ` Daniel Jensen
2007-04-22 19:57 ` Le TeXnicien de Surface
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='462a0f65$0$27366$ba4acef3@news.orange.fr' \
--to=texnicien.de.surface@chezmoi.eur \
--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).