unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: forward-paragraph return value
Date: Mon, 23 Aug 2010 22:59:57 +0200	[thread overview]
Message-ID: <m24oelyrhu.fsf@igel.home> (raw)
In-Reply-To: <4C72BD0A.8090104@online.de> ("Andreas Röhler"'s message of "Mon, 23 Aug 2010 20:25:14 +0200")

Andreas Röhler <andreas.roehler@online.de> 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."



  reply	other threads:[~2010-08-23 20:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23 18:25 forward-paragraph return value Andreas Röhler
2010-08-23 20:59 ` Andreas Schwab [this message]
2010-08-24  5:43   ` Andreas Röhler
2010-08-24  8:27     ` Stephen J. Turnbull
2010-08-24  9:14       ` Andreas Röhler
2010-08-24 11:30         ` Davis Herring
2010-08-24 16:57           ` Andreas Röhler
2010-08-24 12:06         ` Stephen J. Turnbull
2010-08-24 17:10           ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24oelyrhu.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).