Subject: bug#76455: [PATCH] Allow truncate flymake end-of-line diagnostic summary

From: Eli Zaretskii <[email-masked]>
Date: Fri, 21 Feb 2025 09:54:06 +0200

> From: Elijah Gabe Pérez <[email-masked]>
> Date: Thu, 20 Feb 2025 22:49:37 -0600
> 
> 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?

Thanks.