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: Silencing Emacs Warning about Fira Date: Fri, 8 Jul 2022 16:00:39 +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="14265"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 08 16:03:18 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 1o9oZg-0003T0-3x for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 16:03:16 +0200 Original-Received: from localhost ([::1]:54806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9oZe-0005O9-Rv for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 10:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9oXG-0005Mo-Tp for help-gnu-emacs@gnu.org; Fri, 08 Jul 2022 10:00:50 -0400 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:41586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9oXE-0003vD-Mp for help-gnu-emacs@gnu.org; Fri, 08 Jul 2022 10:00:46 -0400 Original-Received: by mail-wm1-x32b.google.com with SMTP id t17-20020a1c7711000000b003a0434b0af7so1141437wmi.0 for ; Fri, 08 Jul 2022 07:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=pj4N4shhYTJ059aWlWY2PFZY5nGQok8IFgsnZZ/YyZU=; b=E09SHTINqqeVmSIFfG2CfoxX55zdlBRdkt3Im7xKNnneWaSIW4gep/OBJQDcNYK4jY WkNSf3MjyaMSdBeocqtBOeLk7rhHEgTz6DN2ATUYTwfhBsOoEsk0gcMNwL1nkklcVELs hgSvMlnBsebGrrYwqf7rOCj0+7UYtl+kwA6ua6IZ+KG5dREZwHG7wOEkFTnZT00TaBMC o3JDty5E7A9DdqQVeauM++fQSJMD+A2dpUy954kipis1uwpI+NKv37LSVQjUtbOO0gl2 FUsZAcX4Ozb/poGwdpWWzs+B33ql7KN0kOPxzIslXalczdwc3GS5MsGrRcMeKzCKYU4+ 2iUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=pj4N4shhYTJ059aWlWY2PFZY5nGQok8IFgsnZZ/YyZU=; b=rJ40OFg8/PlQDrXQ+nYmBUR3eKO3a8S8yu9CXhx86F9UguRBJdxXjAMSem1oKf2JJP MIkK7/A26kStB6VLfAHSCGDDXCqLGulgImcIfrB93gGE/pVL4k2gNCQIISpxFdIFNE2u uMitWky2E8tx/tuxp9JnIabkoLcNEIwywRAWnjnZs4n6ACGUi8SxWe3P2iIhh7/1RtZg /jnUM5Y7JH3EGrmmssYCFjiaJQtDde810dU9s+lSnuM5TjvWl5U3Y8x/8McLzd8JZ2Mx Zawvkt3YcjnbKk2jRF07BbIRerAsMEKnsAoT8VuB7FJkJb9pipOSAPach7M100J7aQPg iygg== X-Gm-Message-State: AJIora8BTw1zHSfD0xGXvVQtqMdQG1SspGpCM+1d0/ugfvpRSMAY1JmG EzygCXkqmrKpwXmpWxMbKCTdqXN5wrbMtA== X-Google-Smtp-Source: AGRyM1s/Qhn7XhCf7MsNGO0qBScvRci8PWZf7rg8PZB4KvWcstraFR8Vw3gp7Flnne207h1cvcFmIQ== X-Received: by 2002:a05:600c:3d06:b0:3a2:c162:a9f4 with SMTP id bh6-20020a05600c3d0600b003a2c162a9f4mr10845014wmb.117.1657288841484; Fri, 08 Jul 2022 07:00:41 -0700 (PDT) Original-Received: from upali ([159.48.53.64]) by smtp.gmail.com with ESMTPSA id s1-20020a5d4ec1000000b0021004d7d75asm15075314wrv.84.2022.07.08.07.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 07:00:40 -0700 (PDT) Content-Disposition: inline Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=lorenzo.isella@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: 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:138379 Archived-At: Dear All, I run emacs on Debian stable. I use it both for writing code and to compose emails (I use mutt which invokes emacs when I want to reply and/or write an email). So far so good, but I have recently added a new part to my .emacs file (see below). ######################################################################### ;; (require 'fira-code-mode) ;; (custom-set-variable 'fira-code-mode-disabled-ligatures '("[]" "#{" "#(" "#_" "#_(" "x")) ;; List of ligatures to turn off ;; ;; Enable fira-code-mode automatically for programming major modes ;; (add-hook 'prog-mode-hook 'fira-code-mode) ;; ;; Or, you can use the global mode instead of adding a hook: ;; (global-fira-code-mode) ;; (require 'fira-code-mode) ;; install use-package from melpa and also fira ;; See https://github.com/jming422/fira-code-mode (use-package fira-code-mode :custom (fira-code-mode-disabled-ligatures '("[]" "www" "<-" "#{" "#(" "#_" "#_(" "x")) ;; List of ligatures to turn off :hook prog-mode) ;; Enables fira-code-mode automatically for programming major modes ;; (set-frame-font "FiraCode-Regular-Symbol") ############################################################## Once again, no issues here and I have some nice ligatures as intended. However, when I try to reply to an email via mutt and emacs is invoked, I always get this warning ################################################################# Warning (fira-code-ligatures): fira-code-mode probably won't work for non-graphical displays! ################################################################### and the buffer is split. It is not the end of the world, but it is just annoying. Since everything then works fine when I compose and send the email, how can I silence/get rid of this warning? Many thanks! Lorenzo