From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: forward-paragraph return value Date: Mon, 23 Aug 2010 22:59:57 +0200 Message-ID: References: <4C72BD0A.8090104@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1282597283 29611 80.91.229.12 (23 Aug 2010 21:01:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2010 21:01:23 +0000 (UTC) Cc: Emacs developers To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 23 23:01:20 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 1One8u-00032o-0Q for ged-emacs-devel@m.gmane.org; Mon, 23 Aug 2010 23:01:20 +0200 Original-Received: from localhost ([127.0.0.1]:55948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1One8t-0008Rt-It for ged-emacs-devel@m.gmane.org; Mon, 23 Aug 2010 17:01:19 -0400 Original-Received: from [140.186.70.92] (port=58899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1One7e-0007ka-86 for emacs-devel@gnu.org; Mon, 23 Aug 2010 17:00:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1One7c-0001zL-4v for emacs-devel@gnu.org; Mon, 23 Aug 2010 17:00:02 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:53591) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1One7c-0001yt-01 for emacs-devel@gnu.org; Mon, 23 Aug 2010 17:00:00 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id C3C7B1C1556C; Mon, 23 Aug 2010 22:59:57 +0200 (CEST) Original-Received: from igel.home (ppp-93-104-152-196.dynamic.mnet-online.de [93.104.152.196]) by mail.mnet-online.de (Postfix) with ESMTP id 859831C0018A; Mon, 23 Aug 2010 22:59:57 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 59060CA29C; Mon, 23 Aug 2010 22:59:57 +0200 (CEST) X-Yow: I'm RELIGIOUS!! I love a man with a HAIRPIECE!! Equip me with MISSILES!! In-Reply-To: <4C72BD0A.8090104@online.de> ("Andreas =?utf-8?Q?R=C3=B6hler?= =?utf-8?Q?=22's?= message of "Mon, 23 Aug 2010 20:25:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:129095 Archived-At: Andreas Röhler writes: > `forward-paragraph' presently returns "0" if the number of steps given by > ARG is completed. It's code ends with: > > ;; Return the number of steps that could not be done. > arg)) Which makes it similar to forward-line. > IMHO buffer-position reached is a more useful return value. Which you can get with (point). So what's the point? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."