From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#30697: make eval-expression only take `read'-able Lisp
Date: Sun, 4 Mar 2018 14:36:57 -0800 (PST)
Message-ID: <182ce144-2313-4cf9-9978-f9d6d570b4dd@default>
References: <<m27eqriyat.fsf@aurox.ch>>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1520202974 15981 195.159.176.226 (4 Mar 2018 22:36:14 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 4 Mar 2018 22:36:14 +0000 (UTC)
To: "Charles A. Roelli" <charles@aurox.ch>, 30697@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 04 23:36:09 2018
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1escEi-0003ER-48
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2018 23:36:08 +0100
Original-Received: from localhost ([::1]:46342 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1escGk-0002ML-Bw
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2018 17:38:14 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40463)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1escGd-0002Lo-Ng
	for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 17:38:08 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1escGY-0006vM-Pm
	for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 17:38:07 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:36910)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1escGY-0006vG-Ly
	for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 17:38:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1escGY-0000qQ-FL
	for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 17:38:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Drew Adams <drew.adams@oracle.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 04 Mar 2018 22:38:02 +0000
Resent-Message-ID: <handler.30697.B30697.15202030393165@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 30697
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 30697-submit@debbugs.gnu.org id=B30697.15202030393165
	(code B ref 30697); Sun, 04 Mar 2018 22:38:02 +0000
Original-Received: (at 30697) by debbugs.gnu.org; 4 Mar 2018 22:37:19 +0000
Original-Received: from localhost ([127.0.0.1]:44802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1escFr-0000oz-Di
	for submit@debbugs.gnu.org; Sun, 04 Mar 2018 17:37:19 -0500
Original-Received: from userp2130.oracle.com ([156.151.31.86]:45728)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <drew.adams@oracle.com>) id 1escFp-0000om-8y
	for 30697@debbugs.gnu.org; Sun, 04 Mar 2018 17:37:17 -0500
Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
	by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id
	w24Mb3pn091511; Sun, 4 Mar 2018 22:37:03 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
	h=mime-version :
	message-id : date : from : sender : to : subject : references :
	in-reply-to : content-type : content-transfer-encoding;
	s=corp-2017-10-26; 
	bh=o17IGm3H/2RLGVwQr4N0U50RPTdOdQn5ESwEa8xFmbk=;
	b=nRYSO6+eFxtn8ZsjJbwOzyCvn8eQhcz4fFu3nsL4IzzP83Dry/gNxlwdNSdnoWJtODZj
	Ln/w78Rn092Vpg7e2jsHi7vW1lxIWfKOgpJ4vFTIJF5tHC/oCfJB5gJFuBnDHMHvhSNr
	d3T5WnHrLO07CO8/JDxhB+VxFDgh82eS4klGLfCezRDVHgX/kqTT+peCd6p49boxRoj/
	yxiUHZQYcGfVGyVqWpXe5AAP6RLoJX2SsktW5yJkovdekiYnAGOKYUr8Ihefe7973t9p
	JhCaHo/2JHOo+cZgqDJ+FEbOXROJkp2jvV4bqIhS9CQBH5sQ3pvxqDxZjirD9sqxnmhR
	Nw== 
Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
	by userp2130.oracle.com with ESMTP id 2ggrudr1t1-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
	Sun, 04 Mar 2018 22:37:03 +0000
Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
	by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w24Mb0g8016336
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=FAIL); Sun, 4 Mar 2018 22:37:00 GMT
Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8])
	by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w24MaxBv016626;
	Sun, 4 Mar 2018 22:36:59 GMT
In-Reply-To: <<m27eqriyat.fsf@aurox.ch>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
	16.0.4654.0 (x86)]
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8822
	signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
	malwarescore=0
	phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=914
	adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
	engine=8.0.1-1711220000 definitions=main-1803040295
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: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:143906
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/143906>

> Here is a change to make eval-expression issue a warning in the
> minibuffer when the user enters an unreadable expression.  Currently,
> we just error out, so the user has to restart the command and go back
> in the history to get back what he typed.

I don't see why this is better than what happens now.

We currently have `eval-expression-debug-on-error', which helps
you understand the read or eval error.  And the function is not
necessarily called interactively ("When called interactively...").

What problem is the proposed change trying to solve?