unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 7835@debbugs.gnu.org
Subject: bug#7835: 24.0.50; doc string of `overlay-put' needs to mention the return value
Date: Tue, 05 Jul 2011 15:00:31 -0400	[thread overview]
Message-ID: <jwv7h7w364m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3zkksam9e.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 05 Jul 2011 15:29:49 +0200")

>>>> Like the Elisp manual, the doc string of `overlay-put' needs to mention
>>>> that it returns its 3rd arg.
>> Actually, the right fix would be to not document it.
> Knowing that you're able to say
>   (push (overlay-put ... ... (get-some-value)) list)
> sounds useful to me.

Looks like bad style to me.


        Stefan





  reply	other threads:[~2011-07-05 19:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 22:45 bug#7835: 24.0.50; doc string of `overlay-put' needs to mention the return value Drew Adams
2011-07-04 15:32 ` Lars Magne Ingebrigtsen
2011-07-04 18:19   ` Stefan Monnier
2011-07-05 13:29     ` Lars Magne Ingebrigtsen
2011-07-05 19:00       ` Stefan Monnier [this message]
2011-07-05 19:08         ` Lars Magne Ingebrigtsen
2011-07-06  4:03           ` Alp Aker

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=jwv7h7w364m.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7835@debbugs.gnu.org \
    --cc=larsi@gnus.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).