unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21704: 25.0.50; Package (package.el) doc should mention effects on `load-path'
@ 2015-10-18 14:24 Drew Adams
  2016-04-30 22:24 ` Lars Ingebrigtsen
  2016-06-27  4:45 ` Noam Postavsky
  0 siblings, 2 replies; 9+ messages in thread
From: Drew Adams @ 2015-10-18 14:24 UTC (permalink / raw)
  To: 21704

Apparently (at least from searching package.el and (emacs) `Packages'
and its subnodes), nowhere do we tell users the effect of using the
package system on `load-path'.  (Variable `load-path' is mentioned in a
couple of doc strings, but only for "internal-only" functions.)

There is this comment in the Commentary of `package.el':

;; At activation time we will set up the load-path and the info path,
;; and we will load the package's autoloads.  If a package's
;; dependencies are not available, we will not activate that package.

I think it is important (helpful) to explicitly make the connection for
users between `load-path' and the package system.  Please consider
making it clear.  Even just a statement such as the one in that comment
would help.

Here is one demonstration of the confusion that might be avoided if such
information were made more readily available:

http://lists.gnu.org/archive/html/help-gnu-emacs/2015-10/msg00331.html

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-10-06
Bzr revision: a4a98a1b2568793ead43e824ecf227768759df12
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





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

end of thread, other threads:[~2016-06-28  3:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-18 14:24 bug#21704: 25.0.50; Package (package.el) doc should mention effects on `load-path' Drew Adams
2016-04-30 22:24 ` Lars Ingebrigtsen
2016-05-01  1:18   ` Drew Adams
2016-06-27  4:45 ` Noam Postavsky
2016-06-27  5:40   ` Drew Adams
2016-06-27 12:30     ` Noam Postavsky
2016-06-27 13:56       ` Drew Adams
2016-06-27 15:37   ` Eli Zaretskii
2016-06-28  3:18     ` Noam Postavsky

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).