From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: guix installed Emacs Date: Sat, 16 Apr 2016 19:59:43 +0200 Message-ID: References: <87potpj4w6.fsf@gmail.com> <877ffxixed.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1139465462696f05309de417 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arUVV-0008Bt-DP for help-guix@gnu.org; Sat, 16 Apr 2016 13:59:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arUVT-0000ut-Vi for help-guix@gnu.org; Sat, 16 Apr 2016 13:59:45 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:33082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arUVT-0000up-Ou for help-guix@gnu.org; Sat, 16 Apr 2016 13:59:43 -0400 Received: by mail-io0-x236.google.com with SMTP id o126so162525357iod.0 for ; Sat, 16 Apr 2016 10:59:43 -0700 (PDT) In-Reply-To: <877ffxixed.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 --001a1139465462696f05309de417 Content-Type: text/plain; charset=UTF-8 Alex, thank you so much for your help 2016-04-16 13:52 GMT+02:00 Alex Kost : > > 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 > Yes, the Fedora Emacs has this site-start ;;; loaded before user's ".emacs" file and default.el ;; load *.el and *.elc in /usr/share/emacs/site-lisp/site-start.d on startup (mapc 'load (delete-dups (mapcar 'file-name-sans-extension (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.elc?\\'")))) (setq source-directory "/usr/share/emacs/24.5/") and the Guix Emacs has (require 'guix-emacs nil t) > > But actually I don't understand how the difference in brightness can > happen at all. This is a mystery for me. > > > 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. > This is the same for both Emacses Face: variable-pitch (sample) (customize this face) Documentation: The basic variable-pitch face. Defined in `faces.el'. Family: Sans Serif Foundry: unspecified Width: unspecified Height: unspecified Weight: unspecified Slant: unspecified Foreground: unspecified DistantForeground: unspecified Background: unspecified Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Inherit: unspecified [back] > > > 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) > you were spot on on this ! In fact evaluating this line made the Guix Emacs window exactly equal to the one of the Fedora Emacs ! > > > 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. > Right ! Even the minibuffer now is reasonably large and readable ! > 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'. > > I installed this adwaita thing but the icons keep not being there Also the Fedora Emacs keeps being a bit brighter But that's not that bad ! The showstopper was the tiny tiny minibuffer And if that's a mistery to you, go figure what it is to me ;-) Thanks for your help ;-) --001a1139465462696f05309de417 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Alex,

thank you so much for your help

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

OK, this theme shouldn't cause the difference in brightness, I t= hink.=C2=A0 I
have another guess.=C2=A0 Does Fedora use "site-start.el"?=C2=A0 = 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 (als= o our
emacs uses its own "site-start.el" to load emacs packages install= ed in
"~/.guix-profile").

You can check if Fedora's Emacs uses "site-start.el" with thi= s:

=C2=A0 M-x find-library site-start

Yes,= the Fedora Emacs has this site-start

;;; loaded before user's &= quot;.emacs" file and default.el

;; load *.el and *.elc in /usr= /share/emacs/site-lisp/site-start.d on startup
(mapc
=C2=A0'load<= br>=C2=A0(delete-dups
=C2=A0 (mapcar 'file-name-sans-extension
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (directory-files
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "/usr/sha= re/emacs/site-lisp/site-start.d" t "\\.elc?\\'"))))
(= setq source-directory "/usr/share/emacs/24.5/")



and the Guix Emacs has

(require 'guix-emacs nil t)<= br>


=C2=A0

But actually I don't understand how the difference in brightness can happen at all.=C2=A0 This is a mystery for me.

> 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.

This is the same for both Emacses

Face: variable-p= itch (sample) (customize this face)

Documentation:
The basic vari= able-pitch face.

Defined in `faces.el'.

=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Family: Sans Serif
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Foundry: unspecified
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Width: u= nspecified
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = Height: unspecified
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Weight: unspecified
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 Slant: unspecified
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Foreground: unspecified
DistantForeground: unspecified
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Background: unspecified
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Underline: unspecified
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Overline: unspecified
=C2=A0=C2=A0 Strike= -through: unspecified
=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 Box: unspecified
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Inverse: unspecified
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Stipple: unspecified
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Font: unspecif= ied
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Fontset: unsp= ecified
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Inherit: = unspecified

[back]

=C2=A0

> 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:

=C2=A0 (set-frame-font "DejaVu Sans Mono-15" nil t)

you were spot on on this ! In fact evaluating this l= ine made the Guix Emacs window exactly equal to the one of the Fedora Emacs= !
=C2=A0

> 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.

Right ! Even the minibuffer now is reasonably large and readable ! <= br>

Another thing: I noticed that Guix's Emacs doesn't display some but= tons
on the tool bar.=C2=A0 This should probably (I'm not sure) be fixed by<= br> installing some icon theme in your profile, for example
'adwaita-icon-theme'.


I installed this adwaita thing but the icons keep not being there

=
Also the Fedora Emacs keeps being a bit brighter

But that's not that bad ! The showstopper was the tiny tiny minibuff= er

And if that's a mistery to you, go figure what it = is to me ;-)

Thanks for your help ;-)
--001a1139465462696f05309de417--