From: Kaushal Modi <kaushal.modi@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: use-package
Date: Mon, 02 May 2016 18:47:22 +0000 [thread overview]
Message-ID: <CAFyQvY2XXVPBtKgodyjrEy2dtsnkWmpGcyzrMbaf94QgiVUU9Q@mail.gmail.com> (raw)
In-Reply-To: <874magv15u.fsf@mat.ucm.es>
>
> Now my real init file, emacs_init.el
>
> contains calls to many official packages such as auctex, orgmode, gnus
> to name a few. These calls I presume I am able to transfer to the
> use-package syntax.
>
> But I have also private files, with some hacks, one file with my global
> keybindings etc
>
> How do I treat those files?
>
> Maybe somebody with experience in use-package could give me an advice?
>
This probably has nothing to do with use-package. You can have a mix of
(use-package ..) and (require ..) forms.
I use use-package for all my packages. But I also `require' files like
setup-personal.el (which have a (provide 'setup-personal)), which I do not
commit to github.
https://github.com/kaushalmodi/.emacs.d/blob/d51b8bb267fd18978eed28e59a28006b235f75aa/init.el#L310-L311
Example use:
(require 'setup-personal nil :noerror)
If a setup-personal.el (with the right provide) is found in the load-path,
it will be required, else nothing will happen (no errors).
Then, within the setup-personal.el, I would be having use-package forms if
any.
Hope this helps.
--
--
Kaushal Modi
next prev parent reply other threads:[~2016-05-02 18:47 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-02 17:07 use-package Uwe Brauer
2016-05-02 18:47 ` Kaushal Modi [this message]
2016-05-03 10:47 ` use-package Uwe Brauer
2016-05-03 14:01 ` use-package Kaushal Modi
2016-05-03 22:28 ` use-package Stefan Monnier
2016-05-04 3:33 ` use-package Kaushal Modi
2016-05-04 12:09 ` use-package Stefan Monnier
2016-05-04 16:22 ` use-package Phillip Lord
2016-05-04 16:44 ` use-package Drew Adams
2016-05-05 13:34 ` use-package Phillip Lord
2016-05-05 14:00 ` use-package Drew Adams
2016-05-05 15:56 ` use-package Kaushal Modi
2016-05-05 16:12 ` use-package Drew Adams
2016-05-10 9:20 ` use-package Phillip Lord
2016-05-10 9:18 ` use-package Phillip Lord
2016-05-11 11:42 ` use-package Kaushal Modi
2016-05-12 21:04 ` use-package Phillip Lord
2016-05-13 11:56 ` use-package Stefan Monnier
2016-05-14 22:27 ` use-package Phillip Lord
2016-05-15 3:22 ` use-package Stefan Monnier
2016-05-13 15:38 ` use-package Drew Adams
2016-05-16 15:16 ` use-package Phillip Lord
2016-05-16 16:49 ` use-package Drew Adams
[not found] ` <mailman.2761.1463153947.7477.help-gnu-emacs@gnu.org>
2016-05-14 7:37 ` use-package Rusi
2016-05-10 9:13 ` use-package Phillip Lord
2016-05-05 9:51 ` use-package Uwe Brauer
2016-05-05 13:38 ` use-package Phillip Lord
2016-05-03 22:21 ` use-package Stefan Monnier
2016-05-05 10:15 ` use-package Uwe Brauer
2016-05-05 23:41 ` use-package Stefan Monnier
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=CAFyQvY2XXVPBtKgodyjrEy2dtsnkWmpGcyzrMbaf94QgiVUU9Q@mail.gmail.com \
--to=kaushal.modi@gmail.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.