From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24982: 24.5; way to let Elisp reader ignore unreadable #(...) constructs Date: Sat, 22 Aug 2020 21:17:40 +0200 Message-ID: <87tuwuh4mj.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 24982@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 22 21:18:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9Z1n-000A8A-IX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 21:18:11 +0200 Original-Received: from localhost ([::1]:35168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9Z1m-0001xI-If for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 15:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Z1e-0001wG-Ao for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 15:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Z1e-0006VO-0c for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9Z1d-0003hG-Sm for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 15:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2020 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24982 X-GNU-PR-Package: emacs Original-Received: via spool by 24982-submit@debbugs.gnu.org id=B24982.159812387314195 (code B ref 24982); Sat, 22 Aug 2020 19:18:01 +0000 Original-Received: (at 24982) by debbugs.gnu.org; 22 Aug 2020 19:17:53 +0000 Original-Received: from localhost ([127.0.0.1]:51502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z1V-0003gs-3l for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:17:53 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:38910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z1T-0003dc-VD for 24982@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=; Original-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 ) id 1k9Z1J-0005DT-HC; Sat, 22 Aug 2020 21:17:44 +0200 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" In-Reply-To: (Stefan Kangas's message of "Sat, 22 Aug 2020 15:13:31 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185991 Archived-At: Stefan Kangas writes: > Drew Adams 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