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#28797: 26.0.90; Improve printing of error on catching file-error in dired Date: Sun, 22 Oct 2017 12:28:11 -0400 Message-ID: <87o9ozcfl0.fsf@users.sourceforge.net> References: <87a80vbuur.fsf@users.sourceforge.net> <83y3ofjuer.fsf@gnu.org> <871sm7b356.fsf@users.sourceforge.net> <83o9pbjh8b.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1508689753 16639 195.159.176.226 (22 Oct 2017 16:29:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Oct 2017 16:29:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 28797@debbugs.gnu.org, kaushal.modi@gmail.com, tino.calancha@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 22 18:29:07 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 1e6J7X-0002y2-Jh for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Oct 2017 18:29:03 +0200 Original-Received: from localhost ([::1]:33549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6J7f-0002J6-3y for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Oct 2017 12:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6J7Z-0002Io-Li for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2017 12:29:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6J7W-0002PZ-IW for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2017 12:29:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6J7W-0002PU-Ep for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2017 12:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e6J7W-00015i-8n for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2017 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Oct 2017 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28797 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28797-submit@debbugs.gnu.org id=B28797.15086897024142 (code B ref 28797); Sun, 22 Oct 2017 16:29:02 +0000 Original-Received: (at 28797) by debbugs.gnu.org; 22 Oct 2017 16:28:22 +0000 Original-Received: from localhost ([127.0.0.1]:56103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6J6s-00014k-51 for submit@debbugs.gnu.org; Sun, 22 Oct 2017 12:28:22 -0400 Original-Received: from mail-it0-f52.google.com ([209.85.214.52]:47145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6J6q-00014V-1m for 28797@debbugs.gnu.org; Sun, 22 Oct 2017 12:28:20 -0400 Original-Received: by mail-it0-f52.google.com with SMTP id p138so3421276itp.2 for <28797@debbugs.gnu.org>; Sun, 22 Oct 2017 09:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2HYUlva+MUvhihtJEZK6D07/qG1uyOMp66NI9rAZ1Gk=; b=o8enw7qeJ/Gfpfh0zbw5aTX3vWbLSFKu4vehR5DX2pIW1KtH6rl60nZPUcB+uQa9oV bcbeCS5ixvl9sGO5UBR/A478Ex4BxhVhS8r38jlJXca+RRuPQOjrXvl1JeIJfTjWuK9S MvOpcjflQDq++7FMjYdjnkF6ZP29fWlNiDKBpE+OPv2mSvAWNELBg4W3QR4zx/Wl0EhG vEC8YMaktULPJhXjm8BTsTwohZgBiTD3nw1cC0wVTecCqCjJ0y/ErgdPbs/itnxgJCi7 LuldqvPlt4TDlyyzj3TK9RmXFRuMv3UoJvYk5kL3yzurqOttxUPiS9MRp5ykWRQk14bI 5WuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=2HYUlva+MUvhihtJEZK6D07/qG1uyOMp66NI9rAZ1Gk=; b=Oecd+4h0qALb8oWxwn6tdRWeUqtqupY6b7279lkoKM2yHpOY+7GL6GO/5U8numuXNk Uwdo+EAnIsOZhOhwgR/Qse52qi72wLVCOry2WTEJ9Gyf4FT2DYuTN5e7UBW7keAjoEMM EhI4GQEz78gTpGEhcMOyOivqzUyLaH4wAB77KEUsZOu8VW0wlo1spKes+N+54lkJEs6j SlEff7eJ5neOTE2skRe8QKoUZDOe2olSHc8F1o0ZtPXIRm7qqxcxGA+mYCJiaGSkvz3F PiN9c26Jg77dh5A4vQjPntMLuHdoIgR7H/nMCsVxy9cMs0AbOJ8UeNh/ok2CWQGb3JYa ZzPg== X-Gm-Message-State: AMCzsaUd3Ato5h3AKONYRzx0bJ8Y8UhRoc8j4KcZMOAU4VHI/9NWeBaN 3cAnm+vyZ+uY57wU/J6uDVs= X-Google-Smtp-Source: ABhQp+Rw3/JhFt433HK1yvC0Rwom/b0CLRuoZqNVO6+uBeynfUnvT+IH0LArBYLiUFg9HjbZwRqXLg== X-Received: by 10.36.95.2 with SMTP id r2mr6410340itb.25.1508689694299; Sun, 22 Oct 2017 09:28:14 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e89sm1557108itd.3.2017.10.22.09.28.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Oct 2017 09:28:13 -0700 (PDT) In-Reply-To: <83o9pbjh8b.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Oct 2017 16:43:33 +0300") 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:138857 Archived-At: Eli Zaretskii writes: >> >> condition-case-unless-debug for #2. >> > >> > This is quite a radical change in very old behavior, so if it is >> > deemed a good idea, it should go to master. >> >> Hmm, it doesn't seem that radical to me, but I don't have a problem >> putting it only to master, or even not doing that at all and just saying >> the user should use debug-on-signal. > > It's radical because we never produce backtrace in similar cases > anywhere else in Emacs. I'm not sure which cases you consider "similar". > Let's wait to hear what others think about this part. Not seeing any opinions, so here is a fact: due to bug#11218, changing this breaks dired-test-bug27940 [1]. Fixing #11218 would involve some major changes to ert internals. [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27940#65