unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Niall Dooley <dooleyn@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: Help-Guix@gnu.org
Subject: Re: Package Installation Queries
Date: Thu, 9 Feb 2017 22:36:54 +0100	[thread overview]
Message-ID: <CADS3Lq6UW38wtyMWvY8d_a0G3RcYu2_Sc2he3ZGqurxYGjMy-w@mail.gmail.com> (raw)
In-Reply-To: <87a89wz9qx.fsf@gmail.com>

On 8 February 2017 at 21:51, Alex Kost <alezost@gmail.com> wrote:
>
> Niall Dooley (2017-02-08 17:24 +0100) wrote:
>
> > Firstly, I'm an aspiring programmer/hacker and I've gone straight
> > into the deep end with trying to learn GNU/Linux, Emacs etc. I'm also
> > new to Guix and this community so excuse my ignorance.
>
> Hello and welcome!

Thank you.

> > I've installed Guix as a package manager on the Trisquel 7
> > distribution of GNU/Linux running on a (Minifree) Libreboot X60s. I
> > believe it was successful. Hoping to transition to GuixSD at some
> > point and would be grateful to hear if others have had success with
> > this. Anyway,...
> >
> > I proceeded to install Emacs, Geiser, Magit (subsequently removed),
> > the Source Code Pro (SCP) font, GNU Stow, Git for now and for which I
> > have a number of perhaps trivial queries. A limited search on the
> > list archives turned up nothing so forgive me if these queries have
> > been covered elsewhere.
>
> No problem, this mailing list was created for such questions.
>
> > (1) When I installed magit, v2.8.0 was installed instead of the
> > v2.10.1 listed on hydra. Is this a bug or an error on my part?
>
> You probably didn't run "guix pull", so you installed the old magit (and
> you will continue to install the old packages until you run "guix pull").

I see but how often does one need to run 'guix pull' to ensure they install
the latest available packages. Running it now installs guix as explained in
the manual but it doesn't explain how often one needs to run it.

> > (2) In terms of Emacs, do fellow Guix users install all packages via
> > Guix instead of the traditional ELPA, MELPA route. I suspect they do
> > as I guess that is the point.
>
> Well, I don't, because currently Guix does not have all the emacs
> packages I use (but it's my fault that I didn't package them :-)), so I
> use some packages from Guix and some from… other places.

This will be true for me too. It's also an area I thought I could help with
in the future.

> > But I ask for advice as my 'pre-guix'
> > emacs config makes heavy use of the use-package macro installing all
> > third party packages to ~/.emacs.d/elpa . I guess I could add the
> > 'guix-emacs' site-lisp directory for each guix installed package to
> > the load-path specifying this in each specific use-package package
> > declaration. Is that what others do?
>
> No, if you use Emacs from Guix ("guix package -i emacs"), you will not
> have to add all those site-lisp directories as Guix's Emacs is patched
> to find and autoload the packages there automatically.

Ok, that should simplify things.

> I think use-package is completely unrelated to this question.  It's not
> "use-package" that installs into "~/.emacs.d/elpa", it's an in-built
> Emacs package system (aka "package.el"), "use-package" does not perform
> any installation by itself.

Yes, you're right and what I wanted to say.

> You can still use Emacs from Guix and use "use-package" from MELPA
> if that's your concern.  You don't need to adjust your emacs config for Guix
> at all.

This is good to hear.

> > (3) Before installing Guix I used SCP as my font for Emacs. However,
> > following the installation of SCP via Guix some unicode glyphs are
> > not rendered correctly as they were before. Note, I did a fresh
> > install of my foreign distro before installing Guix and did not
> > re-install SCP on it. Is there further steps I need to perform to
> > have these unicode glyphs rendered correctly?
>
> What unicode symbols are not displayed correctly for you?  If I
> understood correctly, SCP is a font and you installed it with Guix,
> right?  What name does this (SCP) package have in Guix?

Yes, sorry SCP := Source Code Pro, and yes I've installed it via Guix using
Guix package name font-adobe-source-code-pro. Examples of unicode
characters which were displaying correctly before but not now include:
U+232B, U+2326, U+23CE. Reading about this subject some more
these characters may not in fact be available in SCP but were rather supplied
by another available font. It seems Emacs maintains font mappings on
a per-glyph basis, meaning that multiple fonts are used at the same time
(transparently) to display any character for which you have a font
(source: https://github.com/rolandwalker/unicode-fonts). So I guess before
there was other fonts available to Emacs that I didn't necessarily configure.

> > (4) I wish to manage my dotfiles with GNU stow. Traditionally, I
> > understand people create a dotfiles directory say under $HOME and
> > create the various subdirectories in this directory from which the
> > symlinks are produced. Is this approach still the same with GNU stow
> > installed via Guix or is the 'stow' directory created elsewhere?
>
> I know nothing about 'stow', but it should behave the same as on any
> other system.
>
> --
> Alex

  reply	other threads:[~2017-02-09 21:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 16:24 Package Installation Queries Niall Dooley
2017-02-08 20:51 ` Alex Kost
2017-02-09 21:36   ` Niall Dooley [this message]
2017-02-10  8:55     ` Alex Kost
2017-02-18 16:22       ` Niall Dooley
2017-02-18 20:16         ` Alex Kost
2017-02-10 12:14     ` Leo Famulari
2017-02-08 21:47 ` Carlo Zancanaro
2017-02-09 10:00   ` Ludovic Courtès
2017-02-19 11:39     ` Ricardo Wurmus
2017-02-09 21:41   ` Niall Dooley
2017-02-19 11:37 ` Ricardo Wurmus

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADS3Lq6UW38wtyMWvY8d_a0G3RcYu2_Sc2he3ZGqurxYGjMy-w@mail.gmail.com \
    --to=dooleyn@gmail.com \
    --cc=Help-Guix@gnu.org \
    --cc=alezost@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).