unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* about register
@ 2007-04-21 13:19 Le TeXnicien de Surface
  2007-04-21 15:37 ` Daniel Jensen
  0 siblings, 1 reply; 5+ messages in thread
From: Le TeXnicien de Surface @ 2007-04-21 13:19 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-22 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-21 13:19 about register Le TeXnicien de Surface
2007-04-21 15:37 ` 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

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).