all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.