unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* package.el -- hardwires /usr/share/emacs
@ 2010-12-21 22:38 T.V. Raman
  2010-12-21 22:47 ` Lennart Borgman
  0 siblings, 1 reply; 4+ messages in thread
From: T.V. Raman @ 2010-12-21 22:38 UTC (permalink / raw)
  To: emacs-devel

In package.el:
the definition of package-directory-list hard-wires
"/usr/share/emacs/site-lisp/elpa"
Is this intentional?

(defvar package-directory-list
  (list (file-name-as-directory package-user-dir)
	"/usr/share/emacs/site-lisp/elpa/")
  "List of directories to search for packages.")

--



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: package.el -- hardwires /usr/share/emacs
  2010-12-21 22:38 package.el -- hardwires /usr/share/emacs T.V. Raman
@ 2010-12-21 22:47 ` Lennart Borgman
  2010-12-23  7:52   ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2010-12-21 22:47 UTC (permalink / raw)
  To: T.V. Raman; +Cc: emacs-devel

On Tue, Dec 21, 2010 at 11:38 PM, T.V. Raman <tv.raman.tv@gmail.com> wrote:
> In package.el:
> the definition of package-directory-list hard-wires
> "/usr/share/emacs/site-lisp/elpa"
> Is this intentional?
>
> (defvar package-directory-list
>  (list (file-name-as-directory package-user-dir)
>        "/usr/share/emacs/site-lisp/elpa/")
>  "List of directories to search for packages.")


In the trunk this has been changed. Maybe this change is not
backported to Emacs 23.3? In the trunk it looks like:

(defcustom package-directory-list
  ;; Defaults are subdirs named "elpa" in the site-lisp dirs.
  (let (result)
    (dolist (f load-path)
      (and (stringp f)
	   (equal (file-name-nondirectory f) "site-lisp")
	   (push (expand-file-name "elpa" f) result)))
    (nreverse result))
  "List of additional directories containing Emacs Lisp packages.
Each directory name should be absolute.

These directories contain packages intended for system-wide; in
contrast, `package-user-dir' contains packages for personal use."
  :type '(repeat directory)
  :risky t
  :group 'package
  :version "24.1")



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: package.el -- hardwires /usr/share/emacs
  2010-12-21 22:47 ` Lennart Borgman
@ 2010-12-23  7:52   ` Chong Yidong
  2010-12-25  1:16     ` T.V. Raman
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2010-12-23  7:52 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Tom Tromey, T.V. Raman, emacs-devel

Lennart Borgman <lennart.borgman@gmail.com> writes:

> In the trunk this has been changed. Maybe this change is not
> backported to Emacs 23.3?

There is no package.el in Emacs 23.3.  I think he's referring to the
version of package.el on http://tromey.com/elpa/.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* package.el -- hardwires /usr/share/emacs
  2010-12-23  7:52   ` Chong Yidong
@ 2010-12-25  1:16     ` T.V. Raman
  0 siblings, 0 replies; 4+ messages in thread
From: T.V. Raman @ 2010-12-25  1:16 UTC (permalink / raw)
  To: Chong Yidong, Lennart Borgman, emacs-devel, Tom Tromey

Actually was refering to the one in emacs 24 taken from git:
-- 
Best Regards,
--raman

-- 
Best Regards,
--raman


On 12/22/10, Chong Yidong <cyd@stupidchicken.com> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> In the trunk this has been changed. Maybe this change is not
>> backported to Emacs 23.3?
>
> There is no package.el in Emacs 23.3.  I think he's referring to the
> version of package.el on http://tromey.com/elpa/.
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-25  1:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 22:38 package.el -- hardwires /usr/share/emacs T.V. Raman
2010-12-21 22:47 ` Lennart Borgman
2010-12-23  7:52   ` Chong Yidong
2010-12-25  1:16     ` T.V. Raman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).