help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix installed Emacs


From: Catonano
Subject: Re: guix installed Emacs
Date: Sat, 16 Apr 2016 19:59:43 +0200

Alex,

thank you so much for your help

2016-04-16 13:52 GMT+02:00 Alex Kost <address@hidden>:

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 ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]