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 16:38:16 -0400 Message-ID: <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> References: <855b886e-8bb5-caad-ebc5-4f14b7da5765@mousecar.com> <83k0xm4m34.fsf@gnu.org> <83imd64luu.fsf@gnu.org> 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="21099"; 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 Tue Aug 25 22:38:39 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 1kAfiJ-0005NA-4I for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 22:38:39 +0200 Original-Received: from localhost ([::1]:37422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAfiI-0003dv-5P for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 16:38:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAfi0-0003dn-9g for help-gnu-emacs@gnu.org; Tue, 25 Aug 2020 16:38:20 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:49553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAfhy-0007bT-MF for help-gnu-emacs@gnu.org; Tue, 25 Aug 2020 16:38:20 -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 1Md62J-1kkHRS1XfP-00aH76 for ; Tue, 25 Aug 2020 22:38:17 +0200 In-Reply-To: <83imd64luu.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:Xbi5vL7VxYF7x/6WLclDbF5ucnPeN08zXdR0aa5fIvId8yIrWHj nvJPCITTapedgUro6dTF1YHNfnkLhw1F0pr88JX52UHxyDeQah7PwMQTXrk4mV7y8YrwFKd hKINNb3zTBMdinajjNrG3gBKp10qEciSSYNhp3x1KxXE0EnCIbmqJaBtEPZsvKXKpPp/35D 80FK5T25TPn1GgrwKrH/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:7cvxJmAYYqM=:efksgW23wCKHVKUFclEPZL aI9KWgoEE56OWAOLlufn+8/O3YldwaYpk+bAae/ut+xBFKHSqDe+KY7F3ZYExO9UokCrYAotc jtq1pnug1m8VUNzPw7FP1SRV8Le5Zfr5Yxf2j2az9ECsGi2nK0wyVy6yePSNUslZGxVisK8HY ml6RzjwjaHfbCxIkgov5sonDOOSSQGTmEzMEl8Ydg6iKl4KnJGefxWgc37aZTKkShywTgCNPG AfM6J/8nN25WoyfJ90aaJudmSIS0WXwR8NueErSX4yj7bitF3Zdo3kfA1xCHcywbJ6Mctomwe LmEV8+qX+BR7KUAMvddwCGir9s23ayXKyQW8LMer9ceXwZuVV72HPbw9RJ7Njutmf1VCLPdzg FRhraerdNVwGWBeE4ZmZQIC3GQxS8t/YkLaU3hvRr8ZaMqGPF5U5VNAgrWeZrPkaE7EMU+qmh 1l9qrl7jzenDe6fD2y1dauHrj1Ih+dGZF5vqCRixyaFTX4W+3Bj0f8R0pklwSrNzwONotTlvF XrC+Nsdqjl8biNJDDAfj59oSictvrDJrAgQMVuBLDfknEHZx7ZK2CZkrpRrPsD9z7KNlDJGup GXvfoawtk8E3F7uS8kmuyMvbSrECgncxJ71dncFFuJ1yuK/qiKHnD0J07VJNL7PTvUG9Veo8X tLLzUFTmmW/gtTWTS+h4nx/cZBWnkRtxLdq7FKoPy2QcbVWzhccp5YYitaAl3lgX1P6F8uX+i fD9SV27CmMr9D269xxYJqryAwt6iKirSJuTpEvf/cHpCvB7tzA1VijGIcmMt8PQrFd4dUU7e Received-SPF: none client-ip=74.208.4.196; envelope-from=gebser@mousecar.com; helo=mout.perfora.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/25 16:38:17 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_H2=-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:123765 Archived-At: On 8/25/20 2:32 PM, Eli Zaretskii wrote: >> Date: Tue, 25 Aug 2020 21:27:59 +0300 >> From: Eli Zaretskii >> >>> From: ken >>> Date: Tue, 25 Aug 2020 12:54:09 -0400 >>> >>> In my ~/.emacs (version 27.1-1.1.x86_64, I believe) I have a function >>> containing >>> >>> set-default-font "-*-*-regular-r-*-*-*-180-*-75-*-*-iso8859-1") >> This setting is redundant, because Emacs does that by default. I >> suggest that you simply delete it, you shouldn't see any difference. It's part of a larger function, so that I can change the font size (small, medium, large) from a menu. > Or, if you did that to get a larger font, use set-face-attribute > instead to request a larger font without specifying it in XLFD format > (which requires too much information you don't want to provide). > Changing to:   (set-face-attribute "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard") errors out.  This is from *Backtrace*: Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1)   set-face-attribute("-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-st...")