all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "James K. Lowden" <jklowden@speakeasy.net>
To: help-gnu-emacs@gnu.org
Subject: Ubuntu font of wisdom
Date: Thu, 15 Dec 2016 17:43:58 -0500	[thread overview]
Message-ID: <20161215174358.9656c013f10b66d2c7e029ad@speakeasy.net> (raw)

$ cat /etc/debian_version 
stretch/sid
$ /usr/bin/emacs --version | grep 2[45]
GNU Emacs 24.5.1
$ /usr/local/bin/emacs --version | grep 2[45] 
GNU Emacs 25.1.1

I just upgraded emacs from source (see makefile below for steps)
because 25 is not packaged for Ubuntu 16.04.1 LTS.  Unfortuately, my
new version no longer has access to 

	DejaVu Sans Mono-10

which is what I usually use.  Since the old version is still installed
and still uses that font, I know it's still installed and available.
What I don't know is how to get Emacs to use it.  

On the old version, "describe-font" starts out this way:

name (opened by): -PfEd-DejaVu Sans
Mono-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 
	full name: DejaVu Sans Mono:pixelsize=13:....

I guess it's an outline font because xfontsel does not report it.  

My X server is XQuartz on macOS.  I usually display emacs remotely using
ssh X forwarding.  

Questions: 

1.  How to have version 24 report where it found its font? 
2.  How to configure version 25 the same way?

While I'm at it, the new version uses the ugly Motif-gray toolbar,
while the packaged version uses a much more attractive, colorful
toolbar (and puts the scrollabar on the right).  Is that a build
option, or a theme of some kind?  

A lot of the advice I've read in searching basically says how to
install fonts, and claims emacs will DTRT when that's done.  I have the
font, and it is accessible.  It's just not being accessed.  

Many thanks.  

--jkl

== Makefile (installation & build steps) ==
EMACS = emacs-25.1
SOURCES = /etc/apt/sources.list
TMPSRCS = /tmp/$(notdir $(SOURCES))
PATCH = $(TMPSRCS).diff
PKG.OPTIONS = --pkgname emacs --maintainer jkl --pkgversion 25.1


all: .checkinstall

.checkinstall: .update .build $(EMACS)/build/description-pak
        (cd $(EMACS)/build && sudo checkinstall $(PKG.OPTIONS))

$(EMACS)/build/description-pak:
        echo 'emacs is the new black' > $@

.update: .source-ok
        sudo apt-get -y update
        @touch $@

.source-ok: $(PATCH)
        sudo patch < $(PATCH) $(SOURCES)
        @touch $@

# apt update fails unless some sources are mentioned in sources.list 
$(PATCH): 
        test -f $(TMPSRCS).orig || cp $(SOURCES) $(TMPSRCS).orig
        chmod -w $(TMPSRCS).orig
        sed -E 's/^# deb-src/deb-src/' $(SOURCES) > $(TMPSRCS)
        diff -u $(TMPSRCS).orig $(TMPSRCS) > $(PATCH)~ || test $$? = 1
        mv $(PATCH)~ $(PATCH)

.build: .fetched
        mkdir -p $(EMACS)/build
        (cd $(EMACS)/build && nohup ../configure > log)
        (cd $(EMACS)/build && nohup make -j8 > log)

.fetched: $(EMACS).tar.xz
        pax -Jrf $^
        @touch $@

$(EMACS).tar.xz:
        wget http://ftp.gnu.org/gnu/emacs/$(EMACS).tar.xz

.build-dep: .pre-checkinstall
        sudo apt-get build-dep emacs24
        @touch $@

.pre-checkinstall:
        sudo apt install -y build-essential checkinstall
        @touch $@
== EOF ==


             reply	other threads:[~2016-12-15 22:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 22:43 James K. Lowden [this message]
2016-12-16 21:41 ` Ubuntu font of wisdom Javier
2016-12-17  5:29   ` James K. Lowden
2016-12-17  6:02     ` Dan Espen
2016-12-17 17:04       ` James K. Lowden
2016-12-17 17:53         ` Dan Espen
2016-12-17 18:59           ` James K. Lowden
2016-12-18 21:32     ` Tomas Nordin

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=20161215174358.9656c013f10b66d2c7e029ad@speakeasy.net \
    --to=jklowden@speakeasy.net \
    --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.