From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28797: 26.0.90; Improve printing of error on catching file-error in dired Date: Fri, 13 Oct 2017 11:58:52 +0300 Message-ID: <83y3ofjuer.fsf@gnu.org> References: <87a80vbuur.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507885451 27968 195.159.176.226 (13 Oct 2017 09:04:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 09:04:11 +0000 (UTC) Cc: 28797@debbugs.gnu.org, kaushal.modi@gmail.com, tino.calancha@gmail.com To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 13 11:04:04 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 1e2vsj-0004c6-SQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Oct 2017 11:03:50 +0200 Original-Received: from localhost ([::1]:49099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vso-00038z-7x for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Oct 2017 05:03:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vpA-0000B7-CN for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 05:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2vp4-0004WA-TY for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 05:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2vp4-0004VR-QD for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 05:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2vp4-0007NS-Go for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 05:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 09:00: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.150788515928253 (code B ref 28797); Fri, 13 Oct 2017 09:00:02 +0000 Original-Received: (at 28797) by debbugs.gnu.org; 13 Oct 2017 08:59:19 +0000 Original-Received: from localhost ([127.0.0.1]:36861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2voN-0007Lc-9J for submit@debbugs.gnu.org; Fri, 13 Oct 2017 04:59:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2voK-0007LM-HF for 28797@debbugs.gnu.org; Fri, 13 Oct 2017 04:59:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2voE-00045V-Kn for 28797@debbugs.gnu.org; Fri, 13 Oct 2017 04:59:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vo8-00041s-2L; Fri, 13 Oct 2017 04:59:04 -0400 Original-Received: from [176.228.60.248] (port=1271 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2vo5-0002ky-G0; Fri, 13 Oct 2017 04:59:02 -0400 In-reply-to: <87a80vbuur.fsf@users.sourceforge.net> (message from Noam Postavsky on Thu, 12 Oct 2017 23:16:28 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:138331 Archived-At: > From: Noam Postavsky > Date: Thu, 12 Oct 2017 23:16:28 -0400 > Cc: 28797@debbugs.gnu.org, tino.calancha@gmail.com > > > 1. Improving the format of error messages generated by catching error > > signals from C, so that the errors look almost like readable English > > instead of a dump of a list. > > 2. Those errors should generate a backtrace.. right now, a user needs > > to update the debug-on-message variable to force back traces for such > > messages which is, first: more cumbersome than doing M-x > > toggle-debug-on-error and then recreating the error, and second: not > > a common knowledge. > > Here's a patch, uses error-message-string for #1, This doesn't handle all of the parts of the complaint, does it? > 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. Thanks.