From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28113: 25.2; `ignore-errors' around `require' Date: Wed, 16 Aug 2017 17:59:16 -0400 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" X-Trace: blaine.gmane.org 1502920821 31004 195.159.176.226 (16 Aug 2017 22:00:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2017 22:00:21 +0000 (UTC) Cc: 28113@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 00:00:15 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 1di6MC-0007Tn-SV for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 00:00:08 +0200 Original-Received: from localhost ([::1]:54569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1di6MJ-0002di-8A for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 18:00:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1di6MA-0002bq-AA for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1di6M6-0000xR-F9 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1di6M6-0000xK-BA for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1di6M5-0004d8-RT for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 18:00:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2017 22:00:01 +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: Original-Received: via spool by 28113-submit@debbugs.gnu.org id=B28113.150292076417720 (code B ref 28113); Wed, 16 Aug 2017 22:00:01 +0000 Original-Received: (at 28113) by debbugs.gnu.org; 16 Aug 2017 21:59:24 +0000 Original-Received: from localhost ([127.0.0.1]:41625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6LU-0004bj-1Z for submit@debbugs.gnu.org; Wed, 16 Aug 2017 17:59:24 -0400 Original-Received: from mail-oi0-f43.google.com ([209.85.218.43]:34204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6LS-0004bQ-BP for 28113@debbugs.gnu.org; Wed, 16 Aug 2017 17:59:22 -0400 Original-Received: by mail-oi0-f43.google.com with SMTP id x3so49753160oia.1 for <28113@debbugs.gnu.org>; Wed, 16 Aug 2017 14:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+cf4cChrOv5e2yh5Uz0fbchMdExe87YIEpdYu5gO0+w=; b=dhdZ+2ndRKahV9nowhtG2h2QFXwlLfxt1DTOX/MGKlNnA7qzFe0D5temG9lSwMT/lY 1WvEuc21qKNv/oEPKQU4jdwj1tkcCBb3qTgv9SVjXqDyho6PLCdplF+rJWoyY58AB1Vs boraQT1+s0jR6OJox2ktbjKTSOx1qZI3jRuZX0ze68/qDU7PJTwQAEo61yo6aLWudMF2 k9auOIO8GXbKb/gKFm81v3sGZ9shrCQgRgl3YyR670lrME9G4XKWCYbuhjbsm3Xd+DO9 U4MiEAh1KpnoqMbErmBLnwmqdgwT+z+C+rwFRcV39ixEIgBCkBGKtWHT9t4lNxOX0bZw LZLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+cf4cChrOv5e2yh5Uz0fbchMdExe87YIEpdYu5gO0+w=; b=rRMEKdq4W17lcaZCdsG5oW0Pvz0nrecchVOfAkpaPhiBS55sxiOwzq3kbCWrE90SPL YJlbFtcZ1jREdWh1meVRf+EPbqdTGPR1pvMmWYeBY8muJJyCHcHZFXhak2PHc8eRvkrl dQWj7DhRDov/Defd9At/RkbhAZjHRo0dsOJIVE85xGAtuHutGldJe/D2eeRWSGeZlCwf cOwqz8BCz5ou20AfnNDWvV1GEfAOkT20k5raKVS37byyJDWyzGKH5HtcREW0vjCNDVzo /jGiCPDmqTbaAkL95NjLBMI0L6jy7tmMViq4vGjqME/pdfT0OXAavCkK99/xepNNuLQS EzmA== X-Gm-Message-State: AHYfb5i/axzt0JIjdoCvyOAED67MVAu7z4ZOiVRHMS9uwOPQwM+M9Im3 F7I5Kmtvh/EmPKjDhcfClp/wF8+tXQ== X-Received: by 10.202.208.79 with SMTP id h76mr4140374oig.65.1502920756633; Wed, 16 Aug 2017 14:59:16 -0700 (PDT) Original-Received: by 10.74.18.129 with HTTP; Wed, 16 Aug 2017 14:59:16 -0700 (PDT) In-Reply-To: <07193cef-cdb9-4f39-a44e-920cf072411b@default> X-Google-Sender-Auth: urDprtOBk-TtN8Es_2u68tTPOR4 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:135845 Archived-At: tags 28113 + unreproducible quit On Wed, Aug 16, 2017 at 4:11 PM, Drew Adams wrote: > I'm guessing that there is not a bug here, as this seems to happen for > all Emacs versions I have. 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) 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") in *Messages*. Tested in 24.3 and 25.1.