all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Saša Janiška" <gour@atmarama.com>
To: help-gnu-emacs@gnu.org
Subject: spacemacs --> (plain) emacs via use-package
Date: Wed, 23 Mar 2016 08:51:04 +0100	[thread overview]
Message-ID: <87r3f1pr87.fsf@atmarama.com> (raw)

Hello,

in the past I did experience some wrist pain after using Emacs and
decided to switch to Vim...recently went back to Emacs by switching to
Spacemacs in order to possibly reduce RSI risk.

Now, after some time of using it, I have feeling that there are too many
layers to learn which do not bring me big advantage considering I do not
have vim's (moving) commands in my muscle memory.

Moreover, mappings for bigger packages like Gnus/org-mode which I use
are also mostly 'native' ones, so I've decided to switch to plain Emacs
with custom setup as I did in the past.

However, in order to refactor my custom setup and improve loading time,
I plan to use John's use-package, but need some advice how to do it
efficiently?

For smaller packages which I plan to use via MELPA like elfeed, Circe
etc. I can probably put all the customization within blocks like:

(use-package foo
  :init
  (setq foo-variable t))

but I wonder that to do with packages like Gnus & org-mode?

I use Gnus which comes with Emacs itself, but it contains lot of code
which in the past I was using by the:

(load-file "~/.emacs.d/lisp/emacs-gnus.el")

line in my init.el which contained:

;; Gnus stuff
(setq gnus-init-file "~/.emacs.d/lisp/gnus-init.el")
(setq message-directory "~/.emacs.d/mail/")
(setq gnus-directory "~/.emacs.d/news/")
(setq nnfolder-directory "~/.emacs.d/mail/archive")

and 'gnus-init.el' contained all the Gnus-related code.

Is it optimal to just include the above 'setq' definitions within
use-package block?

What to do in the case of org-mode package? Same as with Gnus or
something else?


Sincerely,
Gour

-- 
As a lamp in a windless place does not waver, so the transcendentalist,
whose mind is controlled, remains always steady in his meditation on the
transcendent self.


                 reply	other threads:[~2016-03-23  7:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87r3f1pr87.fsf@atmarama.com \
    --to=gour@atmarama.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.