From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: How to reload an updated library? Date: Sun, 01 Mar 2015 20:50:28 -0500 Message-ID: <87egp86ucb.fsf@gmail.com> References: <871tl8s2pm.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425261055 26943 80.91.229.3 (2 Mar 2015 01:50:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 01:50:55 +0000 (UTC) To: Emacs Help List , Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 02:50:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YSFVQ-0003JD-3e for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 02:50:48 +0100 Original-Received: from localhost ([::1]:54657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSFVP-0007y9-8U for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Mar 2015 20:50:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSFV9-0007y4-Ru for help-gnu-emacs@gnu.org; Sun, 01 Mar 2015 20:50:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSFV8-0006W2-OS for help-gnu-emacs@gnu.org; Sun, 01 Mar 2015 20:50:31 -0500 Original-Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:57947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSFV8-0006Vs-Im for help-gnu-emacs@gnu.org; Sun, 01 Mar 2015 20:50:30 -0500 Original-Received: by mail-qa0-f50.google.com with SMTP id f12so20873643qad.9 for ; Sun, 01 Mar 2015 17:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=aMpzFYh8MIiC0DX7dSHMtaeqP+8XXPPa8SvCoYTxlmI=; b=WmPRAITni1I22ocbtOxPt8ZRrg79TBa81W56KMt513wSm8s4rUIfbTPgsyG9kI2P+J fTCT1W3ReXxe+eE+1AJBPq8yuPYBTKgbw8LcMno1q1WsIiLw8JruxzkoXgrw9sJ6GrtM ayLOHObaL0irZRVIHVM8Xu/Id0K+lob4U0WT02vx6+mkl40NmA8LHG2SM+TbHJ4ih8nj LmbPJ6D7rp1e4Ll2p3807sqCbEbxJEpI92AUMXifzereqM6+yrINiV2KZoQH9l5AH6s2 pOJgnvsgV4LOxZ5emZAuLZB6rVtFcULjjEay/1DvWbpHRtZqC+AumH0VVRvh2yv0fr7/ VPBQ== X-Received: by 10.140.195.5 with SMTP id q5mr48607222qha.58.1425261030141; Sun, 01 Mar 2015 17:50:30 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a640:1577:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id q11sm7511928qad.40.2015.03.01.17.50.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2015 17:50:29 -0800 (PST) In-Reply-To: <871tl8s2pm.fsf@debian.uxu> (Emanuel Berg's message of "Mon, 02 Mar 2015 00:44:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102968 Archived-At: 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 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 `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.