From: Catonano <catonano@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guix installed Emacs
Date: Sun, 17 Apr 2016 14:28:26 +0200 [thread overview]
Message-ID: <CAJ98PDyTr+q1nqqxO3nTw16OVXQsBD4S8vqfVff0kSX-5a4aCA@mail.gmail.com> (raw)
In-Reply-To: <87twj0d4ov.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3992 bytes --]
2016-04-17 10:23 GMT+02:00 Alex Kost <alezost@gmail.com>:
>
> [...]
> > 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/")
>
> 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?
>
Yes
$ ls /usr/share/emacs/site-lisp/site-start.d/
desktop-entry-mode-init.el git-init.el
$ cat /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el
(autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)
(add-to-list 'auto-mode-alist '("\\.desktop\\(\\.in\\)?$" .
desktop-entry-mode))
$ cat /usr/share/emacs/site-lisp/site-start.d/git-init.el
;; Git VC backend
(add-to-list 'vc-handled-backends 'GIT t)
(autoload 'git-status "git" "GIT mode." t)
(autoload 'git-blame-mode "git-blame"
"Minor mode for incremental blame for Git." t)
I was expecting something explaining the difference in the fotns sizes. But
that must be somewhere else
> > 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, ok, I get it
>
> > 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 !
>
> OK, note that I used "Mono" font while you probably prefer just "DejaVu
> Sans".
>
Note taken. Thanks
>
> > 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'.
>
For the Fedora Emacs
No Emacs Lisp load-path shadowings were found
For the Guix Emacs
/home/catonano/.emacs.d/elpa/dash-20151216.1315/dash hides
/home/catonano/.guix-profile/share/emacs/site-lisp/guix.d/dash-2.12.1/dash
/home/catonano/.emacs.d/elpa/dash-20151216.1315/dash-autoloads hides
/home/catonano/.guix-profile/share/emacs/site-lisp/guix.d/dash-2.12.1/dash-autoloads
/home/catonano/.guix-profile/share/emacs/site-lisp/guix-emacs hides
/gnu/store/95zc1fvm6dycmn0ahfcd61vq2yyr1b8v-emacs-24.5/share/emacs/24.5/site-lisp/guix-emacs
3 Emacs Lisp load-path shadowings were found
For both Emacses
"Its value is (zenburn)
Original value was nil"
Look, I installed zenburn with the Fedora Emacs packages machinery, before
even attempting to install Guix
It's in my .emacs.d folder and it's commong among the 2 Emacses
Rather, I'd come up with this hypothesis
The Fedora Emacs is buit against Gtk+ version 3.18.9
The Guix Emacs is built against Gtk+ version 3.18.2
So I read in the respective splash files
Maybe the slight difference in versions might explain the difference in
brightness ?
> And if that's a mistery to you, go figure what it is to me ;-)
>
> He-he :-)
>
I have at least an hypothesis now ;-)
[-- Attachment #2: Type: text/html, Size: 6044 bytes --]
next prev parent reply other threads:[~2016-04-17 12:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 22:48 guix installed Emacs Catonano
2016-04-16 6:41 ` Jean Louis
2016-04-16 9:10 ` Alex Kost
2016-04-16 11:17 ` Catonano
2016-04-16 11:52 ` Alex Kost
2016-04-16 12:59 ` Jean Louis
2016-04-17 8:25 ` Alex Kost
2016-04-17 12:45 ` Catonano
2016-04-17 15:45 ` Alex Kost
2016-04-17 17:35 ` Catonano
2016-04-18 12:39 ` Catonano
2016-04-18 19:29 ` Alex Kost
2016-04-18 21:08 ` Catonano
2016-04-16 17:59 ` Catonano
2016-04-17 8:23 ` Alex Kost
2016-04-17 12:28 ` Catonano [this message]
2016-04-17 15:58 ` Alex Kost
2016-04-17 17:33 ` Catonano
2016-04-16 12:24 ` Ludovic Courtès
2016-04-16 18:14 ` Catonano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ98PDyTr+q1nqqxO3nTw16OVXQsBD4S8vqfVff0kSX-5a4aCA@mail.gmail.com \
--to=catonano@gmail.com \
--cc=alezost@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.