all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ken <gebser@mousecar.com>
To: help-gnu-emacs@gnu.org
Subject: Re: set-default-font
Date: Tue, 25 Aug 2020 16:38:16 -0400	[thread overview]
Message-ID: <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> (raw)
In-Reply-To: <83imd64luu.fsf@gnu.org>

On 8/25/20 2:32 PM, Eli Zaretskii wrote:
>> Date: Tue, 25 Aug 2020 21:27:59 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>>
>>> From: ken <gebser@mousecar.com>
>>> 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...")





  reply	other threads:[~2020-08-25 20:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 16:54 set-default-font ken
2020-08-25 17:13 ` set-default-font Stefan Kangas
2020-08-25 18:27 ` set-default-font Eli Zaretskii
2020-08-25 18:32   ` set-default-font Eli Zaretskii
2020-08-25 20:38     ` ken [this message]
2020-08-25 20:49       ` set-default-font 2QdxY4RzWzUUiLuE
2020-08-25 22:15         ` set-default-font ken
2020-08-26  5:44           ` set-default-font Eli Zaretskii
2020-08-27  1:59             ` set-default-font David Masterson
2020-08-27  4:03               ` set-default-font Eli Zaretskii
2020-08-27  4:47                 ` set-default-font David Masterson
2020-08-27  8:24                   ` set-default-font Eli Zaretskii
2020-08-28  2:07                     ` set-default-font David Masterson
2020-08-28  2:39                       ` set-default-font David Masterson
2020-08-28  6:43                         ` set-default-font Eli Zaretskii
2020-08-28 10:52                         ` set-default-font Robert Pluim
2020-08-28 23:38                           ` set-default-font David Masterson
2020-08-29  8:37                             ` set-default-font Robert Pluim
2020-08-26  5:42         ` set-default-font Eli Zaretskii
2020-08-26  5:40       ` set-default-font Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-10-02 18:13 bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Romain Francoise
2008-10-02 19:47 ` Dan Nicolaescu
2008-10-02 20:07   ` Romain Francoise
2008-10-02 21:14     ` Dan Nicolaescu
2008-10-03  1:04       ` set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon) Stefan Monnier
2008-10-03  7:22         ` set-default-font Glenn Morris

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=69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com \
    --to=gebser@mousecar.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.