From: Lorenzo Isella <lorenzo.isella@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Silencing Emacs Warning about Fira
Date: Fri, 8 Jul 2022 16:00:39 +0200 [thread overview]
Message-ID: <Ysg4hwi47YcaO27Z@upali> (raw)
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
next reply other threads:[~2022-07-08 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 14:00 Lorenzo Isella [this message]
2022-07-08 17:26 ` Silencing Emacs Warning about Fira Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ysg4hwi47YcaO27Z@upali \
--to=lorenzo.isella@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.