From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lorenzo Isella Newsgroups: gmane.emacs.help Subject: (unknown) Date: Sat, 9 Jul 2022 15:53:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 09 15:55:01 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1oAAvF-0002aC-5Y for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 15:55:01 +0200 Original-Received: from localhost ([::1]:47012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAAvE-0003ek-16 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 09:55:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAAuH-0003dZ-Sr for help-gnu-emacs@gnu.org; Sat, 09 Jul 2022 09:54:01 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:45591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAAuG-0005Sf-9t for help-gnu-emacs@gnu.org; Sat, 09 Jul 2022 09:54:01 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id a5so1650897wrx.12 for ; Sat, 09 Jul 2022 06:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:cc:message-id:mime-version:content-disposition; bh=c7P+l6TWiD18ikJFT1SFEyKsm9iE0lKcWKr+fDYgNV8=; b=FdzHO8TOUgUL/EX7NGJB7WszEdOFvv+kpoSXM5qgeq5qt0sKIRhHDM3fHQwBMWRung Ur1B8yXZkApMU3OSvEjPPqWeCht12mplSnP97NiK1659ThPWlEisd3D8xLxYwTYbtKDe VtrZDDw3tPOSpwq+GH0+OJUtj91ETLvQWM6BBDG6RTTfY4JIQrDXeIq4s0cwnieDWthD MNVmiFaZgwUd+2KJgtQ3rC69lqK3mvOIXB7RBIFMUN9pFOvZLrAj6BGiL0M60JwuhJYm j3177Hb7OmLuLSeSYrX5UKwjixNXJcnNxu0yNCRvb1s4xq33OvXEBiDH+f1fLW0koalH rLGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:cc:message-id:mime-version :content-disposition; bh=c7P+l6TWiD18ikJFT1SFEyKsm9iE0lKcWKr+fDYgNV8=; b=qNUwj728dcxuU+JeO91BWJrtmmxBEPwr1R75vtSFN6pWkWailPeFXh2c+nHFmFA1wH yhJqZTPkELNzw1d4OL0qM/buqENu16979GS3DA8kEqAjZWRmyBHT50cVK4hXE8Pf04td iA+OK0aGMLdZd5EPtUaJMn/8KBJ3m4sHKU+NyZEWekD1xPTMmef6tNfeZNJaFFAROLLA Afmt6pp+PTa7qr7TdRJI5UKccWu8PD/1UMiEPW7oudIiAGqkAuwYOYjF0iw9fGeJrySg Hs+jByEBS/PE8pEmU2muX5q5rDKHsGTMRdhKGCaOV2gDPc6A/MWuiSUZAOh8uzYjFvC1 ozig== X-Gm-Message-State: AJIora+aGqbYZApHpqH5aBkW4fUqWFl2QelB2TxT2W+BfbZOcxEcat/m nxEK4vi3/ljmB121FzXUm1T8Ij00fjuRSw== X-Google-Smtp-Source: AGRyM1vbP99kLi2TRx2tlknsC/D2hdxV0aiQBTI0b6bT7yldHgq00pjHQT4h8IDX3wKpJkynF0f+iw== X-Received: by 2002:a5d:4c91:0:b0:21d:8293:66dc with SMTP id z17-20020a5d4c91000000b0021d829366dcmr8768883wrs.30.1657374832800; Sat, 09 Jul 2022 06:53:52 -0700 (PDT) Original-Received: from upali ([5.180.62.207]) by smtp.gmail.com with ESMTPSA id h15-20020a1ccc0f000000b0039c54bb28f2sm1574950wmb.36.2022.07.09.06.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jul 2022 06:53:51 -0700 (PDT) Content-Disposition: inline >Date: Fri, 08 Jul 2022 19:26:14 +0200 >From: Emanuel Berg >To: help-gnu-emacs@gnu.org >Subject: Re: Silencing Emacs Warning about Fira >Message-ID: <87fsjbbjnt.fsf@dataswamp.org> >Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=lorenzo.isella@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 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_FROM=0.001, MISSING_HEADERS=1.021, MISSING_SUBJECT=1.799, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138404 Archived-At: > >Lorenzo Isella wrote: > >> ;; See https://github.com/jming422/fira-code-mode > >Grep that for "non-graphical" and you get this: > >(unless (display-graphic-p) > (display-warning '(fira-code-ligatures) "fira-code-mode > probably won't work for non-graphical displays!")) > >So `display-graphic-p' returns nil for you, and truthfully so >I take it? > >If so, read the help for `display-warning' ... > >-- >underground experts united >https://dataswamp.org/~incal Thanks for taking the time to give some help. I understand that this is a warning which is (rightly) activated by the code at https://github.com/jming422/fira-code-mode Unfortunately, I do not know yet how to disable it. I would like to avoid tampering with the source code of fira. How do I read the help for `display-warning' ? I google it with emacs and I found a lot of hits (too many!) and M-x help on my emacs does not provide anything about the display-warning. Thanks! Lorenzo