From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#28113: 25.2; `ignore-errors' around `require' Date: Wed, 16 Aug 2017 15:39:34 -0700 (PDT) Message-ID: References: <07193cef-cdb9-4f39-a44e-920cf072411b@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502923225 28633 195.159.176.226 (16 Aug 2017 22:40:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2017 22:40:25 +0000 (UTC) Cc: 28113@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 00:40:21 2017 Return-path: 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 ) id 1di6z4-00074v-0X for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 00:40:18 +0200 Original-Received: from localhost ([::1]:57779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1di6zA-0005D5-L2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 18:40:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1di6yr-00051I-LX for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1di6yo-0005RM-I2 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1di6yo-0005Qa-Ew for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1di6yo-0007Wo-5j for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:40: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: Wed, 16 Aug 2017 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28113 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 28113-submit@debbugs.gnu.org id=B28113.150292318628907 (code B ref 28113); Wed, 16 Aug 2017 22:40:02 +0000 Original-Received: (at 28113) by debbugs.gnu.org; 16 Aug 2017 22:39:46 +0000 Original-Received: from localhost ([127.0.0.1]:41659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6yY-0007WB-IJ for submit@debbugs.gnu.org; Wed, 16 Aug 2017 18:39:46 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:20595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6yW-0007Vx-3X for 28113@debbugs.gnu.org; Wed, 16 Aug 2017 18:39:44 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7GMdamD013014 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Aug 2017 22:39:37 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v7GMdaVl024721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Aug 2017 22:39:36 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v7GMdZAb001395; Wed, 16 Aug 2017 22:39:36 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] 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" 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:135847 Archived-At: > tags 28113 + unreproducible > quit >=20 > Works for me. I tried > emacs -Q -f toggle-debug-on-error -l start.el > where start.el has > (condition-case err > (let ((load-path (cons default-directory load-path))) > (require 'load-some-nonexistent-files)) > (error (message "caught error: %S" err))) > And load-some-nonexistent-files.el has > (require 'there-is-no-such-file) > (provide 'load-some-nonexistent-files) >=20 > I get > Debug on Error enabled globally > caught error: (file-error "Cannot open load file" > "no such file or directory" > "there-is-no-such-file") >=20 > in *Messages*. > Tested in 24.3 and 25.1. OK, I won't worry about it. It's actually more complicated, and I don't have the time or worry to track it down more. FYI - The files all exist and are in my load path, when I byte-compile them. If I then start with emacs -Q and set the load-path so that it can see all except vline.el (which is in a different dir) then the error is raised. I'm guessing that it is because of the files being compiled (no error was raised when compiling because the load-path then was fuller, picking up vline.el). Also (perhaps relevant), the condition-case is itself not at top level but is wrapped in a (when...) test for an emacs-major-version minimum. Anyway, thanks for taking a look.