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: Thu, 28 Mar 2024 11:34:23 -0600 Message-ID: References: <87r0gfajlh.fsf@posteo.net> <868r2mtjdk.fsf@gnu.org> <86msr19ipu.fsf@gnu.org> <864jd677qh.fsf@gnu.org> <87jzm0iza9.fsf@catern.com> <87cyrsitqw.fsf@catern.com> <871q7w4jn7.fsf@catern.com> <86y1a2hp3s.fsf@gnu.org> 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="32110"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@catern.com, sbaugh@janestreet.com, philipk@posteo.net, emacs-devel@gnu.org, luangruo@yahoo.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 28 18:35:17 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 1rptem-00086S-EJ for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Mar 2024 18:35:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpteD-0006nW-2u; Thu, 28 Mar 2024 13:34:41 -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 1rpteA-0006nM-Bt for emacs-devel@gnu.org; Thu, 28 Mar 2024 13:34:38 -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 1rpte8-0004xY-Ec; Thu, 28 Mar 2024 13:34:37 -0400 Original-Received: by mail-qt1-x841.google.com with SMTP id d75a77b69052e-4317aed91baso7253971cf.0; Thu, 28 Mar 2024 10:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711647273; x=1712252073; 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=TA6onF23YOhEAQrdflzXsOUOfDEAWG+ZZm2HK/x94VY=; b=jcVZQUk0BxuvoSh//KcCRaGVUm+rfyCzZDgLfZH3+vkoHtrO8Dv0dRJyuC1S5fof/I FWp7zCzQXvJj/05pzxigzNAulsV8xEZsRiqZJSmY9wfUsd0xYdEO8X31Jn3nImU3Om05 Iy1O0oeYXlPB3OsHlyByx1Ai892ZS353raylhk/n4l4MyyQECwpDEEaw57Rgk61iQuOi 1biJVxEozJ1Zqu8vB424WzqUCjYMcpeh6nksmeG3W+BQaKtOaGPVi2RG3DWy7fcFj6FV 1AGn9lSUqGSZcThtCkTLmdaizaQGMCuBembkRQMRld2g6+2b+vuZitvip4iKn7q7a2W5 eOAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711647273; x=1712252073; 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=TA6onF23YOhEAQrdflzXsOUOfDEAWG+ZZm2HK/x94VY=; b=RU+zeJSmb/3E/8bSD23QzdpfGRNvFDvv9qdxpvsRbqoJv9CifQqEF9AswU70a0K9ar zLFWuXRDyqdFYdhWQW2AJT6nDHqfz2JO9wTcxpAwkH3XFszc/bMXFDt6MFiWvgdmDvqb FUsPHqQIdT1jOf6QES0fobiOeQgiLfRAwk96Mlt5Sk46ajHk06rrhC81FoaC/CKY99Jv i9NWVBqEEufLedPtog8ZKa9R3fHiM5ZutVNnzLe0kbREkHGdARolGndNz9p787CoXfC3 UEKGrvN+aaz11skWV/Sq84k1OGkRMlVIk1MKeecxufPzc0SOu1Xo+y3klzm7TwzYdYOy 3U9g== X-Forwarded-Encrypted: i=1; AJvYcCXsvq+I/IirKIP9QkWLSzlOMMYWY5p5+Ug+N+kbjN+wW6hSOD+nRzWjSiHTXLedKQWmgtJRwKt7sKPIEsZobv4jr6Bz X-Gm-Message-State: AOJu0YxA40+qqKrEz00vBgLXRFoUKbxHFMpMzngRJBQ1SlMlig+ZbDMU 3ouKmxIRGuH+YUw9uILemyYi9oZAI8m0x/iaPAnkd7pau53Pov73mGSIcsV1lBF9n6H+VyJiV0h AseA6rhoXAkuEiYbxHPPlYuKGn07twh9z2oL6MQ== X-Google-Smtp-Source: AGHT+IFQJ3x+xqCjufvAFhZ740teIa4/TKY62G4rbSgOX7nVW1ymidlnDUVYZpIaPkctX005k47muPXxQgZc7DTuO80= X-Received: by 2002:a05:622a:4e0f:b0:432:2474:feef with SMTP id dh15-20020a05622a4e0f00b004322474feefmr3493081qtb.54.1711647273559; Thu, 28 Mar 2024 10:34:33 -0700 (PDT) In-Reply-To: <86y1a2hp3s.fsf@gnu.org> 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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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:317364 Archived-At: On Thu, Mar 28, 2024 at 12:01=E2=80=AFAM Eli Zaretskii wrote= : > > Sadly I couldn't find anything for detecting HDiPI frames, so the user > > must have to configure it. > > Can you explain the problem, and point me to the code which has to > deal with it? Sure, in this part of the code. > +(defcustom flymake-indicator-type (if (display-graphic-p) > + 'fringes > + 'margins) > + "Indicate which indicator type to use for display errors. I wanted to check if the frame is in HiDPI to automatically set to margins because fringes are so small in those screens. I don't know if emacs has an option to check if the frame is HiDPI, but I think it's better as it is if emacs will support fringes in HiDPI in any next release.