From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tobias C. Rittweiler" Newsgroups: gmane.emacs.devel Subject: `next-file' in etags.el signaling error to denote end of operation Date: Fri, 18 Dec 2009 01:15:46 +0100 Message-ID: <87y6l1uogd.fsf@freebits.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261095390 14869 80.91.229.12 (18 Dec 2009 00:16:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 00:16:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 18 01:16:23 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLQW5-0004Ye-1Y for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2009 01:16:21 +0100 Original-Received: from localhost ([127.0.0.1]:34283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLQW4-0005fA-TE for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2009 19:16:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLQVz-0005eC-O8 for emacs-devel@gnu.org; Thu, 17 Dec 2009 19:16:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLQVu-0005Wc-RH for emacs-devel@gnu.org; Thu, 17 Dec 2009 19:16:15 -0500 Original-Received: from [199.232.76.173] (port=56439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLQVu-0005WA-L7 for emacs-devel@gnu.org; Thu, 17 Dec 2009 19:16:10 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46535) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NLQVu-0007lj-Ff for emacs-devel@gnu.org; Thu, 17 Dec 2009 19:16:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLQVr-0004RA-HQ for emacs-devel@gnu.org; Fri, 18 Dec 2009 01:16:07 +0100 Original-Received: from host146.natpool.mwn.de ([138.246.7.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 01:16:07 +0100 Original-Received: from tcr by host146.natpool.mwn.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 01:16:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host146.natpool.mwn.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:l7/F/qh390ugHQRJx1ymJT1TYPc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118689 Archived-At: The function `next-file' in etags.el signals an unnamed error when the end of `next-file-list' is reached. This makes it not all that easy to call `tags-query-replace' multiple times in a row programmatically as far as I can see. An easy solution would be to make `next-file' signal a named condition that can then be caught programmatically. I'll post this to the bug tracker unless someone can point out that I'm missing something. -T.