emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Flymake Support Indicator Errors in Margin


From: Elijah G
Subject: Re: [PATCH] Flymake Support Indicator Errors in Margin
Date: Sun, 17 Mar 2024 11:34:50 -0600

On Sun, Mar 17, 2024 at 10:44 AM bird <sbaugh@catern.com> wrote:
> Elijah, could you say more about your setup?
>
> - You mentioned you already have a left margin configured; what is
>   displayed in that margin? Is it anything other than flymake/flycheck
>   indicators?

Yes, it is dape-mode, in terminal dape is automatically configured for
display breakpoints in left-margin, however the error indicators can appear
next to breakpoint or even hide it if left-margin-width is less than 1.
This can also apply to other packages that can use margins like
git-gutter, et cetera.

> - Do you have the margin automatically disappear if you aren't using
>   flycheck in a buffer/if there are no flycheck errors in a buffer?

Yes, I do this with setq-local.

> - Is there some reason that seeing the indicators is especially
>   important for you?  Does it communicate information not already
>   carried by the face?

It is due that the fringes are too small in HIDPI screens, i know
I can change it to a bigger fringe bitmap and increase fringe width size,
however this is a problem when increasing and decreasing text size.

Also using margins allows a wide variety of characters to be used, especially
non-ASCII.

> - If you just want the diagnostics to be more visible, would customizing
>   the face on the diagnostics help?  Or perhaps customizing
>   flymake-show-diagnostics-at-end-of-line?

When flymake-show-diagnostics-at-end-of-line is enabled, it makes
harder (for me) see where i am, especially when there are multiple errors in the
same or in multiple lines, it can be annoying, however using margins doesn't
cut text and it is easier to see where errors are.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]