all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Catonano <catonano@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Basic Emacs setup
Date: Thu, 11 May 2017 15:17:34 +0200	[thread overview]
Message-ID: <CAJ98PDxwYEzHoN9T9-NH2Cek2ir1QJV7hkt7dMN01gW-8bj27g@mail.gmail.com> (raw)
In-Reply-To: <768F52A2-8278-4E9F-AD21-15892A2566CD@flashner.co.il>

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

2017-05-11 14:57 GMT+02:00 Efraim Flashner <efraim@flashner.co.il>:

> I've never been an Emacs user so I'm out of my league when it comes to
> writing up a basic .emacs for guix-emacs, debbugs-gnu and whatever else I
> might need/want for workig with patches. Assuming my .emacs is completely
> empty can someone help me out with a snippet/config to work with guix?
>

Assuming you mean to run Emacs on GuixSD, there's not so much to configure

You just install the emacs related packages in your profile (emacs-debbugs,
emacs-guix and maybe emacs-hydra)

This is the ONLY piece of guix related configuration I have in my .emacs
file

(with-eval-after-load 'debbugs-gnu
  (add-to-list 'debbugs-gnu-all-packages "guix-patches"))


that's it

It might be useful to conigure an Emacs based email client, to conveniently
process patches.

That is something I still lack, but at least this is enough to see patches
in Emacs

Not related to guix but very useful Emacs usage tips are: an appropriate
theme, a dark one and an appropriate set of fonts. That can dramatically
improve your Emacs experience

I use the zenburn theme (there are more that are at least as cool as
zenburn) and the Source Code Pro fonts. So:

(set-frame-font "Source Code Pro-20" nil t)
(load-theme 'zenburn) ;; zenburn has to be installed too, of course

As for scheme code this is a little trick but this also improves the
experience greatly

(show-paren-mode)

You might want to use smartparens (to move balanced blocks of code)
I should update it, the version in Guix is quite old. I didn't yet, out of
lazyness :-/
But you can use it anyway. Even old versions can be useful


That's it, on my side ;-)

[-- Attachment #2: Type: text/html, Size: 2304 bytes --]

  reply	other threads:[~2017-05-11 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11 12:57 Basic Emacs setup Efraim Flashner
2017-05-11 13:17 ` Catonano [this message]
2017-05-11 15:50 ` myglc2

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=CAJ98PDxwYEzHoN9T9-NH2Cek2ir1QJV7hkt7dMN01gW-8bj27g@mail.gmail.com \
    --to=catonano@gmail.com \
    --cc=efraim@flashner.co.il \
    --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.