all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 33512@debbugs.gnu.org
Subject: bug#33512: 26; Be able to specify soft-requires in file header (`Package-Requires:')
Date: Mon, 26 Nov 2018 06:42:36 -0800 (PST)	[thread overview]
Message-ID: <17ceae2f-880f-4e69-85f7-d5de8a3173d1@default> (raw)

Please consider the enhancement of being able to specify, in a Lisp file
header, something like `Package-Requires' (or a `Package-Requires' that
allows variant arguments to accomplish the same thing), which would
specify that another package is soft-required, not hard-required.

That is, the requirement of another package, e.g. `foo.el', would be
akin to (require 'foo nil t), as opposed to just (require 'foo).

This would enable a package to advertise, for `package.el' and ELPA
repositories, that some of its features require another package, but
that that package is not strictly necessary (e.g., some of the requiring
package features are available without the soft-required package).

It might also encourage modularity and discourage adding extra stuff to
a given package (even duplicating some code from another package, for
instance).

In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
 of 2018-05-30
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea
Windowing system distributor `Microsoft Corp.', version 10.0.16299
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





                 reply	other threads:[~2018-11-26 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=17ceae2f-880f-4e69-85f7-d5de8a3173d1@default \
    --to=drew.adams@oracle.com \
    --cc=33512@debbugs.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.