From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix installed Emacs Date: Sat, 16 Apr 2016 14:52:10 +0300 Message-ID: <877ffxixed.fsf@gmail.com> References: <87potpj4w6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOlt-0007Fj-Ek for help-guix@gnu.org; Sat, 16 Apr 2016 07:52:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arOlo-00063h-FI for help-guix@gnu.org; Sat, 16 Apr 2016 07:52:17 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOlo-00063a-1s for help-guix@gnu.org; Sat, 16 Apr 2016 07:52:12 -0400 Received: by mail-lf0-x241.google.com with SMTP id o124so19966360lfb.2 for ; Sat, 16 Apr 2016 04:52:11 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Sat, 16 Apr 2016 13:17:19 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix@gnu.org Catonano (2016-04-16 14:17 +0300) wrote: > 2016-04-16 11:10 GMT+02:00 Alex Kost : > > As Jean pointed most likely the problem with fonts happens > because Emacs > from Guix doesn't use fonts from your Fedora font dirs.=C2=A0 > Installing > required fonts in your user profile will probably fix this > issue.=C2=A0 You > can do it like this: > > =C2=A0 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.=C2=A0 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?=C2=A0 Some derivation of "zenburn" maybe.=C2=A0 Cou= ld 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. > =C2=A0Ok, this is the Guix Emacs [...] > =C2=A0=C2=A0=C2=A0 xft:-PfEd-DejaVu > Sans-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#x56) > > Character code properties: customize what to show > =C2=A0 name: LATIN SMALL LETTER S > =C2=A0 general-category: Ll (Letter, Lowercase) > =C2=A0 decomposition: (115) ('s') > > There are text properties here: > =C2=A0 face=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 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 [...] > =C2=A0=C2=A0=C2=A0 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'. --=20 Alex