From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: guix installed Emacs Date: Sat, 16 Apr 2016 13:17:19 +0200 Message-ID: References: <87potpj4w6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113946544be726053098459e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOE5-0005yf-Ko for help-guix@gnu.org; Sat, 16 Apr 2016 07:17:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arOE4-0006h9-15 for help-guix@gnu.org; Sat, 16 Apr 2016 07:17:21 -0400 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:33238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOE3-0006gy-Qo for help-guix@gnu.org; Sat, 16 Apr 2016 07:17:19 -0400 Received: by mail-io0-x232.google.com with SMTP id o126so157386739iod.0 for ; Sat, 16 Apr 2016 04:17:19 -0700 (PDT) In-Reply-To: <87potpj4w6.fsf@gmail.com> 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: Alex Kost Cc: help-guix@gnu.org --001a113946544be726053098459e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable guys, thank you so much for your attention 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. 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 version: 20160117.1119 Archive: n/a > > Do you get 752 after evaluating this: "M-: (length (defined-colors))" ? > This is it (in both Emacses) 752 (#o1360, #x2f0, ?=CB=B0) > > You can press "C-u C-x =3D" on any fontified character and look what face > it is and compare how it is customized/themed for both emacs-es (also > with "C-u C-x =3D" you can see what font is used by Fedora's Emacs) Ok, this is the Guix Emacs position: 283 of 860 (33%), column: 30 character: s (displayed as s) (codepoint 115, #o163, #x73) preferred charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x73 script: latin syntax: w which means: word category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #x73 file code: #x73 (encoded by coding system utf-8-unix) display: by this font (glyph code) 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 help-echo [Show] And this is the Fedora Emacs position: 235 of 883 (27%), column: 35 character: s (displayed as s) (codepoint 115, #o163, #x73) preferred charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x73 script: latin syntax: w which means: word category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #x73 file code: #x73 (encoded by coding system utf-8-unix) display: by this font (glyph code) xft:-PfEd-DejaVu Sans-normal-normal-normal-*-19-*-*-*-*-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 help-echo [Show] But anyway, I made a little screenshot with Shutter just to make the difference between the minibuffers more evident Fedora on the left side, Guix on the right side http://picpaste.com/ShutterMade.png --001a113946544be726053098459e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
guys,

thank you so much for your attenti= on

2016-04-16 = 11:10 GMT+02:00 Alex Kost <alezost@gmail.com>:

As Jean pointed most likely the problem with fonts happens because E= macs
from Guix doesn't use fonts from your Fedora font dirs.=C2=A0 Installin= g
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 differen= t
colors depending on a "class of terminal"/"number of availab= le 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= Could you point
to its source code please?

version: 20160117.11= 19
Archive: n/a

=C2=A0

Do you get 752 after evaluating this: "M-: (length (defined-colors))&q= uot; ?

This is it (in both Emacses)
= 752 (#o1360, #x2f0, ?=CB=B0)

=C2=A0

You can press "C-u C-x =3D" on any fontified character and look w= hat face
it is and compare how it is customized/themed for both emacs-es (also
with "C-u C-x =3D" you can see what font is used by Fedora's = Emacs)

=C2=A0Ok, this is the Guix Emacs
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 position= : 283 of 860 (33%), column: 30
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 character: s (displayed as s) (codepoint 115, #= o163, #x73)
=C2=A0=C2=A0=C2=A0 preferred charset: ascii (ASCII (ISO646 I= RV))
code point in charset: 0x73
=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 script: latin
=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= syntax: w =C2=A0=C2=A0=C2=A0 which means: word
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 category: .:Base, L:Left-t= o-right (strong), a:ASCII, l:Latin, r:Roman
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to input: type "C-x 8 RE= T HEX-CODEPOINT" or "C-x 8 RET NAME"
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 buffer code: #x73
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 file code: #x73 (encode= d by coding system utf-8-unix)
=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 display: by this font (glyph code)<= br>=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 (L= etter, 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-pi= tch
=C2=A0 help-echo=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 [Show]



And this is the Fedora Ema= cs

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 position: 235 of 883 (27%), column: 35
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 character: s (displayed as s)= (codepoint 115, #o163, #x73)
=C2=A0=C2=A0=C2=A0 preferred charset: asci= i (ASCII (ISO646 IRV))
code point in charset: 0x73
=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 script: = latin
=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 syntax: w =C2=A0=C2=A0=C2=A0 which means: word
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 category= : .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to input: t= ype "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 buffer code: #x73=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 file co= de: #x73 (encoded by coding system utf-8-unix)
=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 display: by this fon= t (glyph code)
=C2=A0=C2=A0=C2=A0 xft:-PfEd-DejaVu Sans-normal-normal-no= rmal-*-19-*-*-*-*-0-iso10646-1 (#x56)

Character code properties: cus= tomize 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
=C2=A0 help-echo=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [Show]


But anyway, I m= ade a little screenshot with Shutter just to make the difference between th= e minibuffers more evident

Fedora on the left side, Guix = on the right side
http:/= /picpaste.com/ShutterMade.png
--001a113946544be726053098459e--