GNU bug report logs - #24982
24.5; way to let Elisp reader ignore unreadable #(...) constructs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Mon, 21 Nov 2016 21:49:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 22 Aug 2020 19:28:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 22 15:28:43 2020
Received: from localhost ([127.0.0.1]:51537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k9ZBz-00040a-Gn
	for submit <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:28:43 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:39696)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1k9ZBx-00040N-Tu
 for 24982 <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:28:42 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07MJRpHn108143;
 Sat, 22 Aug 2020 19:28:35 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-2020-01-29;
 bh=wIy4YwyTxRImsplaG1xlZyRHuYHCbLFlWPcfUJwDG0o=;
 b=dVW1vVCGzSuxl+5txiLnY5FONudv2w1lnFgVJlpBADc2Cr6CZ6XT0jcz2Bb1craW7yVD
 su6EkswKnQCVH5Cv9zgoGM7sC0V6eJ9bCggbO+YwfK+XcczOSIi7nIcR/7fV2/YJXobk
 lLzo2GzMzTaEov9hUZYfGrpFDYShF6Mb1OfmtMhmCEyMp7JFlJjys0uYq2k9hfjIPpwj
 +tRo+TncsitT03yDRTqH+I+itXtRGM+lTaTdVAUbuqnHEGMoIR1xTsKbBm3R4qrx1zYF
 /WGtGXBIBRqrh4rivNFwxSONEAmRreXV2WC3gSx6tTJCl8mGlV/h3Nt3S22Jld5+uFct 2A== 
Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80])
 by aserp2120.oracle.com with ESMTP id 332uak9f1t-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Sat, 22 Aug 2020 19:28:35 +0000
Received: from pps.filterd (userp3030.oracle.com [127.0.0.1])
 by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07MJN75E027534;
 Sat, 22 Aug 2020 19:28:34 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userp3030.oracle.com with ESMTP id 332rfraw1j-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sat, 22 Aug 2020 19:28:34 +0000
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 07MJSXgS016216;
 Sat, 22 Aug 2020 19:28:33 GMT
MIME-Version: 1.0
Message-ID: <947a8471-8f34-40a9-852c-dc3a0997f9dc@default>
Date: Sat, 22 Aug 2020 12:28:32 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>, Stefan Kangas <stefan@HIDDEN>
Subject: RE: bug#24982: 24.5; way to let Elisp reader ignore unreadable #(...)
 constructs
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
 <87tuwuh4mj.fsf@HIDDEN>
In-Reply-To: <87tuwuh4mj.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5044.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9721
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 malwarescore=0
 mlxlogscore=999 suspectscore=0 spamscore=0 adultscore=0 phishscore=0
 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2006250000 definitions=main-2008220214
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9721
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 clxscore=1015
 impostorscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 phishscore=0
 bulkscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0
 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2006250000 definitions=main-2008220215
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> The problem is when the thing inside the construct is unreadable, not
> when there's errors (in a syntactically valid form).  For instance:
>=20
> (ignore-errors #0)
>=20
> In Common Lisp, this is the #| ...  |# operator, and it's handy
> occasionally.  It's really like a nesting comment thing...

Good point.  I was thinking of #(...), but yes,
the situation is more general.  It's about #
syntax that's found to be invalid, but for cases
where # nevertheless can tell where the sexp
parsing should end (and so can advance point there).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 22 Aug 2020 19:26:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 22 15:26:07 2020
Received: from localhost ([127.0.0.1]:51532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k9Z9T-0003wl-1u
	for submit <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:26:07 -0400
Received: from userp2120.oracle.com ([156.151.31.85]:38992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1k9Z9R-0003w9-Pf
 for 24982 <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:26:06 -0400
Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07MJNhWm079147;
 Sat, 22 Aug 2020 19:26:00 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-2020-01-29;
 bh=GZ49JcoBz3xVFTYntfyvEKHrtko7J605hmy8ehB0RPQ=;
 b=UPC7Jcf61Dw/J4xvVQe1WAJG/2T7Lg1L6C0g5KwNB+J2+ifV035yImoRqpBcVLNQLEqu
 jyI+cyyvBCylhEC1+sT7UzPETQbK2hv6oNiMi53hJ6Wk550HVhCrWYX/aY6D+UmrN8EO
 awXdJP6AY7geQM/ccm3i9Q+l2LREV4p9aZ6/ZKOHOEB7h60rk5ZCMVq28h9+MlKzZXHN
 /vqkm4/yxZ6Msszuj8t5bSc7DOVWNW4Dug0AcboRnvoE0hz5BdXcvpI2T7C64UQa1ZCB
 y1TqLocTvfKYjdHHzlC5DHDnkc9SHxqhlYIyOWmwhprpgcg1bOOTBaUuFtfgDIRD4B/4 GQ== 
Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70])
 by userp2120.oracle.com with ESMTP id 332v0msd7j-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Sat, 22 Aug 2020 19:25:59 +0000
Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1])
 by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07MJNwol155125;
 Sat, 22 Aug 2020 19:25:59 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by aserp3020.oracle.com with ESMTP id 332u60u48n-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sat, 22 Aug 2020 19:25:59 +0000
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07MJPwEC018458;
 Sat, 22 Aug 2020 19:25:58 GMT
MIME-Version: 1.0
Message-ID: <b22db918-90c8-4f03-b085-ed9a43975d38@default>
Date: Sat, 22 Aug 2020 12:25:57 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: RE: bug#24982: 24.5; way to let Elisp reader ignore unreadable #(...)
 constructs
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
In-Reply-To: <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5044.0 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9721
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999
 phishscore=0
 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0
 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2006250000 definitions=main-2008220214
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9721
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 bulkscore=0
 mlxlogscore=999 adultscore=0 lowpriorityscore=0 suspectscore=0
 clxscore=1011 malwarescore=0 spamscore=0 impostorscore=0 phishscore=0
 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2006250000 definitions=main-2008220214
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > Enhancement request:
> >
> > Provide a Boolean variable or a wrapper macro that has the effect of no=
t
> > raising an error but just skipping over any unreadable #(...) construct=
.
> >
> > (I really wish this were available for older Emacs versions.  Those are
> > the ones that barf on #(...) constructs that are supported in later
> > versions.
>=20
> What's the use-case here?  Why can't you use `ignore-errors'?

(ignore-errors (read (current-buffer))

doesn't advance over the sexp.

I guess what I mean is a #() construct that raises
an (invalid-read-syntax "#") error.  A situation
where there is, in fact, a #(...) present but that
error gets raised.

It's possible that the request is underspecified;
dunno.

The parenthetical remark in the request is really
the motivation.  For older Emacs the syntax #(...)
didn't exist.  But that error can still be raised,
when the syntax of the `...' isn't valid.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 22 Aug 2020 19:17:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 22 15:17:53 2020
Received: from localhost ([127.0.0.1]:51502 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k9Z1V-0003gs-3l
	for submit <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:17:53 -0400
Received: from quimby.gnus.org ([95.216.78.240]:38910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1k9Z1T-0003dc-VD
 for 24982 <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:17:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=uk/XAOwHqQRtrosr5k7y5YJ7jqfWm8spOEpXFb/Uacg=; b=dvWLkhRkVj+61Yfb1VlnByudkS
 zjfKn0S+ougAzM93XPw8hsdkwIgHTnorTcNVHZHE8ykiVpUa+gm1NnKAVezl36G7PVHhL/cZzURaR
 V5Bu3YAS6/jpj3zLP1JMfAsGJzPtuYbzFGCCUshcuXs/WWYt3tSYyzYvacrBAii6QjFE=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1k9Z1J-0005DT-HC; Sat, 22 Aug 2020 21:17:44 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#24982: 24.5; way to let Elisp reader ignore unreadable
 #(...) constructs
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUQCwstHBqnoaeJ
 a3BVSFBPKiAXFyz///+6/j+UAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QIFhMPJzjxBDsAAAGrSURB
 VDjLdZLBcusgDEVFk7K2UpN1BrcfUCD71uC9acyeN9Ph/z/hgXBcu3VY2AxH90pIAGwXW3ang3uH
 vXXqddf1H3/Bl1RKqks2wWYDblrrrr+wYIcwrsHBABwBcFJD8Nsc1vT2A4UyYWP29STzujDsTdhI
 TlIqoy6sVcaHsJK0gw3BNaJVcisRbRh8GEfWyy6DlSSlCEyMwNphB9AVvJhBXADgmC/0dnuvBacf
 ALY5dEZeZxB/wItuQHUDYj3KH16/YvJBycEj+gLSHZjJGkdADM8jLy4E/OtNdzf56pEJ077xIiGK
 z3pwU+exYaj1FRYA0MDRdD6nQOs+yWYG4KzW0yeWVesivzxY57QJvh6XkhbQWm3u8XT5GeAZGzrH
 +rKwFFB79v1dMjQNO0d6eHfQGlczsHRvVf7nncjNx9LD2XsBOVR4rM0jSflxCnkxfo7MEjaDHHK0
 1zIMHlOVLID9q0PiqWoqSMsTiGkfcPgF4kJWAM6PQFqB9AgQ4TuALp4eAL5rBVQlDYptQaQ0JdkW
 8FpxifilIOc9QAL+AEROo9uxWsDqvE79P+wzsHv9vnZwAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIw
 LTA4LTIyVDE5OjE1OjM5KzAwOjAwcItz+QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOC0yMlQx
 OToxNTozOSswMDowMAHWy0UAAAAASUVORK5CYII=
X-Now-Playing: Miles Davis's _In A Silent Way_: "Shhh-Peaceful"
Date: Sat, 22 Aug 2020 21:17:40 +0200
In-Reply-To: <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
 (Stefan Kangas's message of "Sat, 22 Aug 2020 15:13:31 -0400")
Message-ID: <87tuwuh4mj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefan@HIDDEN> writes: > Drew Adams
 <drew.adams@HIDDEN>
 writes: > >> Enhancement request: >> >> Provide a Boolean variable or a
 wrapper
 macro that has the effect of not >> raising an error but just skipping over
 any unr [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefan@HIDDEN> writes:

> Drew Adams <drew.adams@HIDDEN> writes:
>
>> Enhancement request:
>>
>> Provide a Boolean variable or a wrapper macro that has the effect of not
>> raising an error but just skipping over any unreadable #(...) construct.
>>
>> (I really wish this were available for older Emacs versions.  Those are
>> the ones that barf on #(...) constructs that are supported in later
>> versions.
>
> What's the use-case here?  Why can't you use `ignore-errors'?

The problem is when the thing inside the construct is unreadable, not
when there's errors (in a syntactically valid form).  For instance:

(ignore-errors #0)

In Common Lisp, this is the #| ...  |# operator, and it's handy
occasionally.  It's really like a nesting comment thing...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 22 Aug 2020 19:13:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 22 15:13:42 2020
Received: from localhost ([127.0.0.1]:51490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k9YxS-0001Ma-Kj
	for submit <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:13:42 -0400
Received: from mail-yb1-f177.google.com ([209.85.219.177]:34218)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1k9YxN-0001M5-Ey
 for 24982 <at> debbugs.gnu.org; Sat, 22 Aug 2020 15:13:39 -0400
Received: by mail-yb1-f177.google.com with SMTP id u6so2918437ybf.1
 for <24982 <at> debbugs.gnu.org>; Sat, 22 Aug 2020 12:13:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=5SQoZHLU0mNym6uQg49dQeTIStRLmP4zA9vMq8xVkAk=;
 b=aVd4bkKse3cWr/DqAZNxRxOXdBZOPjX4D9xZwbuuR3VVo0/2yY20cbTT1Z7ptQ0Ur3
 ZnT5dVG9tvZhNcSZLD1tzHR4IfJGCsmfESN8y0mqVyY6EMEDx/6Ma7NFP6LpE8ulOL7m
 yNVt89nLxn8p4/E4J5nNoeLlZz1tI3rq40LF/qPmbxObhBtp5YJ8US9XblDGcj920nmn
 40vIpLtpmmL87TRHTxIDxUCERB82QgsVmX0td/SX39H8LPufr1JGDCHII2hbfWdv4B3x
 nVQVTchmmdgta266aca78xi1PiPtkBOBpYo/JcPJSyu6P30CcwlHYtQHEv3Wj5zaqMsO
 SSVg==
X-Gm-Message-State: AOAM531S7klcYBwYSXClBcmM8IPgaKcU6PrNCpnDcHbbqAoZg1manoMQ
 J4nBSBiLeDPBilT/T2ELFuaokGdi0Qm+0skanahTz/g1tWA=
X-Google-Smtp-Source: ABdhPJzC4nPX09XsArVS0CAY1QeyUIT+GMME5xcL+mB+DqAbrw1OdFzj3wl37Gim8thVZ50jNPYeiONhuBtOPT+8EuI=
X-Received: by 2002:a25:4609:: with SMTP id t9mr10903325yba.231.1598123612129; 
 Sat, 22 Aug 2020 12:13:32 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 22 Aug 2020 15:13:31 -0400
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default> (Drew Adams's
 message of "Mon, 21 Nov 2016 13:47:45 -0800 (PST)")
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Sat, 22 Aug 2020 15:13:31 -0400
Message-ID: <CADwFkmm8n9KKASi1bToXd-zASKb3C_Xx_itaWYVDfhKSnJ_EVg@HIDDEN>
Subject: Re: bug#24982: 24.5;
 way to let Elisp reader ignore unreadable #(...) constructs
To: Drew Adams <drew.adams@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Drew Adams <drew.adams@HIDDEN> writes:

> Enhancement request:
>
> Provide a Boolean variable or a wrapper macro that has the effect of not
> raising an error but just skipping over any unreadable #(...) construct.
>
> (I really wish this were available for older Emacs versions.  Those are
> the ones that barf on #(...) constructs that are supported in later
> versions.

What's the use-case here?  Why can't you use `ignore-errors'?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 3 Apr 2018 20:14:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 03 16:14:17 2018
Received: from localhost ([127.0.0.1]:37371 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f3SJs-0007Dc-Rd
	for submit <at> debbugs.gnu.org; Tue, 03 Apr 2018 16:14:16 -0400
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:39329
 helo=homiemail-a39.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1f3SJp-0007DP-QD
 for 24982 <at> debbugs.gnu.org; Tue, 03 Apr 2018 16:14:14 -0400
Received: from homiemail-a39.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a39.g.dreamhost.com (Postfix) with ESMTP id CA07B150074;
 Tue,  3 Apr 2018 13:14:12 -0700 (PDT)
Received: from localhost.linkov.net (m91-129-105-236.cust.tele2.ee
 [91.129.105.236])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by homiemail-a39.g.dreamhost.com (Postfix) with ESMTPSA id F398A150069;
 Tue,  3 Apr 2018 13:14:11 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#24982: 24.5;
 way to let Elisp reader ignore unreadable #(...) constructs
Organization: LINKOV.NET
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <87fu4dwoum.fsf@HIDDEN>
 <10ca4da9-449c-48dd-96a0-c9bb4e426326@default>
 <87370dib1r.fsf@HIDDEN>
 <29891599-9f11-4154-9bcf-d51c5f21a2a1@default>
Date: Tue, 03 Apr 2018 23:06:24 +0300
In-Reply-To: <29891599-9f11-4154-9bcf-d51c5f21a2a1@default> (Drew Adams's
 message of "Mon, 2 Apr 2018 14:32:41 -0700 (PDT)")
Message-ID: <87fu4c6on3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

>> >> > Enhancement request:
>> >> > Provide a Boolean variable or a wrapper macro that has the effect=
 of
>> >> > not raising an error but just skipping over any unreadable #(...)
>> >> > construct.
>> >>
>> >> There is such macro called =E2=80=98ignore-errors=E2=80=99.
>> >
>> > No.  That ignores all errors.
>> >
>> > Is there an error handler that covers all and only #(...) read error=
s?
>                                               ^^^^^^^^
>> Then you can use something like
>>   (condition-case err
>>       (read (current-buffer))
>>     (invalid-read-syntax err))
>> that for example for unreadable #<marker ...> returns
>>   (invalid-read-syntax "#")
>
> And (read ")((") gives (invalid-read-syntax ")").
> So it's not specific to unreadable #(...) or #....

You can also use the position in the source buffer
to scan text near the error where reading failed.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 2 Apr 2018 21:32:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 02 17:32:54 2018
Received: from localhost ([127.0.0.1]:35500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f374P-00061G-PM
	for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 17:32:53 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:55834)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1f374N-000611-5j
 for 24982 <at> debbugs.gnu.org; Mon, 02 Apr 2018 17:32:51 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w32LHh0Z084366;
 Mon, 2 Apr 2018 21:32:45 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-2017-10-26;
 bh=vUBGlDPUv4sqRD7LL6iYK0T3GuSQkq8VON2YilkxMUM=;
 b=FP4LLavrkxg83U0Aea08hOIb5cZ9b0pLHl7S83fIXbkLsG0ybOFh4oeYvurmgOrLNx6a
 a6765siOMZmrAStKXPPJzMgVzmldqErXoQC4tuijOoUHS4LdfDPabEMpV/plWOEGCqJ8
 KIltUBq+dPjd87TPXCsSydfHd+T/GrYxO2uQBs1h0UrdbhbgvrE01X8ArpVc2CLcmWtu
 H/ANZoPMtLBWSgzcc0xtVmCBTZD3PMOVlMGkdVJzF/KYUaDTq8MHNY4amYBu+KL3T8Q6
 NIXzzCf3tyyhv1AU/Ol/6rmEbnbnZqh3YQgKCAPjilVJ7wauiAglGbPpd8+UqHba/7Bj Zg== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp2130.oracle.com with ESMTP id 2h3va8r1rc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 02 Apr 2018 21:32:44 +0000
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w32LWhwx016130
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 2 Apr 2018 21:32:44 GMT
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 w32LWgqR000928;
 Mon, 2 Apr 2018 21:32:43 GMT
MIME-Version: 1.0
Message-ID: <29891599-9f11-4154-9bcf-d51c5f21a2a1@default>
Date: Mon, 2 Apr 2018 14:32:41 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: RE: bug#24982: 24.5; way to let Elisp reader ignore unreadable #(...)
 constructs
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <87fu4dwoum.fsf@HIDDEN>
 <10ca4da9-449c-48dd-96a0-c9bb4e426326@default>
 <87370dib1r.fsf@HIDDEN>
In-Reply-To: <87370dib1r.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4666.0 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8851
 signatures=668697
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=655
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1804020229
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

> >> > Enhancement request:
> >> > Provide a Boolean variable or a wrapper macro that has the effect of
> >> > not raising an error but just skipping over any unreadable #(...)
> >> > construct.
> >>
> >> There is such macro called =E2=80=98ignore-errors=E2=80=99.
> >
> > No.  That ignores all errors.
> >
> > Is there an error handler that covers all and only #(...) read errors?
                                              ^^^^^^^^
> Then you can use something like
>   (condition-case err
>       (read (current-buffer))
>     (invalid-read-syntax err))
> that for example for unreadable #<marker ...> returns
>   (invalid-read-syntax "#")

And (read ")((") gives (invalid-read-syntax ")").
So it's not specific to unreadable #(...) or #....




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 2 Apr 2018 20:55:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 02 16:55:16 2018
Received: from localhost ([127.0.0.1]:35461 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f36U0-00058o-12
	for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 16:55:16 -0400
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:37967
 helo=homiemail-a11.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1f36Ty-00058f-FX
 for 24982 <at> debbugs.gnu.org; Mon, 02 Apr 2018 16:55:14 -0400
Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 47972314C06D;
 Mon,  2 Apr 2018 13:55:13 -0700 (PDT)
Received: from localhost.linkov.net (m91-129-105-236.cust.tele2.ee
 [91.129.105.236])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPSA id 66F74314C069;
 Mon,  2 Apr 2018 13:55:12 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#24982: 24.5;
 way to let Elisp reader ignore unreadable #(...) constructs
Organization: LINKOV.NET
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <87fu4dwoum.fsf@HIDDEN>
 <10ca4da9-449c-48dd-96a0-c9bb4e426326@default>
Date: Mon, 02 Apr 2018 23:54:40 +0300
In-Reply-To: <10ca4da9-449c-48dd-96a0-c9bb4e426326@default> (Drew Adams's
 message of "Mon, 2 Apr 2018 13:31:54 -0700 (PDT)")
Message-ID: <87370dib1r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

>> > Enhancement request:
>> >
>> > Provide a Boolean variable or a wrapper macro that has the effect of=
 not
>> > raising an error but just skipping over any unreadable #(...) constr=
uct.
>>=20
>> There is such macro called =E2=80=98ignore-errors=E2=80=99.
>
> No.  That ignores all errors.
>
> Is there an error handler that covers all and only #(...) read errors?

Then you can use something like

  (condition-case err
      (read (current-buffer))
    (invalid-read-syntax err))

that for example for unreadable #<marker ...> returns

  (invalid-read-syntax "#")




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 2 Apr 2018 20:32:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 02 16:32:04 2018
Received: from localhost ([127.0.0.1]:35447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f367Y-0004d6-Is
	for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 16:32:04 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:55060)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1f367X-0004cc-6P
 for 24982 <at> debbugs.gnu.org; Mon, 02 Apr 2018 16:32:03 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w32KHVxS115028;
 Mon, 2 Apr 2018 20:31:57 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-2017-10-26;
 bh=vlEeT4AOWavyIROJZ+lmqx5SIry3Tbl9RHTpMtP34iM=;
 b=GVwXtjz2oFjeW6RTj5FAwKdWvw9h5vK8QpI4PaIvVcwEz5XPQTTD2I0JoFWFOeqqtwgr
 33Bh/76A/06KcsV56vL8TmyXy09Y+4wNigu9k+FFGoB4ToIeG3QgL90IyXH/3VjhnS+8
 LslSBnzTijY5nObP1DRTEgWcZlgQRVwADr7pncs2BH9diQDojdUSHMy1tjQiQ8QZQc/k
 dRoR3kvK9xDxrKJkgazTTFKR6DZgIRGqYa1+UOzFArDOXXhPXoA+kqNt6Xe4tFfCsKnB
 4jaeGCohbdzFRAI4Zme4Qvuvambbod1bCqLGVMFPxeFvcAuuMeFJdv1b20KYvovHNR+V Xw== 
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp2120.oracle.com with ESMTP id 2h3ue4g233-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 02 Apr 2018 20:31:57 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w32KVuMe010614
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 2 Apr 2018 20:31:56 GMT
Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w32KVtda029139;
 Mon, 2 Apr 2018 20:31:56 GMT
MIME-Version: 1.0
Message-ID: <10ca4da9-449c-48dd-96a0-c9bb4e426326@default>
Date: Mon, 2 Apr 2018 13:31:54 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: RE: bug#24982: 24.5; way to let Elisp reader ignore unreadable #(...)
 constructs
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
 <87fu4dwoum.fsf@HIDDEN>
In-Reply-To: <87fu4dwoum.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4666.0 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8851
 signatures=668697
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=570
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1804020219
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

> > Enhancement request:
> >
> > Provide a Boolean variable or a wrapper macro that has the effect of no=
t
> > raising an error but just skipping over any unreadable #(...) construct=
.
>=20
> There is such macro called =E2=80=98ignore-errors=E2=80=99.

No.  That ignores all errors.

Is there an error handler that covers all and only #(...) read errors?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at 24982 <at> debbugs.gnu.org:


Received: (at 24982) by debbugs.gnu.org; 2 Apr 2018 19:55:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 02 15:55:43 2018
Received: from localhost ([127.0.0.1]:35422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f35YN-0003ln-LH
	for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 15:55:43 -0400
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:36406
 helo=homiemail-a11.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1f35YL-0003lf-Av
 for 24982 <at> debbugs.gnu.org; Mon, 02 Apr 2018 15:55:41 -0400
Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id C0C9C314C069;
 Mon,  2 Apr 2018 12:55:40 -0700 (PDT)
Received: from localhost.linkov.net (m91-129-105-236.cust.tele2.ee
 [91.129.105.236])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPSA id E86FC314C066;
 Mon,  2 Apr 2018 12:55:39 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#24982: 24.5;
 way to let Elisp reader ignore unreadable #(...) constructs
Organization: LINKOV.NET
References: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
Date: Mon, 02 Apr 2018 22:32:49 +0300
In-Reply-To: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default> (Drew Adams's
 message of "Mon, 21 Nov 2016 13:47:45 -0800 (PST)")
Message-ID: <87fu4dwoum.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24982
Cc: 24982 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

> Enhancement request:
>
> Provide a Boolean variable or a wrapper macro that has the effect of no=
t
> raising an error but just skipping over any unreadable #(...) construct=
.

There is such macro called =E2=80=98ignore-errors=E2=80=99.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Nov 2016 21:48:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 21 16:48:08 2016
Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c8wRb-0007Nf-Pr
	for submit <at> debbugs.gnu.org; Mon, 21 Nov 2016 16:48:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47768)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1c8wRZ-0007NC-OJ
 for submit <at> debbugs.gnu.org; Mon, 21 Nov 2016 16:48:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1c8wRU-0003tQ-2H
 for submit <at> debbugs.gnu.org; Mon, 21 Nov 2016 16:48:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45583)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1c8wRT-0003tG-Ur
 for submit <at> debbugs.gnu.org; Mon, 21 Nov 2016 16:47:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38739)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1c8wRS-0003iH-VE
 for bug-gnu-emacs@HIDDEN; Mon, 21 Nov 2016 16:47:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1c8wRP-0003p8-Qv
 for bug-gnu-emacs@HIDDEN; Mon, 21 Nov 2016 16:47:59 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:45579)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1c8wRP-0003no-Hn
 for bug-gnu-emacs@HIDDEN; Mon, 21 Nov 2016 16:47:55 -0500
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 uALLlqbA028092
 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Mon, 21 Nov 2016 21:47:53 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id uALLlq5J023774
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Mon, 21 Nov 2016 21:47:52 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id uALLllR3016726
 for <bug-gnu-emacs@HIDDEN>; Mon, 21 Nov 2016 21:47:48 GMT
MIME-Version: 1.0
Message-ID: <b5a0fa75-36ea-43f9-b1e6-ab0f2d974669@default>
Date: Mon, 21 Nov 2016 13:47:45 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.5; way to let Elisp reader ignore unreadable #(...) constructs
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 12.0.6753.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Enhancement request:

Provide a Boolean variable or a wrapper macro that has the effect of not
raising an error but just skipping over any unreadable #(...) construct.

(I really wish this were available for older Emacs versions.  Those are
the ones that barf on #(...) constructs that are supported in later
versions.


In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#24982; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 22 Aug 2020 19:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.