From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: The relationship of settings for font in init.el and the one shown on "Pick a font" UI. Date: Wed, 6 Jan 2021 16:33:13 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17467"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 06 09:33:48 2021 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 1kx4GK-0004Qd-GM for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 09:33:48 +0100 Original-Received: from localhost ([::1]:59970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx4GJ-0008PO-Ie for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 03:33:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx4Fz-0008P4-K4 for help-gnu-emacs@gnu.org; Wed, 06 Jan 2021 03:33:27 -0500 Original-Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:44266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kx4Fy-0002Xa-1s for help-gnu-emacs@gnu.org; Wed, 06 Jan 2021 03:33:27 -0500 Original-Received: by mail-yb1-xb2f.google.com with SMTP id x2so2076140ybt.11 for ; Wed, 06 Jan 2021 00:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VrutU8FykLCzKJyBGCoShrdD2OX5QrDaH+xOE3ucVcA=; b=u7QDxqxcenS9DcaAe4+VX2FxZ1BDlBhrjrvwLlLIGn6S7kXklRVYzdWLY0wbG4gHJs Yduapeefydm8wzpC+9TZOHca/cw0Gs9cyqtG9QxuH8pmz0Bxy081Djh9VEpV5+EFQXlX Lq+rkU9sFXM4wjajzjLL+75HgKCmkAW73NdUpP7IkTYS/K4mIPPufddXAY8yxYmtqNLN cG+6t9tpBmg7mZNSiiArMwu5F1wTP6/ci4xEsaesYFAOrDcySLNrq8zCqdufSRAcww2d 6jHVUcb1s+9KZrkRvya8sHEKjEJeBpxcSz0NwE54AcGvDpKDSRXrq18Tjfrc+j6tTNrM Z1/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VrutU8FykLCzKJyBGCoShrdD2OX5QrDaH+xOE3ucVcA=; b=LK0OZgVSQFH/aIf7i+dKQDsL4PcjFxwQxBEWYb5TK1yGxrVnNQj9ADbBXXD0jImy90 Wx1nOlYWp/RlutmltKVx2foH0GnI+95cC4p4mBkIXrbN9Y8S9pLYr1xVqHE2IgrQ9BDa FvfzsT3i9wrDMK5qou/Ki2gvzqeM0Qrm5vwhexVtRDGqMmulhhS0PdV5Osz0sUZyjQ8G RBtl58AHOipRmu36ebEbdtoBOpisDsaSWp8D8s9U5sjb2OBoU8wja7APywWkr5a6SIS2 8dG0O++lh/Junj0KkVVgj0c1PRCvGtXGW4sZweCEPOdV1VWbFqqsXInSGn60UVr7LOEU cexg== X-Gm-Message-State: AOAM530BxYqY1DZLrYmhadESOO0YERthXNGoSoow3B3UM2uhHahrHxI9 kXXahW10qGcXYvoE1bV7Dvr9/Pfy0MDRhB8s3cMb6lMiS74nP8E/ X-Google-Smtp-Source: ABdhPJwnna2/iQEyl+r76sdCYDpkfofpxZJncvooEr/MWOvQolAzjCeb9OFEaJObwk23Ubjoqt1NiCHaKf60GfME7zo= X-Received: by 2002:a25:1e86:: with SMTP id e128mr4750330ybe.326.1609922004501; Wed, 06 Jan 2021 00:33:24 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2f; envelope-from=hongyi.zhao@gmail.com; helo=mail-yb1-xb2f.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:127014 Archived-At: On the "Pick a font" UI, I select the following font and then "Save Options": "DejaVuSansMono Nerd Font Mono Book" Then I noticed that emacs will generate the following settings in the init.el: (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "DejaVuSansMono Nerd Font Mono" :foundry "PfEd" :slant normal :weight normal :height 143 :width normal))))) I still can't find out the exact correspondence between the settings for font in init.el and the one shown on "Pick a font" UI. Any hints will be highly appreciated. BR, -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Technology engineering NO. 552 North Gangtie Road, Xingtai, China