From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le TeXnicien de Surface Newsgroups: gmane.emacs.help Subject: about register Date: Sat, 21 Apr 2007 15:19:33 +0200 Organization: les newsgroups par Orange Message-ID: <462a0f65$0$27366$ba4acef3@news.orange.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1177162583 29663 80.91.229.12 (21 Apr 2007 13:36:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2007 13:36:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 15:36:17 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HfFlA-0002Cp-Iu for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2007 15:36:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfFqL-00014Z-5a for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2007 09:41:37 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.in2p3.fr!in2p3.fr!proxad.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.10.1 Original-Lines: 25 Original-NNTP-Posting-Date: 21 Apr 2007 15:19:33 CEST Original-NNTP-Posting-Host: 86.207.52.250 Original-X-Trace: 1177161573 news.orange.fr 27366 86.207.52.250:61184 Original-X-Complaints-To: abuse@orange.fr Original-Xref: shelby.stanford.edu gnu.emacs.help:147358 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42962 Archived-At: 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