From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: understanding emacs packages
Date: Wed, 03 Oct 2007 09:46:46 -0400 [thread overview]
Message-ID: <874ph8nwe1.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: 1191413661.873145.69990@w3g2000hsg.googlegroups.com
knubee <knubee@gmail.com> 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
next prev parent reply other threads:[~2007-10-03 13:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-03 12:14 understanding emacs packages knubee
2007-10-03 13:46 ` Joel J. Adamson [this message]
2007-10-03 14:05 ` knubee
2007-10-03 15:40 ` Joel J. Adamson
2007-10-03 23:23 ` knubee
2007-10-03 18:36 ` Seweryn Kokot
2007-10-04 9:35 ` Tim X
2007-10-07 4:38 ` knubee
2007-10-07 19:21 ` Eli Zaretskii
[not found] ` <mailman.1808.1191784883.18990.help-gnu-emacs@gnu.org>
2007-10-07 21:48 ` knubee
2007-10-08 3:18 ` Tim X
2007-10-08 3:01 ` Tim X
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=874ph8nwe1.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--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.