From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24386: 24.5; `read--expression' --> `read-expression', please Date: Sat, 27 Jul 2019 17:34:58 -0700 (PDT) Message-ID: <1bee99ad-1bdd-4604-ab02-ce0a1b701bce@default> References: <70280847-310d-4e11-a818-3d0bdbfd3100@default> <87o91ffsef.fsf@mouse.gnus.org> <87r26bdrnb.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200600"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , 24386@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 02:36:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrXAX-000q59-OB for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 02:36:09 +0200 Original-Received: from localhost ([::1]:43174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrXAW-0001mY-GG for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 20:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33952) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrXAR-0001mF-IN for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 20:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrXAQ-0003Di-LT for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 20:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrXAQ-0003Dc-Hv for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 20:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrXAQ-00069S-Cn for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 20:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 00:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24386 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 24386-submit@debbugs.gnu.org id=B24386.156427411323563 (code B ref 24386); Sun, 28 Jul 2019 00:36:02 +0000 Original-Received: (at 24386) by debbugs.gnu.org; 28 Jul 2019 00:35:13 +0000 Original-Received: from localhost ([127.0.0.1]:45607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrX9d-00067z-6y for submit@debbugs.gnu.org; Sat, 27 Jul 2019 20:35:13 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:47372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrX9b-00067i-Ql for 24386@debbugs.gnu.org; Sat, 27 Jul 2019 20:35:12 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6S0Z3iW090445; Sun, 28 Jul 2019 00:35:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=iM8nLOuAGINB9yQ5I1iU3O0+oL9AhTfI/HpgPucgHb0=; b=zjDX+hz7GIgqnoSUjxmb6vflzNZwsqKvbkj1YNTc4a3GmEr/X+f+nLwBYpCIq3DYp6Gw 7VvDeKh+xIDOVys7J8pkOU+JlMI1YxtTEeSigGcE4LsGQ7PpZp05ncdH+C6IbTCb2AcJ EwuqF+FLhQf5IOdCw3VlwsQjUpuUMVSOVNoltAlRfuHcaeEAL9jI5qQSalYRTHcjIljZ Nw/vekC8lhPd6GO6qBExXDg6b0ahvACSDf5an5uCDTGjvuRi7bcTilQDT6+LF30FClWN Tpjk0l9nrfiwGgkGNr8CYJwaKDR4yQUxRExChXcc2u/osE3o4yEJPgRq+Ohm4mKDQmMG 3g== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2u0e1taask-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 28 Jul 2019 00:35:06 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6S0X9Yf042022; Sun, 28 Jul 2019 00:35:05 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2u0dxng5k2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 28 Jul 2019 00:35:05 +0000 Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6S0Yxne014853; Sun, 28 Jul 2019 00:35:04 GMT In-Reply-To: <87r26bdrnb.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9331 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=837 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907280003 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9331 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=886 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907280003 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163927 Archived-At: > > > > Please consider renaming `read--expression' to `read-expression' > and > > > > taking away its "internal" designation. What it does is equally > > > > useful to ordinary Emacs user-programmers. > > > > > > It does seem like a rather internal function (setting up eldoc > stuff > > > and the like), so I think it's probably well-named as is; closing. > > > > There's _absolutely nothing_ internal about the > > behavior this function offers. You can use it > > _any_ place where you want to read a sexp. >=20 > IMO we should offer an official way to read expression input. That > would likely look very much like read--expression. >=20 > > As for it using `eldoc-mode': That presumably makes the function more > > useful for specifically Lisp-sexp reading. If we think otherwise > > then that could be removed or optional. >=20 > FWIW it wasn't there from the beginning - it was added while fixing > Bug#27202. If we speak of Lisp, the name "expression" implies > something to be intended for evaluation, so having eldoc support > is totally legitimate. >=20 > Why not also add a `read-sexp'? +1 to all you said. `read--expression' is a good beginning for such a function. If we don't do as you suggest then it would also be a good end: just remove the extra `-'. (But I don't think the name "expression" implies something to be intended for evaluation. It often means that, but it's also used just for "sexp".)