From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: Basic Emacs setup Date: Thu, 11 May 2017 15:17:34 +0200 Message-ID: References: <768F52A2-8278-4E9F-AD21-15892A2566CD@flashner.co.il> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045c248685b376054f3f6968" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8nyL-0003Le-OR for help-guix@gnu.org; Thu, 11 May 2017 09:17:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8nyK-00008P-MS for help-guix@gnu.org; Thu, 11 May 2017 09:17:37 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:36359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8nyK-00007Y-Fm for help-guix@gnu.org; Thu, 11 May 2017 09:17:36 -0400 Received: by mail-wr0-x22c.google.com with SMTP id l50so20219537wrc.3 for ; Thu, 11 May 2017 06:17:36 -0700 (PDT) In-Reply-To: <768F52A2-8278-4E9F-AD21-15892A2566CD@flashner.co.il> 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: Efraim Flashner Cc: help-guix --f403045c248685b376054f3f6968 Content-Type: text/plain; charset="UTF-8" 2017-05-11 14:57 GMT+02:00 Efraim Flashner : > 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 ;-) --f403045c248685b376054f3f6968 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017-05-11 14:57 GMT+02:00 Efraim Flashner <efraim@fl= ashner.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 wit= h patches. Assuming my .emacs is completely empty can someone help me out w= ith a snippet/config to work with guix?

Assuming you mean to run Emacs on GuixSD, there's not so much to confi= gure

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
=C2=A0 (add-to-list &= #39;debbugs-gnu-all-packages "guix-patches"))


that's it

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

Tha= t 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 tip= s are: an appropriate theme, a dark one and an appropriate set of fonts. Th= at can dramatically improve your Emacs experience

I use t= he 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 installe= d too, of course

As for scheme code this is a little tric= k 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 an= yway. Even old versions can be useful


That= 's it, on my side ;-)


--f403045c248685b376054f3f6968--