From: Michael Heerdegen <michael_heerdegen@web.de>
To: Pankaj Jangid <pankaj.jangid@gmail.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: (require) is still required, even after (package-initialize)
Date: Wed, 30 Oct 2019 11:35:38 +0100 [thread overview]
Message-ID: <87sgna1pxh.fsf@web.de> (raw)
In-Reply-To: <m2v9s7kk38.fsf@gmail.com> (Pankaj Jangid's message of "Wed, 30 Oct 2019 08:36:51 +0530")
Pankaj Jangid <pankaj.jangid@gmail.com> writes:
> But I don't think this is causing any issue in init.el. For server
> setup, I have only this in my init.el:
>
> ;; start server for emacsclient support
> (require 'server) ; I don't know why this is
> ; required after
> ; package-initialize
> (unless (server-running-p) (server-start))
Ok, so there is no relation to flymake.
"server" is a built-in library, and `server-running-p' is not an
autoload function, so (require 'server) is needed in your init file.
package.el is the Emacs package manager to install packages from outside
repositories. `package-intitialize' activates your installed packages
(it doesn't load them). But that doesn't matter here since server is
not a package at all. You want to keep `package-intitialize' and you
use it correctly, it just doesn't cover as much as you thought.
Did that answer all of your questions?
Regards,
Michael.
prev parent reply other threads:[~2019-10-30 10:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 18:16 (require) is still required, even after (package-initialize) Pankaj Jangid
2019-10-29 19:02 ` Michael Heerdegen
2019-10-30 3:06 ` Pankaj Jangid
2019-10-30 10:35 ` Michael Heerdegen [this message]
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=87sgna1pxh.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=pankaj.jangid@gmail.com \
/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.