From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Flymake Support Indicator Errors in Margin Date: Sat, 06 Apr 2024 14:36:47 +0300 Message-ID: <86cyr23epc.fsf@gnu.org> 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: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4778"; 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: Elijah G Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 06 13:37:16 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 1rt4MF-0000wV-I1 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Apr 2024 13:37:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt4Ls-0007da-24; Sat, 06 Apr 2024 07:36:52 -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 1rt4Lq-0007Zt-Kp for emacs-devel@gnu.org; Sat, 06 Apr 2024 07:36:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt4Lq-0005V5-5s; Sat, 06 Apr 2024 07:36:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=5NA6T9V7gZAPnZc6LmCPjauZ7kz+KUIxDkIfIkqmLok=; b=S/dQ6uv1uQEzOm+yYGfP imvW21CBEO/fPFTOJd93a7ylIYpT2SNMZEqu1cTGC+U606LU61oymveDSCWxE84Ys8itmHvvrcQ2n POCXqlrOcVExvOj0Zk8n6dmvjm1pQjvujW5VjnLsIyYzmIlbCpfNAf9lbRahTfivlGedJXg16mq8B 1t611P4d3zK3aTrnXtEPhVsx7xDyGFt0Yyw/rX0kQjdTX+CSkPOVkLhn3RBV+0XDpwNkmcDEE1+PS kywUT9Hc2Jy5/mjKnlq6Rf/i8G0O7G52PUn0pD11lTSmz8X7N9pfMqZuRFiW0RHs4dAQ6HPa59pzb RP7UjbBJxDwHuw==; In-Reply-To: (message from Elijah G on Thu, 28 Mar 2024 11:34:23 -0600) 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:317569 Archived-At: > From: Elijah G > Date: Thu, 28 Mar 2024 11:34:23 -0600 > Cc: sbaugh@catern.com, sbaugh@janestreet.com, philipk@posteo.net, > emacs-devel@gnu.org, luangruo@yahoo.com > > On Thu, Mar 28, 2024 at 12:01 AM 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. As I wrote up-thread, I don't think we should adapt to HiDPI in this respect.