From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Elijah G Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Flymake Support Indicator Errors in Margin Date: Sun, 17 Mar 2024 11:34:50 -0600 Message-ID: References: <87r0gfajlh.fsf@posteo.net> <868r2mtjdk.fsf@gnu.org> <86msr19ipu.fsf@gnu.org> <864jd677qh.fsf@gnu.org> <87jzm0iza9.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38070"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Spencer Baugh , joaotavora@gmail.com, philipk@posteo.net, emacs-devel@gnu.org To: bird Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 17 18:35:19 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rluPn-0009dA-6E for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Mar 2024 18:35:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rluPc-0006wQ-NQ; Sun, 17 Mar 2024 13:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rluPZ-0006wI-UD for emacs-devel@gnu.org; Sun, 17 Mar 2024 13:35:05 -0400 Original-Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rluPX-0005MB-9r; Sun, 17 Mar 2024 13:35:05 -0400 Original-Received: by mail-qt1-x841.google.com with SMTP id d75a77b69052e-42e323a2e39so32743051cf.1; Sun, 17 Mar 2024 10:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710696901; x=1711301701; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fHPXWVmIcTZ8h0a4iuDtLcn1UF4ufhQktxjW0I3md3A=; b=Vz+gRL/pobDs9R4AguXNd9EFEdTHfi+tSNPwDLv3v/IrdkD/dFoJaE4nH6gKsYEm1d I2ff7a0n1u52+VzDMGoUESgBdatnA/ooiSApVQte1JLnJFxIszDR+bHq0m4iHlgMaeW1 h5acvZJJ/FypRdknUSWOBE20qNGSvip0hG19v14SyN8SNh1jDUeOrNcSF7Ed9NqTT6BL cnS+IjddffKt+ai9XYQgaSqNFwwy4esIhtGJ+Nf+TWVGIhc9k8tKWPw5i4JeBkvurjcM xqEl6WaTiK/Zgywu4RnanuGnSx/f7mNZHxnblFJfPqXoEkjsdyMGikUrdGaafiI9l5FO ur3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710696901; x=1711301701; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fHPXWVmIcTZ8h0a4iuDtLcn1UF4ufhQktxjW0I3md3A=; b=MKWrPX5eipaCltvf6prT+lRXSCBxyhXWLgjdXbQXT6UyK7Im/LmYKGbQ/TTFTOc4jg ar+MZceWmW/xrjEh4txIs1bNqXifbDWvMxCIza4eV2KmYvwNySERQv1zuUbhtV2bq8qm adpx/jYtEc3PaMxHy8J91rN8Mz1d+lvO484OWsuH+JUBwpvIUoMAiMDIY+b/cWcPYVZA ypNVUNUOK4d8H1+SlCMYlwT9MGLbkStyvhD33047P7D5p2Afq8y8PJRFHYrgJ765pCfQ 7Vbn8yCc89RtlTr/zF7zBOkdXtm9vT7azzzEc66KKdJAlO8NWigWXnXpYgJKKvXLeUi4 RVVQ== X-Forwarded-Encrypted: i=1; AJvYcCW5PLh71by6dwB0Hj6/94Sw5MwVcBhYJZ5TEA4aCBCFXa6F628ngfizcMFuzDGNN7/XOSQhJnidvxCnokC6YzaK8lZ3 X-Gm-Message-State: AOJu0YxaywP92WRVSQB3H5szsROjdSl/HCsia4wud1EA/1G9MgZqfcgl NKQLLuMoRxnK4wwD1k+5XJxERVAz+vXEIlhptF3floMTR0kUiuKdEDPy/HhWc4Fv5P9QneXn08Q Hs0Pg7NII+Ftcobr/w33qF9c3BOc= X-Google-Smtp-Source: AGHT+IFwwkZ4iKDjS36IaEBSfbvjE1efaEoovsxlyIyaCVhPMBJxjHhffSkq9DhqNxg2KslsmIeBeFT0jtmjWMHZVRY= X-Received: by 2002:a05:622a:1307:b0:42e:f660:8001 with SMTP id v7-20020a05622a130700b0042ef6608001mr21363432qtk.11.1710696901108; Sun, 17 Mar 2024 10:35:01 -0700 (PDT) In-Reply-To: <87jzm0iza9.fsf@catern.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::841; envelope-from=eg642616@gmail.com; helo=mail-qt1-x841.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317142 Archived-At: On Sun, Mar 17, 2024 at 10:44=E2=80=AFAM bird 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, especial= ly 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 i= n 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.