unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: 13976@debbugs.gnu.org
Subject: bug#13976: forward-sexp return value not documented
Date: Sat, 16 Mar 2013 15:41:10 +0100	[thread overview]
Message-ID: <51448486.7030902@easy-emacs.de> (raw)

Hi,

forward-sexp returns point, which IMHO is useful, as it
permits writing

(setq result (forward-sexp))

Understand concerns wrt mainteance, not to make code dependent from return values.
OTOH speed is an issue at Emacs Lisp and this seems not expected to change.

Suggest to mention return value in docstring, so people may make use of it.

Best,

Andres





             reply	other threads:[~2013-03-16 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 14:41 Andreas Röhler [this message]
2013-03-30  1:32 ` bug#13976: forward-sexp return value not documented Glenn Morris

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=51448486.7030902@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=13976@debbugs.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).