all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson92630@outlook.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: set-default-font
Date: Wed, 26 Aug 2020 21:47:54 -0700	[thread overview]
Message-ID: <SN6PR01MB44938E946496C98378AC81B99B550@SN6PR01MB4493.prod.exchangelabs.com> (raw)
In-Reply-To: <838se03fcg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Aug 2020 07:03:27 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: David Masterson <dsmasterson92630@outlook.com> Cc:
>> help-gnu-emacs@gnu.org Date: Wed, 26 Aug 2020 18:59:35 -0700
>> 
>> set-default-font is the only command in the standard "Options" menu
>> for Emacs and, therefore, the one most likely to be used.  It seems,
>> though, that set-default-font has different forms depending on how
>> Emacs is compiled.  I suspect (but would like to know more) that it
>> has one form if compiled with the X libraries and another without X.
>> The form with X (for me) put an X box for "Font Menu" with only 3
>> options (Misc, Courier, and Fontset) which I can't figure how to use.
>> The form without X seemed to put up a dialog box that allowed you to
>> pick fonts while seeing examples of the font which was much easier.
>> 
>> I'm not a fonts person, so it's difficult for me to figure out the
>> best way of compiling Gnu Emacs 26.3 to make the most of fonts.
>> 
>> Any help?
>
> I don't think I understand what exactly are you asking.  You started
> by describing the menu for selecting the default font, but ended by
> asking a much more general question regarding building Emacs.  I don't
> see the connection, because the default build of Emacs on any platform
> always makes the most use of the available fonts on that platform.
>
> I also don't understand what does "without X" mean in this context.
>
> And finally, your description of what menu-set-font (the menu item in
> "Options" -> "Set default font") does is AFAIK inaccurate: the "easy"
> font selection dialog should pop when the x-select-font function is
> available, whereas your description seems to indicate to the contrary.
>
> So I'm confused by the question and the details you described.

I think I understand your confusion -- forgive me for being imprecise as
I don't understand fonts within Emacs very well.

First, I had been using a prebuilt Emacs v26.3 on Debian
(Chromebook). I'm not sure how that version was built, but
set-default-font did popup an easy font selection that (to me) made
sense.  I could scroll through (lots of) available with an example of
what the font would look like before I chose the font.

Second, I had a problem with the prebuilt and thought I'd try building
Emacs myself.  After getting the needed libraries built, it built and
works fine.  The main difference is that set-default-font seems to have
completely changed to a popup for "Font Menu" with 3 items (Misc,
Courier, and Fontset).  I don't believe have courier fonts loaded, so
I'm not sure why thats there.  All 3 items have submenus with no
examples of the fonts.  I think this is a Lucid style popup.  This is my
configuration for Emacs (no options given to the configure script):

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    ../emacs-26.3
  What compiler should emacs be built with?               gcc -g3 -O2
  Should Emacs use the GNU version of malloc?             no (only before dumping)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 yes
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 no
  Does Emacs use imagemagick (version 6)?                 no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               yes
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs use -lsystemd?                               yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes

Question is -- what happened to the "easy" font menu?
--
David Masterson



  reply	other threads:[~2020-08-27  4:47 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     ` set-default-font ken
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                 ` David Masterson [this message]
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=SN6PR01MB44938E946496C98378AC81B99B550@SN6PR01MB4493.prod.exchangelabs.com \
    --to=dsmasterson92630@outlook.com \
    --cc=eliz@gnu.org \
    --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.