From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: monnier+gnu/emacs@rum.cs.yale.edu
Subject: Re: install.el
Date: Sun, 15 Jun 2003 12:27:54 -0400 [thread overview]
Message-ID: <200306151627.h5FGRshP032439@rum.cs.yale.edu> (raw)
In-Reply-To: 2110-Sun15Jun2003191234+0300-eliz@elta.co.il
> > From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
> > Date: Sat, 14 Jun 2003 16:45:50 -0400
> >
> > So I started to write install.el which is a package that offer the function
> > `install-file'. It takes a file (a ginel elisp file or a tarball) and
> > somehow installs it at a useful place, compiles the elisp file(s)
> > and activates the package by adding some relevant commands in your .emacs.
> >
> > Its current status is closer to proof-of-concept than to fool-proof,
> > but I'd like to install it in CVS.
>
> Please allow me a few minor comments:
I'd love to hear comments about the "big picture" as well, but coding
nitpicks are very welcome.
> > (defcustom install-home-file (or user-init-file "~/.emacs")
> ^^^^^^^^^^
> This should be ``(convert-standard-filename "~/.emacs")'', for those
> platforms where .emacs is an invalid file name.
Actually, I'm not even sure if it shouldn't just be user-init-file.
> > (or (car (install-glob (concat "**/" install-autoload-file)))
> > (car (install-glob "**/auto-autoloads.el"))
> > (car (install-glob "**/*-site.el")))))
>
> I think these (and a few other similar) expansions might fail if file
> names are truncated to 8+3. That is,
>
> (install-glob "auto-autoloads.el")
>
> will not find "auto-aut.el", right?
Should we worry about this case ?
`auto-autoloads.el' is the name of a file used by XEmacs packages.
I think the problem is more serious for install-autoload-file which
is 9 letters long with no extension. We may need to use some other name.
> > (defconst install-info-dir "-*- Text -*-\n\x1f\n\
> > File: dir Node: Top This is the top of the INFO tree\
> > \n\n* Menu:\n\n"
> > "Text content of a barebones empty `info/dir' file.")
>
> I think this text should follow the recommendations in the Texinfo
> package docs.
Feel free to send a patch. I didn't look at the docs, but just took
a sample file and trimmed it down.
Stefan
next prev parent reply other threads:[~2003-06-15 16:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-14 20:45 install.el Stefan Monnier
2003-06-15 16:12 ` install.el Eli Zaretskii
2003-06-15 16:27 ` Stefan Monnier [this message]
2003-06-19 0:07 ` install.el Kevin Rodgers
2003-06-19 14:22 ` install.el Stefan Monnier
2003-06-19 21:33 ` install.el Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200306151627.h5FGRshP032439@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
/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 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).