all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Emacs Help List <help-gnu-emacs@gnu.org>,
	Emanuel Berg <embe8573@student.uu.se>
Subject: Re: How to reload an updated library?
Date: Sun, 01 Mar 2015 20:50:28 -0500	[thread overview]
Message-ID: <87egp86ucb.fsf@gmail.com> (raw)
In-Reply-To: <871tl8s2pm.fsf@debian.uxu> (Emanuel Berg's message of "Mon, 02 Mar 2015 00:44:05 +0100")

I've never been quite clear in emacs on the meanings of library, package, extension... I think I mean package, such as what you download from `m-x list-packages`: in this case, a whole program like Helm which includes many .el files. 

Emanuel Berg <embe8573@student.uu.se> writes:

> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> In this case, I'm talking about the Helm package. I
>> follow it on git and sometimes will `git pull` to
>> update it, then can make it. But the only way I know
>> to implement the new changes in emacs is to restart
>> emacs. I tried evaluate-buffer on one of the main
>> library files, but it didn't seem to do the trick.
>> Restarting emacs is a pain if I have many ongoing
>> projects; how can I implement the updates to the
>> package without restarting emacs?
>
> With "library", do you mean something more advanced
> than just an Elisp (.el) file which is usually what is
> meant?
>
> Such are loaded with <drumroll> `load' - either
> `load-file' (input the library file) or `load-library'
> (ditto name). With `load-library' you will get the
> .elc compiled version rather than the .el source if
> both are available.



  reply	other threads:[~2015-03-02  1:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1086.1425252146.31049.help-gnu-emacs@gnu.org>
2015-03-01 23:44 ` How to reload an updated library? Emanuel Berg
2015-03-02  1:50   ` Tory S. Anderson [this message]
2015-03-02  2:08     ` Alexis
2015-03-02  2:22       ` Tory S. Anderson
2015-03-02  2:35         ` Alexis
     [not found]     ` <mailman.1093.1425262142.31049.help-gnu-emacs@gnu.org>
2015-03-02  2:18       ` Joost Kremers
2015-03-02  2:40         ` Alexis
2015-03-01 23:22 Tory S. Anderson
2015-03-02  1:38 ` bernardo
2015-03-03 20:34 ` Vaidheeswaran C

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=87egp86ucb.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=embe8573@student.uu.se \
    --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.