From unknown Sat Jun 14 19:24:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18481: vc/vc-git.el: use `with-demoted-errors' instead of `ignore-errors'. Resent-From: Emilio Lopes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Sep 2014 13:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 18481@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.141078858117339 (code B ref -1); Mon, 15 Sep 2014 13:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Sep 2014 13:43:01 +0000 Received: from localhost ([127.0.0.1]:41277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XTWYV-0004Va-S5 for submit@debbugs.gnu.org; Mon, 15 Sep 2014 09:43:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XTWYR-0004VP-G8 for submit@debbugs.gnu.org; Mon, 15 Sep 2014 09:42:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTWYP-00063G-O4 for submit@debbugs.gnu.org; Mon, 15 Sep 2014 09:42:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTWYP-00063C-Kd for submit@debbugs.gnu.org; Mon, 15 Sep 2014 09:42:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTWYN-0003KW-SU for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 09:42:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTWYJ-00061W-4m for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 09:42:51 -0400 Received: from mail-vc0-x233.google.com ([2607:f8b0:400c:c03::233]:50950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTWYJ-00061P-00 for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 09:42:47 -0400 Received: by mail-vc0-f179.google.com with SMTP id im17so3392107vcb.38 for ; Mon, 15 Sep 2014 06:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=KCQ1julm54mFGB/plaV3Ex6VWpud32P4U9z9bNFvY10=; b=HygyPD2yGfjp/eXU2Dq1fCpd30Qd6GyLo+kjkudecEpSGcJ6/NvKZFCIlIkyG+ndoa Tb47XjNcQdbndWPw6t/afVYy9bFRhRtpgGBem9BmogziJcFKPTfS50xuulPjQ6/iazvg TPo0lRw/f4zR3Whqz4nLyI686nB8uCMoVCUf4b95HLFTyIoTzjHXkYcF2BIgMY98PJIA Wka4Evx0/isj2mWJSbPa8/9+bHegPX5/Om+lSkOtHDKGD349QguqQuyQnxuG+DwWAMAX BvNge6Qy2d+DhatBPN02481VZKNe4/+uKDaz0SAW7UJAGoxHVlMeaRfE+quZfxqoNvEY TgDA== X-Received: by 10.221.64.142 with SMTP id xi14mr23688905vcb.31.1410788565281; Mon, 15 Sep 2014 06:42:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.239.7 with HTTP; Mon, 15 Sep 2014 06:42:25 -0700 (PDT) From: Emilio Lopes Date: Mon, 15 Sep 2014 15:42:25 +0200 X-Google-Sender-Auth: DYNRzo4LAw92E2zDsf9sksneKiA Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) cf. http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-09/msg00394.html --- lisp/ChangeLog 2014-09-15 00:20:21 +0000 +++ lisp/ChangeLog 2014-09-15 13:36:10 +0000 @@ -1,3 +1,14 @@ +2014-09-15 Emilio C. Lopes + + * vc/vc-git.el (vc-git-registered): use `with-demoted-errors' + instead of `ignore-errors' so that the user is informed if + something unexpected happens. + 2014-09-15 Glenn Morris * image.el (image-multi-frame-p): Fix thinko - do not force === modified file 'lisp/vc/vc-git.el' --- lisp/vc/vc-git.el 2014-09-04 16:34:45 +0000 +++ lisp/vc/vc-git.el 2014-09-15 13:36:10 +0000 @@ -185,7 +185,7 @@ ;; path specs. ;; See also: http://marc.info/?l=git&m=125787684318129&w=2 (name (file-relative-name file dir)) - (str (ignore-errors + (str (with-demoted-errors "Error: %S" (cd dir) (vc-git--out-ok "ls-files" "-c" "-z" "--" name) ;; If result is empty, use ls-tree to check for deleted From unknown Sat Jun 14 19:24:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18481: vc/vc-git.el: use `with-demoted-errors' instead of `ignore-errors'. Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2019 18:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Emilio Lopes Cc: 18481@debbugs.gnu.org Received: via spool by 18481-submit@debbugs.gnu.org id=B18481.156485683123929 (code B ref 18481); Sat, 03 Aug 2019 18:28:03 +0000 Received: (at 18481) by debbugs.gnu.org; 3 Aug 2019 18:27:11 +0000 Received: from localhost ([127.0.0.1]:59889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htykJ-0006Ds-0D for submit@debbugs.gnu.org; Sat, 03 Aug 2019 14:27:11 -0400 Received: from quimby.gnus.org ([80.91.231.51]:51326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htykG-0006Dd-U0 for 18481@debbugs.gnu.org; Sat, 03 Aug 2019 14:27:09 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htykB-0006rE-Ql; Sat, 03 Aug 2019 20:27:06 +0200 From: Lars Ingebrigtsen References: Date: Sat, 03 Aug 2019 20:27:03 +0200 In-Reply-To: (Emilio Lopes's message of "Mon, 15 Sep 2014 15:42:25 +0200") Message-ID: <87d0hmf6ko.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Emilio Lopes writes: > cf. http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-09/msg00394.html > > --- lisp/ChangeLog 2014-09-15 00:20:21 +0000 > +++ lisp/ChangeLog 2014-09-15 13:36:10 +0000 > @@ -1,3 +1,14 @@ > +2014-0 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Emilio Lopes writes: > cf. http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-09/msg00394.html > > --- lisp/ChangeLog 2014-09-15 00:20:21 +0000 > +++ lisp/ChangeLog 2014-09-15 13:36:10 +0000 > @@ -1,3 +1,14 @@ > +2014-09-15 Emilio C. Lopes > + > + * vc/vc-git.el (vc-git-registered): use `with-demoted-errors' > + instead of `ignore-errors' so that the user is informed if > + something unexpected happens. (I'm going through old bug reports that unfortunately have not received any responses yet.) So, in that URL Stefan suggested using with-demoted-errors instead of ignore-errors here, and that seems sensible. But I'm wondering whether this code is expected to fail, and whether the errors (in that case) are totally uninteresting? I've done some testing (without the `ignore-errors'), and in my tests the code doesn't fail, so I think the patch suggested makes sense. Does this patch makes sense to everybody else, too? (defun vc-git-registered (file) "Check whether FILE is registered with git." (let ((dir (vc-git-root file))) (when dir (with-temp-buffer (let* (process-file-side-effects ;; Do not use the `file-name-directory' here: git-ls-files ;; sometimes fails to return the correct status for relative ;; path specs. ;; See also: http://marc.info/?l=git&m=125787684318129&w=2 (name (file-relative-name file dir)) (str (ignore-errors (cd dir) (vc-git--out-ok "ls-files" "-c" "-z" "--" name) ;; If result is empty, use ls-tree to check for deleted ;; file. (when (eq (point-min) (point-max)) (vc-git--out-ok "ls-tree" "--name-only" "-z" "HEAD" "--" name)) (buffer-string)))) (and str (> (length str) (length name)) (string= (substring str 0 (1+ (length name))) (concat name "\0")))))))) > ;; path specs. > ;; See also: http://marc.info/?l=git&m=125787684318129&w=2 > (name (file-relative-name file dir)) > - (str (ignore-errors > + (str (with-demoted-errors "Error: %S" > (cd dir) > (vc-git--out-ok "ls-files" "-c" "-z" "--" name) > ;; If result is empty, use ls-tree to check for deleted -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 14:27:13 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 18:27:14 +0000 Received: from localhost ([127.0.0.1]:59892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htykL-0006E9-Pd for submit@debbugs.gnu.org; Sat, 03 Aug 2019 14:27:13 -0400 Received: from quimby.gnus.org ([80.91.231.51]:51340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htykK-0006E0-Q8 for control@debbugs.gnu.org; Sat, 03 Aug 2019 14:27:13 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htykI-0006rN-6u for control@debbugs.gnu.org; Sat, 03 Aug 2019 20:27:12 +0200 Date: Sat, 03 Aug 2019 20:27:09 +0200 Message-Id: <87blx6f6ki.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18481 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18481 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18481 + patch quit From unknown Sat Jun 14 19:24:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18481: vc/vc-git.el: use `with-demoted-errors' instead of `ignore-errors'. Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 18481@debbugs.gnu.org, Emilio Lopes Received: via spool by 18481-submit@debbugs.gnu.org id=B18481.159725199111746 (code B ref 18481); Wed, 12 Aug 2020 17:07:02 +0000 Received: (at 18481) by debbugs.gnu.org; 12 Aug 2020 17:06:31 +0000 Received: from localhost ([127.0.0.1]:45416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5uCs-00033O-H1 for submit@debbugs.gnu.org; Wed, 12 Aug 2020 13:06:30 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:43597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5uCp-00032r-9f for 18481@debbugs.gnu.org; Wed, 12 Aug 2020 13:06:29 -0400 Received: by mail-yb1-f193.google.com with SMTP id m200so1732966ybf.10 for <18481@debbugs.gnu.org>; Wed, 12 Aug 2020 10:06:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=mmt5G/wlXQZFNrNCO6DHlj764Ck4plIW4IOd6URZ1ho=; b=r1ZWYCptj1YW10oji0WBwTrhpqzIM42gu5pTIBMMdrfWu8MgDjdCLwoVyUKCFDxgkj da3hbhPzv5mkKLyr9gNOlWgEd1lE9+/PU4HNTg/EDEFxX71GPGsyxcdNcVjuEEnyeS34 FTb3EnrtbfaWoEI0soI9RxF5Qkc+viqc1zAzkhaJiAEcbvf6IuLaAszFajgyfNRra0mS 4O55rGZXVp2xZ8qJnQyGNhG5xLEHIOChv/+UDt4kcAhw6aQegrayNd6w9TsroHn3RgWN rw6IgyWoc5D5+y1ZN+QfXFUnmRBVzV3mk5ZIMA9VpeWKl0OzjLQ5+1JfVcp+HgU+A8dS 7oPA== X-Gm-Message-State: AOAM5329SMJNoI4jigYM7BOqWp+kdKwg3IcDWHWrwD8DtBV0itTut8lV 0QVDL50juprbYJHe7FS8wdGpI2E9bNmVWfhLZLw= X-Google-Smtp-Source: ABdhPJwm47iBm62ytKXJkqcNeC8KNF1ULnrD/LcpYcOBo89CWrV1zQzFtPjZYO0s6xJ+7uIa8cuXZeFznsDYj+xXOyo= X-Received: by 2002:a25:880e:: with SMTP id c14mr448670ybl.181.1597251981895; Wed, 12 Aug 2020 10:06:21 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 10:06:21 -0700 From: Stefan Kangas In-Reply-To: <87d0hmf6ko.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 03 Aug 2019 20:27:03 +0200") References: <87d0hmf6ko.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Wed, 12 Aug 2020 10:06:21 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Emilio Lopes writes: > >> cf. http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-09/msg00394.html >> >> --- lisp/ChangeLog 2014-09-15 00:20:21 +0000 >> +++ lisp/ChangeLog 2014-09-15 13:36:10 +0000 >> @@ -1,3 +1,14 @@ >> +2014-09-15 Emilio C. Lopes >> + >> + * vc/vc-git.el (vc-git-registered): use `with-demoted-errors' >> + instead of `ignore-errors' so that the user is informed if >> + something unexpected happens. > > (I'm going through old bug reports that unfortunately have not received > any responses yet.) > > So, in that URL Stefan suggested using with-demoted-errors instead of > ignore-errors here, and that seems sensible. But I'm wondering whether > this code is expected to fail, and whether the errors (in that case) are > totally uninteresting? > > I've done some testing (without the `ignore-errors'), and in my tests > the code doesn't fail, so I think the patch suggested makes sense. > > Does this patch makes sense to everybody else, too? I'm not a heavy user of vc, but FWIW it seems to me that it should be safe enough to catch fewer errors. Maybe we could just install it and see what blows up, if the patch works for you... > (defun vc-git-registered (file) > "Check whether FILE is registered with git." > (let ((dir (vc-git-root file))) > (when dir > (with-temp-buffer > (let* (process-file-side-effects > ;; Do not use the `file-name-directory' here: git-ls-files > ;; sometimes fails to return the correct status for relative > ;; path specs. > ;; See also: http://marc.info/?l=git&m=125787684318129&w=2 > (name (file-relative-name file dir)) > (str (ignore-errors > (cd dir) > (vc-git--out-ok "ls-files" "-c" "-z" "--" name) > ;; If result is empty, use ls-tree to check for deleted > ;; file. > (when (eq (point-min) (point-max)) > (vc-git--out-ok "ls-tree" "--name-only" "-z" "HEAD" > "--" name)) > (buffer-string)))) > (and str > (> (length str) (length name)) > (string= (substring str 0 (1+ (length name))) > (concat name "\0")))))))) > > >> ;; path specs. >> ;; See also: http://marc.info/?l=git&m=125787684318129&w=2 >> (name (file-relative-name file dir)) >> - (str (ignore-errors >> + (str (with-demoted-errors "Error: %S" >> (cd dir) >> (vc-git--out-ok "ls-files" "-c" "-z" "--" name) >> ;; If result is empty, use ls-tree to check for deleted Best regards, Stefan Kangas From unknown Sat Jun 14 19:24:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18481: vc/vc-git.el: use `with-demoted-errors' instead of `ignore-errors'. Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 18:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Kangas , Lars Ingebrigtsen Cc: 18481@debbugs.gnu.org, Emilio Lopes Received: via spool by 18481-submit@debbugs.gnu.org id=B18481.159725650827200 (code B ref 18481); Wed, 12 Aug 2020 18:22:02 +0000 Received: (at 18481) by debbugs.gnu.org; 12 Aug 2020 18:21:48 +0000 Received: from localhost ([127.0.0.1]:45495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vNj-00074e-PT for submit@debbugs.gnu.org; Wed, 12 Aug 2020 14:21:47 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:39357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vNg-00074P-Bf for 18481@debbugs.gnu.org; Wed, 12 Aug 2020 14:21:46 -0400 Received: by mail-ed1-f52.google.com with SMTP id c10so2251393edk.6 for <18481@debbugs.gnu.org>; Wed, 12 Aug 2020 11:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9qfqMZhQfYvlrbiyEq3T9Dpp3xdqAHdVxrtO3f4RJBA=; b=TsPdtzWEH3EVtVCmFBdDttwMysUlCnyBXpc8Z+yaCPAz0ssP1QExv85Q7j7sZ5rWQe R4Gux0F1c5TGtWtVoae9HkyPJ4Rmv1OYGuDEm7d6iGxmzWD6Kc6BB8/a1CpIp3hWiW2U Jb1Pv0SFaxDgZ5lODAwMFElhecJyg/7fS6j8MeQNjKPiu1o/oMJNexUSpV39EEHbbGRR SH8sbQwnW2X5u1FdfmaCgIiCuAaopYPD3yzHlO8wK/h8oTb8Q73sEysaJoHMXC4EXP+b fbraU5kNSw5V0UtC6S1ca1tYfOxYxPkjxvVcR0q1EbfLQWO7ii3pUsK1nVOa1FXF4IbF WYGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9qfqMZhQfYvlrbiyEq3T9Dpp3xdqAHdVxrtO3f4RJBA=; b=S9RScvz9Kz8Nl9OO6JaRGIMw2y4Yd/FR2wwOba9JFTRzvm/LoZqb2Qw/F2SKe14WCQ fTdHvO6BFUI+XqJpfKPsAEk42aZy1uuxu6KZxKJ/FoSaz8ljnGjh+8T2WqNcTD7kwtu+ 013tpMrgUX0RvWhWuPl4V6g9/nquO8VRKVygTOvAKSBwz/zcmeqK3TzHnyEry3MXk62y tTpuwY5ZefRONBnNGab7p+ekN1x8XRRqxBOnomiOohFK4qY+On8HJlByZOay8Jw/jkhQ k0hc3hBL6fgvwpyXIwGB1Y6xA/rc/qRw+ZAH7VRy6jiVn3i8yL1h6+8mJ8Peyc7+iCie BqcA== X-Gm-Message-State: AOAM531U/Cx8D0a4InUU+FQQwVVzrmnc6Uug1XumwO8ODAY14Zmcz/AS pN5HNjL8Xr3m/M0yvOJHp2o= X-Google-Smtp-Source: ABdhPJwVk85GvOztytYrv1E1UWhD79e2MTABgxU6dSiM2egnBCeqg0XC8QelGxRJOEnybx9yx7hXDg== X-Received: by 2002:aa7:d411:: with SMTP id z17mr1166934edq.85.1597256498473; Wed, 12 Aug 2020 11:21:38 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id g19sm2094062ejz.5.2020.08.12.11.21.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Aug 2020 11:21:37 -0700 (PDT) References: <87d0hmf6ko.fsf@mouse.gnus.org> From: Dmitry Gutov Message-ID: Date: Wed, 12 Aug 2020 21:21:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 12.08.2020 20:06, Stefan Kangas wrote: > I'm not a heavy user of vc, but FWIW it seems to me that it should be > safe enough to catch fewer errors. Maybe we could just install it and > see what blows up, if the patch works for you.. Yup. From unknown Sat Jun 14 19:24:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18481: vc/vc-git.el: use `with-demoted-errors' instead of `ignore-errors'. Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Aug 2020 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Dmitry Gutov Cc: 18481@debbugs.gnu.org, Stefan Kangas , Emilio Lopes Received: via spool by 18481-submit@debbugs.gnu.org id=B18481.15973057771764 (code B ref 18481); Thu, 13 Aug 2020 08:03:01 +0000 Received: (at 18481) by debbugs.gnu.org; 13 Aug 2020 08:02:57 +0000 Received: from localhost ([127.0.0.1]:46692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k68CO-0000SN-PD for submit@debbugs.gnu.org; Thu, 13 Aug 2020 04:02:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k68CM-0000S6-5O for 18481@debbugs.gnu.org; Thu, 13 Aug 2020 04:02:55 -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=7wzT9kg/tTG3MCb83xH2rNhIG2bOTxTv4gJgaGbbCc8=; b=BCmX50wtX7KKF04sJTcvkYQ3te JtwPFqOayK2ak3fEMK0wUjWmEjQiYKP6QCIh+3l6T2YAOxDp4UrdFGy02HsYOuj5ik2t0rNPyIzVq UHdP5ruGUMwsoMB0ai0OR2pM5T+QNuxyx5RACiamtZpErPL/MFpfZlgM6qsOKWxI4tz0=; 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 1k68C2-0003na-Vv; Thu, 13 Aug 2020 10:02:47 +0200 From: Lars Ingebrigtsen References: <87d0hmf6ko.fsf@mouse.gnus.org> Date: Thu, 13 Aug 2020 10:02:33 +0200 In-Reply-To: (Dmitry Gutov's message of "Wed, 12 Aug 2020 21:21:36 +0300") Message-ID: <87v9hnht2e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > On 12.08.2020 20:06, Stefan Kangas wrote: >> I'm not a heavy user of vc, but FWIW it seems to me that it should be >> safe enough to catch fewer errors. Maybe we could just install it and >> see wha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dmitry Gutov writes: > On 12.08.2020 20:06, Stefan Kangas wrote: >> I'm not a heavy user of vc, but FWIW it seems to me that it should be >> safe enough to catch fewer errors. Maybe we could just install it and >> see what blows up, if the patch works for you.. > > Yup. OK, I've now done this. And if it gets annoying in some use cases, the patch should be reverted. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 04:03:12 2020 Received: (at control) by debbugs.gnu.org; 13 Aug 2020 08:03:12 +0000 Received: from localhost ([127.0.0.1]:46696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k68Ce-0000TF-0o for submit@debbugs.gnu.org; Thu, 13 Aug 2020 04:03:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k68Cb-0000T2-Np for control@debbugs.gnu.org; Thu, 13 Aug 2020 04:03:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=egYPc1hOXYaK15xHIwnVS01YJDqUGeVSDnnzIMj9azY=; b=iLrW+ffhi5ULrgma8b0mqMUFAM VZ9Dj89sZBwYASjoitjjRJL4FEk1C1OMusxPYQJ4+uAQUl9LabEFGONSuehNk0Wv29T4xPb+ItrZx a/lgJQnDWkmGEJe9mb95spgk/b/b4vj9i0KGlvuhZ/Ge9pmEdxDH4ClhWEcXUrDhdwvQ=; 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 1k68CT-0003nn-MV for control@debbugs.gnu.org; Thu, 13 Aug 2020 10:03:03 +0200 Date: Thu, 13 Aug 2020 10:03:00 +0200 Message-Id: <87tux7ht1n.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18481 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18481 fixed close 18481 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18481 fixed close 18481 28.1 quit