all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jorge Araya Navarro <elcorreo@deshackra.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to Port Setup to Different OS?
Date: Wed, 05 Nov 2014 20:40:09 -0600	[thread overview]
Message-ID: <87d291kpfd.fsf@deshackra.com> (raw)
In-Reply-To: <545AB201.9080803@knight.cx>


I actually generate a list of packages using a Python script inside a org source code block, resulting in a
.el file that is later loaded by Emacs.

You can take a look at my conf here[1], and the resulting file here[2]

I use this to same some time making my list of dependencies.

[1]: https://bitbucket.org/shackra/.emacs.d/src/c70ac0056202654c21ecf102ab6a1bbb9a103a5a/emacs-init.org?at=master#cl-91
[2]: https://bitbucket.org/shackra/.emacs.d/src/c70ac0056202654c21ecf102ab6a1bbb9a103a5a/paquetes.el?at=master

Steven Knight writes:

> Hello Ari,
>
> I suggest use-package[1].  Here's how you would use it:
>
> ; require package, update 'package-archives
> (require 'package)
> (add-to-list 'package-archives
>                '("melpa" . "http://melpa.org/packages/") t)
> (package-refresh-contents)
> (package-initialize)
>
> ; install use-package if necessary
> (unless (package-installed-p 'use-package)
>    (package-install 'use-package))
>
> ; load use-package
> (require 'use-package)
>
> ; install (if necessary) dash, better-defaults and web-mode
> (use-package dash :ensure dash)
> (use-package better-defaults :ensure better-defaults)
> (use-package web-mode :ensure web-mode)
>
> The ":ensure" option tells use-package to install the package if 
> necessary [2].
>
> Thank you,
>
> [1] https://github.com/jwiegley/use-package
> [2] https://github.com/jwiegley/use-package#for-packageel-users

-- 
Pax et bonum.
Jorge Araya Navarro.
ES: Diseñador Publicitario, Programador Python y colaborador en Parabola GNU/Linux-libre
EN: Ads Designer, Python programmer and contributor Parabola GNU/Linux-libre
EO: Anonco grafikisto, Pitino programalingvo programisto kai kontribuanto en Parabola GNU/Linux-libre
https://es.gravatar.com/shackra



  reply	other threads:[~2014-11-06  2:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 18:39 How to Port Setup to Different OS? Ari King
2014-11-05 18:42 ` Grant Rettke
2014-11-06  0:17   ` Alexis
2014-11-05 22:39 ` John Mastro
2014-11-05 23:25 ` Steven Knight
2014-11-06  2:40   ` Jorge Araya Navarro [this message]
2014-11-06 18:43     ` Grant Rettke
2014-11-06 21:48       ` Jorge Araya Navarro

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=87d291kpfd.fsf@deshackra.com \
    --to=elcorreo@deshackra.com \
    --cc=help-gnu-emacs@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/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.