From: Alex Kost <alezost@gmail.com>
To: Catonano <catonano@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guix installed Emacs
Date: Sat, 16 Apr 2016 14:52:10 +0300 [thread overview]
Message-ID: <877ffxixed.fsf@gmail.com> (raw)
In-Reply-To: <CAJ98PDzgL_C8k6HVOMyN+_vuh7FWCLD4nqGGd270v42Pgr6+vQ@mail.gmail.com> (catonano@gmail.com's message of "Sat, 16 Apr 2016 13:17:19 +0200")
Catonano (2016-04-16 14:17 +0300) wrote:
> 2016-04-16 11:10 GMT+02:00 Alex Kost <alezost@gmail.com>:
>
> As Jean pointed most likely the problem with fonts happens
> because Emacs
> from Guix doesn't use fonts from your Fedora font dirs.
> Installing
> required fonts in your user profile will probably fix this
> issue. You
> can do it like this:
>
> guix package -i font-liberation font-dejavu ...
>
> The problem with less bright colors is very surprising for me.
> Apparently it is the same "custom theme" in both emacs-es, but it
> visibly differs. My only guess is: the theme you use defines
> different
> colors depending on a "class of terminal"/"number of available
> colors".
> But it's probably a bad guess, since it is the same gui emacs in
> both
> cases.
>
> What theme is it? Some derivation of "zenburn" maybe. Could you
> point
> to its source code please?
>
> This is it
> http://github.com/bbatsov/zenburn-emacs
OK, this theme shouldn't cause the difference in brightness, I think. I
have another guess. Does Fedora use "site-start.el"? If so, this file
is not loaded by Guix's Emacs, because it is placed somewhere in
/usr/share/... and Guix's Emacs doesn't look at this directory (also our
emacs uses its own "site-start.el" to load emacs packages installed in
"~/.guix-profile").
You can check if Fedora's Emacs uses "site-start.el" with this:
M-x find-library site-start
But actually I don't understand how the difference in brightness can
happen at all. This is a mystery for me.
> Ok, this is the Guix Emacs
[...]
> xft:-PfEd-DejaVu
> Sans-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#x56)
>
> Character code properties: customize what to show
> name: LATIN SMALL LETTER S
> general-category: Ll (Letter, Lowercase)
> decomposition: (115) ('s')
>
> There are text properties here:
> face variable-pitch
You can move the point to 'variable-pitch' button and press RET there to
find out if it has the same customization in both cases.
> And this is the Fedora Emacs
[...]
> xft:-PfEd-DejaVu
> Sans-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 (#x56)
OK, so Fedora's Emacs has a bigger font (19 against 13).
You can use something like this to set the font and its size:
(set-frame-font "DejaVu Sans Mono-15" nil t)
> But anyway, I made a little screenshot with Shutter just to make the
> difference between the minibuffers more evident
This should be fixed if you change the font size.
Another thing: I noticed that Guix's Emacs doesn't display some buttons
on the tool bar. This should probably (I'm not sure) be fixed by
installing some icon theme in your profile, for example
'adwaita-icon-theme'.
--
Alex
next prev parent reply other threads:[~2016-04-16 11:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 22:48 guix installed Emacs Catonano
2016-04-16 6:41 ` Jean Louis
2016-04-16 9:10 ` Alex Kost
2016-04-16 11:17 ` Catonano
2016-04-16 11:52 ` Alex Kost [this message]
2016-04-16 12:59 ` Jean Louis
2016-04-17 8:25 ` Alex Kost
2016-04-17 12:45 ` Catonano
2016-04-17 15:45 ` Alex Kost
2016-04-17 17:35 ` Catonano
2016-04-18 12:39 ` Catonano
2016-04-18 19:29 ` Alex Kost
2016-04-18 21:08 ` Catonano
2016-04-16 17:59 ` Catonano
2016-04-17 8:23 ` Alex Kost
2016-04-17 12:28 ` Catonano
2016-04-17 15:58 ` Alex Kost
2016-04-17 17:33 ` Catonano
2016-04-16 12:24 ` Ludovic Courtès
2016-04-16 18:14 ` Catonano
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=877ffxixed.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=catonano@gmail.com \
--cc=help-guix@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/guix.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.