GNU bug report logs - #33512
26; Be able to specify soft-requires in file header (`Package-Requires:')

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 26 Nov 2018 14:43:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 33512 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#33512; Package emacs. (Mon, 26 Nov 2018 14:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 26 Nov 2018 14:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26; Be able to specify soft-requires in file header
 (`Package-Requires:')
Date: Mon, 26 Nov 2018 06:42:36 -0800 (PST)
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''




This bug report was last modified 6 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.