From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix installed Emacs Date: Sun, 17 Apr 2016 11:23:28 +0300 Message-ID: <87twj0d4ov.fsf@gmail.com> References: <87potpj4w6.fsf@gmail.com> <877ffxixed.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]:50981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arhzR-0006To-42 for help-guix@gnu.org; Sun, 17 Apr 2016 04:23:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arhzM-0008Ex-4Q for help-guix@gnu.org; Sun, 17 Apr 2016 04:23:33 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:35803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arhzL-0008Ef-Sq for help-guix@gnu.org; Sun, 17 Apr 2016 04:23:28 -0400 Received: by mail-lf0-x244.google.com with SMTP id o124so22118906lfb.2 for ; Sun, 17 Apr 2016 01:23:27 -0700 (PDT) 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 20:59 +0300) wrote: > Alex, > > thank you so much for your help No problem :) [...] > 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 > =C2=A0'load > =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/share/= emacs/site-lisp/site-start.d" t "\\.elc?\\ > '")))) > (setq source-directory "/usr/share/emacs/24.5/") Aha, so it loads elisp files from that "site-start.d" directory. I wonder what files are placed there. Could you look and show their contents please? > and the Guix Emacs has > > (require 'guix-emacs nil t) Right, this is used to find emacs packages in "~/.guix-profile". So, for example, if you do "guix package -i magit", next time you run Guix's Emacs, it will automatically find magit package, so you can use "M-x magit-status" right away. > 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 line made the Guix > Emacs window exactly equal to the one of the Fedora Emacs ! OK, note that I used "Mono" font while you probably prefer just "DejaVu Sans". > Also the Fedora Emacs keeps being a bit brighter You know, I have another thought about this problem. Perhaps you use different versions of zenburn theme: like, for example, you installed one using Fedora (which is loaded when you run Fedora's Emacs), and also you installed another zenburn using Emacs package system (and it is loaded by Guix's Emacs). Could you look at 'load-path' variable ("C-h v load-path") and check if there are several ".../zenburn..." directories. Or better, look if zenburn is listed at "M-x list-load-path-shadows". Also check the value of 'custom-enabled-themes'. > But that's not that bad ! The showstopper was the tiny tiny > minibuffer OK, at least this is solved now :-) > And if that's a mistery to you, go figure what it is to me ;-) He-he :-) --=20 Alex