GNU bug report logs - #29014
[PATCH] Fix typo in error message

Previous Next

Package: emacs;

Reported by: Lele Gaifax <lele <at> metapensiero.it>

Date: Thu, 26 Oct 2017 15:47:02 UTC

Severity: minor

Tags: fixed, patch

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29014 in the body.
You can then email your comments to 29014 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#29014; Package emacs. (Thu, 26 Oct 2017 15:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lele Gaifax <lele <at> metapensiero.it>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 26 Oct 2017 15:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lele Gaifax <lele <at> metapensiero.it>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Fix typo in error message
Date: Thu, 26 Oct 2017 17:46:19 +0200
[Message part 1 (text/plain, inline)]
There is a typo in the legacy Flymake backend, when it cannot find a suitable
initialization function it says "Can find..." instead of "Cannot find...".

ciao, lele.

[0001-Fix-typo-in-error-message.patch (text/x-diff, inline)]
From ee6bb6d3f0a79c6322c10923abdd0aaa64183163 Mon Sep 17 00:00:00 2001
From: Lele Gaifax <lele <at> metapensiero.it>
Date: Thu, 26 Oct 2017 17:34:25 +0200
Subject: [PATCH] Fix typo in error message

* lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake):
Replace "Can find" with "Cannot find" in error message about missing
init-f.
---
 lisp/progmodes/flymake-proc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el
index a9caef4fc8..e37e8a4ab3 100644
--- a/lisp/progmodes/flymake-proc.el
+++ b/lisp/progmodes/flymake-proc.el
@@ -753,7 +753,7 @@ flymake-proc-legacy-flymake
               ;; trying if the directory is read-only (bug#8954).
               (file-writable-p (file-name-directory buffer-file-name))
               (flymake-proc--get-init-function buffer-file-name))))
-        (unless init-f (error "Can find a suitable init function"))
+        (unless init-f (error "Cannot find a suitable init function"))
         (flymake-proc--clear-buildfile-cache)
         (flymake-proc--clear-project-include-dirs-cache)
 
-- 
2.15.0.rc2

[Message part 3 (text/plain, inline)]
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele <at> metapensiero.it  |                 -- Fortunato Depero, 1929.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29014; Package emacs. (Mon, 01 Jan 2018 17:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 29014 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Lele Gaifax <lele <at> metapensiero.it>
Cc: 29014 <at> debbugs.gnu.org
Subject: Re: bug#29014: [PATCH] Fix typo in error message
Date: Mon, 01 Jan 2018 12:39:22 -0500
tags 29014 fixed
close 29014 
quit

Lele Gaifax <lele <at> metapensiero.it> writes:

> There is a typo in the legacy Flymake backend, when it cannot find a suitable
> initialization function it says "Can find..." instead of "Cannot find...".

It was fixed with "Can't find..." instead.

[1: c65a0ae7c4]: 2017-11-22 01:51:48 +0200
  ; Fix a typo
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c65a0ae7c4592d7fd9a47de3231e6ed07807f8af




Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Mon, 01 Jan 2018 17:40:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 29014 <at> debbugs.gnu.org and Lele Gaifax <lele <at> metapensiero.it> Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Mon, 01 Jan 2018 17:40:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jan 2018 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.