help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

about register


From: Le TeXnicien de Surface
Subject: about register
Date: Sat, 21 Apr 2007 15:19:33 +0200
User-agent: KNode/0.10.1

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]