From: "Eli Zaretskii" <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: install.el
Date: Sun, 15 Jun 2003 19:12:34 +0300 [thread overview]
Message-ID: <2110-Sun15Jun2003191234+0300-eliz@elta.co.il> (raw)
In-Reply-To: <200306142045.h5EKjoQC022841@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)
> 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:
> (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.
> (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?
> (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.
(Yes, I realize that these are nits compared to what remains to be
done to make your package more than a proof-of-concept.)
next prev parent reply other threads:[~2003-06-15 16:12 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 ` Eli Zaretskii [this message]
2003-06-15 16:27 ` install.el Stefan Monnier
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=2110-Sun15Jun2003191234+0300-eliz@elta.co.il \
--to=eliz@elta.co.il \
--cc=emacs-devel@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 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).