unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18829: 25.0.50; (emacs) manual: relation between `package-initialize' and `require' & `load-path'
@ 2014-10-25 15:25 Drew Adams
  2016-04-30 14:49 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2014-10-25 15:25 UTC (permalink / raw)
  To: 18829

There is apparently a fair amount of confusion, especially by new users, about the relation between `require' and `load-path', on
the one hand, and `package-initialize', on the other.  

The doc for these is not together (which is normal), and it might help
to (a) provide cross references and (b) explicitly say that if you use
`package-initialize' then you do (should) not need to explicitly adjust
`load-path' and `require' the relevant code.

Here is one example of such a question and response explaining this:
http://emacs.stackexchange.com/a/2599/105



In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





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

* bug#18829: 25.0.50; (emacs) manual: relation between `package-initialize' and `require' & `load-path'
  2014-10-25 15:25 bug#18829: 25.0.50; (emacs) manual: relation between `package-initialize' and `require' & `load-path' Drew Adams
@ 2016-04-30 14:49 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 14:49 UTC (permalink / raw)
  To: Drew Adams; +Cc: 18829

Drew Adams <drew.adams@oracle.com> writes:

> There is apparently a fair amount of confusion, especially by new users, about the relation between `require' and `load-path', on
> the one hand, and `package-initialize', on the other.  
>
> The doc for these is not together (which is normal), and it might help
> to (a) provide cross references and (b)

I've now done this...

> explicitly say that if you use `package-initialize' then you do
> (should) not need to explicitly adjust `load-path' and `require' the
> relevant code.

And this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2016-04-30 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25 15:25 bug#18829: 25.0.50; (emacs) manual: relation between `package-initialize' and `require' & `load-path' Drew Adams
2016-04-30 14:49 ` Lars Ingebrigtsen

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