From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <5E668727347F4E68A2056C3A3CF23717@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309902591 2855 80.91.229.12 (5 Jul 2011 21:49:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 21:49:51 +0000 (UTC) Cc: 7835@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 05 23:49:47 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeDV3-0000wC-IF for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2011 23:49:45 +0200 Original-Received: from localhost ([::1]:52058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeDV2-0007cg-Fa for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2011 17:49:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeB7K-0008Id-3C for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 15:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeB7H-0002Nj-QO for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 15:17:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeB7H-0002NB-32 for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 15:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeB7G-0002OP-9x; Tue, 05 Jul 2011 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2011 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7835 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 7835-submit@debbugs.gnu.org id=B7835.13098924394484 (code B ref 7835); Tue, 05 Jul 2011 19:17:02 +0000 Original-Received: (at 7835) by debbugs.gnu.org; 5 Jul 2011 19:00:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeArO-0001AH-T9 for submit@debbugs.gnu.org; Tue, 05 Jul 2011 15:00:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeArN-0001A4-O4 for 7835@debbugs.gnu.org; Tue, 05 Jul 2011 15:00:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJZeE05FxIxr/2dsb2JhbABTqAl4y0mGNgSeXIQs X-IronPort-AV: E=Sophos;i="4.65,481,1304308800"; d="scan'208";a="120562130" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 05 Jul 2011 15:00:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 08F2A592B2; Tue, 5 Jul 2011 15:00:31 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 05 Jul 2011 15:29:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 05 Jul 2011 15:17:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48045 Archived-At: >>>> 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