From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: set-default-font Date: Tue, 25 Aug 2020 18:15:41 -0400 Message-ID: <82c7689a-18c8-4a3d-9291-468c18621774@mousecar.com> References: <855b886e-8bb5-caad-ebc5-4f14b7da5765@mousecar.com> <83k0xm4m34.fsf@gnu.org> <83imd64luu.fsf@gnu.org> <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> <20200825204907.GF3788@scrozzle> Reply-To: gebser@mousecar.com 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="730"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 00:16:45 2020 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 1kAhFF-000Adm-3N for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 00:16:45 +0200 Original-Received: from localhost ([::1]:48082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAhFE-0003qE-5Z for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 18:16:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAhEI-0003SK-Rr for help-gnu-emacs@gnu.org; Tue, 25 Aug 2020 18:15:46 -0400 Original-Received: from mout.perfora.net ([74.208.4.194]:56751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAhEG-0002ie-8t for help-gnu-emacs@gnu.org; Tue, 25 Aug 2020 18:15:46 -0400 Original-Received: from [192.168.0.17] ([96.27.75.237]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MVMmB-1k1AjZ2BDb-00SKtx for ; Wed, 26 Aug 2020 00:15:42 +0200 In-Reply-To: <20200825204907.GF3788@scrozzle> Content-Language: en-US X-Provags-ID: V03:K1:8J0TBdX9dmPM97RTjgie7cUfPmisngR99OBvZgRwIUe/4kwUsGM SmU23EBGDqXVIvL6hovNtu7+8L3H3kqFUa+uWbJVlJ0tXXnZkJJN9QO2dxvKlpa4ScZDdY9 pMkBv5It89jM+SYJrXawhH78AfXtP2dIv/MwmmbcKZ94cLDVmwP278pE+kqtNWUip6GeMUJ YzYASvnR5uIJFplRbz3QA== X-UI-Out-Filterresults: notjunk:1;V03:K0:/0LNrgr2xxo=:GtUTjNYw+JWLCAIGMQ6M7R ctEEqf52Q99jFRm+UuqBdI+wEopSZ7jR1UXzFohieLA3DQdpTWEQhuUn8ngKCk8E1/cwmtyMK 5dlFGoiwetoZRQknt+sreomI5+YKIMtA7Lyyjonpkru2W/cdLSvD3IgGlH+WtDR0EjgBvq9GT k3KOQzNB/nuiJYCNw0zsF6rQ5dTgzZP+JZrkIrGQFWKf0Hg+k56QQ0IXIo+D7QsD90ZH39Nm5 JJmxeDqlylw+OYwVliTkidbK+IpgBb1J4faEOKX4+YFXV7IJLIapXs4FFXbt73P1w+N9vXM1M 3cqJXxILEzLa2egZ+XOxG3a0ImU3Fq+ZEExkjDbvOI1PtMLt7O0XjED2QT8BuEYPHwkXW1bAp 18iYbpqrBKFoLOBgnjcn0wKYqLi89BnpEodlOuIYNITrIjzCf6IunHRu2nSu/hFiwHn3S8sRi M7X+VLR2blqnwaSYO48RP6QLMW2oY490m7rmo2CShcBbayphrks4ebRmVrD8SXF3T3y7hgDY2 czG3kUOquFAdN9q00I9E6xWrszdR0E0owAMGOHlxw7Td55FIsj1KuQu/MICo4UezwAbXSol/A QuMqnaWVcL+ZAWSObrRtP1WPj3jwNOuw07zFhRhgDpNeeJNuBC7ZZPjoAH3cSMaqiCf8flCdv o/5IeXd19edTj8gJ58ajZ1XAXdaLKntTaDK4oa7bCIwb/JGo8wzVUxYql7mIxhv1dFYpYRLJu WN139/29YO/sfsamtLDfvtNXPtqxb+hOYEXACXZ4TrJxtEmuWdZ0QLp+fSZrJEWr4mLI3rR9 Received-SPF: none client-ip=74.208.4.194; envelope-from=gebser@mousecar.com; helo=mout.perfora.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/25 18:15:42 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-2.602, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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:123767 Archived-At: On 8/25/20 4:49 PM, 2QdxY4RzWzUUiLuE@potatochowder.com wrote: > On 2020-08-25 at 16:38:16 -0400, > ken wrote: > >> Changing to: >> >>   (set-face-attribute >> "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard") >> >> errors out.  This is from *Backtrace*: > Try something like this instead: > > (set-face-attribute 'default nil :font "DejaVu Sans Mono-12") > > You can see how to call set-face-attribute in its help page, usually > accessible by C-h f set-face-attribute . Thanks.  Good page.  That helped me formulate the coding below.  And in it the variable value "normal" should be acceptable, but emacs doesn't like it for some reason (see below).*  Perhaps my syntax is off somewhere? > Thanks much, but that gives the same error as in my previous email. So I tried this instead: (set-face-attribute 'default nil :family "alegreya" :foundry "misc" :slant "normal" :weight "normal" :height 258 :width "normal") It works, but throws an error: Wrong type argument: symbolp, "normal" Prior to this I tried the same, but without quotes around the three instances of "normal" -- that didn't work at all. Another problem is that the resulting font is too small, but changing "258" to e.g. "358" doesn't change anything.  How can I find out an appropriate specification? Thanks again. * I was going to say more about this, but emacs crashed.