From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: understanding emacs packages Date: Wed, 03 Oct 2007 09:46:46 -0400 Organization: Harvard University Message-ID: <874ph8nwe1.fsf@W0053328.mgh.harvard.edu> References: <1191413661.873145.69990@w3g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191422456 15166 80.91.229.12 (3 Oct 2007 14:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2007 14:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 03 16:40:53 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Id5Or-0006b7-I0 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Oct 2007 16:40:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id5On-0001hh-9i for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Oct 2007 10:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.aset.psu.edu!news.glorb.com!newspeer1.asbnva01.us.to.verio.net!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 69 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1191419378 6933 132.183.29.121 (3 Oct 2007 13:49:38 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Wed, 3 Oct 2007 13:49:38 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:voLBuYY8HZagt2Wj5DGsvQQT3xw= Original-Xref: shelby.stanford.edu gnu.emacs.help:152569 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48077 Archived-At: knubee writes: > When I upgrade my gnu/linux distribution and re-install various emacs > applications, it is not always clear to me what is the cause of an > error when I run an emacs application. As an example, there may be > some oddness inserting dates in org-mode. No errors, but failure to do > things. Why are you re-installing lisp packages? They should all still be there in your site-packages directory. On Slackware 12.0 with Emacs 23, under /usr/share/emacs I have /usr/share/emacs: total used in directory 10 available 1010628 drwxr-xr-x 7 root root 176 2007-09-23 00:05 . drwxr-xr-x 193 root root 5200 2006-03-25 19:29 .. drwxr-xr-x 5 root root 120 2007-09-24 10:24 21.4 drwxr-xr-x 3 root root 72 2007-09-24 10:59 22.1 drwxr-xr-x 6 root root 152 2007-09-23 00:05 23.0.0 drwxr-xr-x 3 root root 72 2007-05-03 16:01 etc drwxr-xr-x 6 root root 4608 2007-09-23 00:05 site-lisp I should get rid of the 21.4 and 22.1 directories...all the "third-party" packages are in site-lisp. No reinstalling necessary. > This could be because the gnu/linux distro is still in beta (e.g., > ubuntu gutsy), it could be because I have not installed all the > necessary emacs packages, or it could be because there non-emacs code/ > application that is necessary. What feature of your Linux distro would interact with Emacs packages? [...] > - Does this mean that "planner-el" is an elisp implementation of > "planner"? Is there another possible implementation of planner? > - If so, are there cases where there is a "foo-el" package that relies > on a "foo" (non-elisp) application. In other words, can a situation > arise when I am using an application in emacs and it exhibits odd > behavior because a non-emacs application needs to be installed? If > so, is it always obvious? Sometimes ... emacs-w3m depends on w3m, which needs the gc garbage collector. AUCTeX requires a TeX system. > And is there a straightforward way to tell if some package is already > part of the emacs distribution I am using (so that I do not attempt > to download/install it myself)? Look in the version-specific directories and the site-lisp directory for the elisp files. Or use slocate: "slocate planner.el" My suggestion is install from source, then your know exactly where everything is going, but I understand that is a difference of opinion with potentially religious implications. Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109