GNU bug report logs - #76455
[PATCH] Allow truncate flymake end-of-line diagnostic summary

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Fri, 21 Feb 2025 04:50:02 UTC

Severity: wishlist

Tags: patch

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: sbaugh <at> janestreet.com,
 Elijah Gabe Pérez <eg642616 <at> gmail.com>,
 76455 <at> debbugs.gnu.org
Subject: Re: bug#76455: [PATCH] Allow truncate flymake end-of-line
 diagnostic summary
Date: Fri, 21 Feb 2025 10:02:15 +0200
>> This patch allow to user set a limit for
>> `flymake-show-diagnostics-at-end-of-line' summary text.
>> 
>> This way you can shorten long messages like:
>> 
>> (message ) ‘message’ called with 0 arguments, but requires 1 or more
>>            error message^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 
>> to...
>> 
>> (message ) ‘message’ called with 0 arguments...
>>            error message^^^^^^^^^^^^^^^^^^^^^^^
>> 
>> This is related to bug#74691, which I also have this problem.
>
> Would it make sense to use string-truncate-left instead of reinventing
> what it does?

Or truncate-string-to-width.




This bug report was last modified 116 days ago.

Previous Next


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