gnu.emacs.help
[Top] [All Lists]

about register

Subject: about register
From: Le TeXnicien de Surface
Date: Sat, 21 Apr 2007 15:19:33 +0200
Newsgroups: gnu.emacs.help
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
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@xxxxxxx
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

<Prev in Thread] Current Thread [Next in Thread>