From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#19932: 25.0.50; doc string of `elisp--eval-last-sexp' Date: Tue, 24 Feb 2015 13:26:23 -0800 (PST) Message-ID: References: <54ECE6C3.3000602@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424813250 21746 80.91.229.3 (24 Feb 2015 21:27:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2015 21:27:30 +0000 (UTC) To: Dmitry Gutov , 19932@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 22:27:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQN0b-00007L-AW for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 22:27:13 +0100 Original-Received: from localhost ([::1]:51494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQN0a-0006D8-PA for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 16:27:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQN0T-00065F-Ly for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:27:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQN0Q-0006K0-Fk for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:27:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQN0Q-0006Ju-Cg for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YQN0Q-0000Cm-2L for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Feb 2015 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19932-submit@debbugs.gnu.org id=B19932.1424813195754 (code B ref 19932); Tue, 24 Feb 2015 21:27:02 +0000 Original-Received: (at 19932) by debbugs.gnu.org; 24 Feb 2015 21:26:35 +0000 Original-Received: from localhost ([127.0.0.1]:57064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQMzz-0000C6-08 for submit@debbugs.gnu.org; Tue, 24 Feb 2015 16:26:35 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:16414) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQMzx-0000Bt-HG for 19932@debbugs.gnu.org; Tue, 24 Feb 2015 16:26:34 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t1OLQPbg020418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Feb 2015 21:26:26 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t1OLQOef018426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 24 Feb 2015 21:26:25 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t1OLQOXo024904; Tue, 24 Feb 2015 21:26:24 GMT In-Reply-To: <54ECE6C3.3000602@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:99781 Archived-At: > > .. should not mention the prefix arg. This is not a command, and the > > function code does not access `current-prefix-arg'. >=20 > Maybe it should just be undocumented. It's a private function, and it > duplicates the docstring of its only caller. Maybe it should be documented properly. Emacs is the self-documenting editor. Maybe developers should drop the bad habit of thinking of documentation as only a chore and as only for others. There is nothing "private" in Emacs Lisp - this is not Java or C++. And even Emacs "internal" developers deserve to take advantage of the self-documentation Emacs is intended to provide. The duplication of its caller's docstring is the bug - it should have its own documentation.