From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: forward-paragraph return value Date: Tue, 24 Aug 2010 18:57:43 +0200 Message-ID: <4C73FA07.8070001@online.de> References: <4C72BD0A.8090104@online.de> <4C735C02.70804@online.de> <87y6bw5sb8.fsf@uwakimon.sk.tsukuba.ac.jp> <4C738D6D.5040805@online.de> <49346.130.55.132.107.1282649410.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1282669159 1826 80.91.229.12 (24 Aug 2010 16:59:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Aug 2010 16:59:19 +0000 (UTC) Cc: "Stephen J. Turnbull" , Andreas Schwab , Emacs developers To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 24 18:59:16 2010 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.69) (envelope-from ) id 1OnwqB-0001dL-LL for ged-emacs-devel@m.gmane.org; Tue, 24 Aug 2010 18:59:15 +0200 Original-Received: from localhost ([127.0.0.1]:53366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnwqB-00015G-7E for ged-emacs-devel@m.gmane.org; Tue, 24 Aug 2010 12:59:15 -0400 Original-Received: from [140.186.70.92] (port=59519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Onwq4-000154-KZ for emacs-devel@gnu.org; Tue, 24 Aug 2010 12:59:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Onwq3-0006sd-FN for emacs-devel@gnu.org; Tue, 24 Aug 2010 12:59:08 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:56495) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Onwq3-0006sS-4L for emacs-devel@gnu.org; Tue, 24 Aug 2010 12:59:07 -0400 Original-Received: from [192.168.178.27] (brln-4db9c4ae.pool.mediaWays.net [77.185.196.174]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Lu2H0-1Ox3kc0De2-011XJU; Tue, 24 Aug 2010 18:58:32 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 In-Reply-To: <49346.130.55.132.107.1282649410.squirrel@webmail.lanl.gov> X-Provags-ID: V02:K0:vfB1vcBFFMN9kyIJ/VJDNXLYf6ToaKVT6wjq3TG69Ka 8RRK+Gkj2bwIWK8VgZbMiGpnVsZfu14qYHI/52yUUfkX80S54W 1V9ETJ2R8stOiINT66/3kPF7bu0aJbM9lxYk8AGxIXY6rOc+sj Hbt+Z5oV3JSqrKHhbf1VD3LNnF/s07CBq5kbNnEP25ybw4LJLZ b22aIHODDVOCD/URJcF1hEvnUxG/nb1MonQsOLxk3I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:129161 Archived-At: Am 24.08.2010 13:30, schrieb Davis Herring: >> Its clean and much more reliable, as beg will be nil, if nothing was >> found. >> > If (forward-paragraph 10) can only advance past 7 paragraphs, has it > failed or not? And how is the caller to know that what they asked for was > impossible if it merely returns (point-end) or so? > > Davis > > Example mentioned was search-forward. It sends all the info you need.