unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21104: 25.0.50; relative paths are added to load-path without -nsl
@ 2015-07-21 17:26 Sam Steingold
  2015-07-21 17:41 ` bug#21104: workaround for the bug Sam Steingold
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Sam Steingold @ 2015-07-21 17:26 UTC (permalink / raw)
  To: 21104

Relative paths in `load-path' seems like a bad idea:

--8<---------------cut here---------------start------------->8---
$ ./nextstep/Emacs.app/Contents/MacOS/Emacs -nsl --batch --eval '(print load-path)'

("/Users/sds/src/emacs/trunk/lisp" "/Users/sds/src/emacs/trunk/lisp/vc" "/Users/sds/src/emacs/trunk/lisp/url" "/Users/sds/src/emacs/trunk/lisp/textmodes" "/Users/sds/src/emacs/trunk/lisp/progmodes" "/Users/sds/src/emacs/trunk/lisp/play" "/Users/sds/src/emacs/trunk/lisp/org" "/Users/sds/src/emacs/trunk/lisp/nxml" "/Users/sds/src/emacs/trunk/lisp/net" "/Users/sds/src/emacs/trunk/lisp/mh-e" "/Users/sds/src/emacs/trunk/lisp/mail" "/Users/sds/src/emacs/trunk/lisp/leim" "/Users/sds/src/emacs/trunk/lisp/language" "/Users/sds/src/emacs/trunk/lisp/international" "/Users/sds/src/emacs/trunk/lisp/gnus" "/Users/sds/src/emacs/trunk/lisp/eshell" "/Users/sds/src/emacs/trunk/lisp/erc" "/Users/sds/src/emacs/trunk/lisp/emulation" "/Users/sds/src/emacs/trunk/lisp/emacs-lisp" "/Users/sds/src/emacs/trunk/lisp/cedet" "/Users/sds/src/emacs/trunk/lisp/calendar" "/Users/sds/src/emacs/trunk/lisp/calc" "/Users/sds/src/emacs/trunk/lisp/obsolete" "/Users/sds/src/emacs/trunk/build/lisp")
$ ./nextstep/Emacs.app/Contents/MacOS/Emacs --batch --eval '(print load-path)'

("." "./vc" "./url" "./textmodes" "./progmodes" "./play" "./org" "./nxml" "./net" "./mh-e" "./mail" "./leim" "./language" "./international" "./gnus" "./eshell" "./erc" "./emulation" "./emacs-lisp" "./cedet" "./calendar" "./calc" "./obsolete" "/Users/sds/src/emacs/trunk/lisp" "/Users/sds/src/emacs/trunk/lisp/vc" "/Users/sds/src/emacs/trunk/lisp/url" "/Users/sds/src/emacs/trunk/lisp/textmodes" "/Users/sds/src/emacs/trunk/lisp/progmodes" "/Users/sds/src/emacs/trunk/lisp/play" "/Users/sds/src/emacs/trunk/lisp/org" "/Users/sds/src/emacs/trunk/lisp/nxml" "/Users/sds/src/emacs/trunk/lisp/net" "/Users/sds/src/emacs/trunk/lisp/mh-e" "/Users/sds/src/emacs/trunk/lisp/mail" "/Users/sds/src/emacs/trunk/lisp/leim" "/Users/sds/src/emacs/trunk/lisp/language" "/Users/sds/src/emacs/trunk/lisp/international" "/Users/sds/src/emacs/trunk/lisp/gnus" "/Users/sds/src/emacs/trunk/lisp/eshell" "/Users/sds/src/emacs/trunk/lisp/erc" "/Users/sds/src/emacs/trunk/lisp/emulation" "/Users/sds/src/emacs/trunk/lisp/emacs-lisp" "/Users/sds/src/emacs/trunk/lisp/cedet" "/Users/sds/src/emacs/trunk/lisp/calendar" "/Users/sds/src/emacs/trunk/lisp/calc" "/Users/sds/src/emacs/trunk/lisp/obsolete" "/Users/sds/src/emacs/trunk/build/lisp")
--8<---------------cut here---------------end--------------->8---

in particular, this results in this start-up warning:


--8<---------------cut here---------------start------------->8---
Warning (initialization): Your `load-path' seems to contain
your `.emacs.d' directory: .
This is likely to cause problems...
Consider using a subdirectory instead, e.g.: /Users/sds/.emacs.d/lisp
--8<---------------cut here---------------end--------------->8---


In GNU Emacs 25.0.50.2 (x86_64-apple-darwin14.4.0, NS appkit-1348.17 Version 10.10.4 (Build 14E46))
 of 2015-07-21 on sds-MacBook-Pro.local
Repository revision: 7f58daf8166d03c664e5a6d1984dc3afd74e08d2
Windowing system distributor `Apple', version 10.3.1348
Configured using:
 `configure --with-ns'

Configured features:
JPEG IMAGEMAGICK NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

Major mode: C/lah

Minor modes in effect:
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  which-function-mode: t
  url-handler-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent messages:
Grep finished with no matches found
Quit
Grep finished (matches found)
mouse-2: visit this file and line [2 times]
Quit
mouse-2: visit this file and line
Mark saved where search started [2 times]
Grep finished (matches found)
mouse-2: visit this file and line
C-x p is undefined

Load-path shadows:
None found.

Features:
(shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range gnus-win emacsbug message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums edmacro kmacro
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
find-dired grep ffap time-stamp dabbrev cl-indent skeleton eieio-opt
speedbar sb-image ezimage dframe find-func pp markdown-mode noutline
outline misearch multi-isearch remember dired-aux nxml-uchnm rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sh-script smie
flyspell ispell info vc-hg smerge-mode python tramp-sh tramp
tramp-compat tramp-loaddefs trampver json vc-git diff-mode easy-mmode
vc-dir ewoc vc vc-dispatcher finder-inf package epg-config dired
warnings midnight gnus gnus-ems nnheader mail-utils wid-edit bbdb-mua
bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site timezone rcirc
server which-func imenu url-handlers url-parse auth-source cl-seq eieio
byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs
gnus-util mm-util help-fns help-mode mail-prsvr password-cache url-vars
paren help-at-pt desktop frameset cus-start cus-load ido seq ess-toolbar
ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion
compile ess-tracebug format-spec ess-roxy advice hideshow ess-help
ess-developer ess-s-l ess ess-inf comint ansi-color ring ess-mode
ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
ess-site cl gv cl-loaddefs pcase cl-lib time-date mule-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
gfilenotify cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 567215 13667)
 (symbols 48 69494 0)
 (miscs 40 21339 937)
 (strings 32 203226 22330)
 (string-bytes 1 4960712)
 (vectors 16 59780)
 (vector-slots 8 1043715 8139)
 (floats 8 829 414)
 (intervals 56 8535 472)
 (buffers 976 62))

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1348
http://www.childpsy.net/ http://iris.org.il http://www.memritv.org
http://americancensorship.org http://www.dhimmitude.org http://camera.org
I'd give up my right arm to be ambidextrous.





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

end of thread, other threads:[~2015-12-09 10:33 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 17:26 bug#21104: 25.0.50; relative paths are added to load-path without -nsl Sam Steingold
2015-07-21 17:41 ` bug#21104: workaround for the bug Sam Steingold
2015-07-22 18:02 ` bug#21104: 25.0.50; relative paths are added to load-path without -nsl Glenn Morris
2015-07-22 18:26   ` Sam Steingold
2015-07-22 18:37     ` Glenn Morris
2015-07-22 19:41       ` Sam Steingold
2015-07-22 21:58         ` Glenn Morris
2015-12-07 19:00 ` bug#21104: 25.0.50; relative paths are added to load-path without -nsl (bug#21104) Anders Lindgren
2015-12-07 19:33   ` Eli Zaretskii
2015-12-07 22:09     ` Anders Lindgren
2015-12-08  1:22       ` Glenn Morris
2015-12-08  1:32         ` Glenn Morris
2015-12-08 16:05         ` Eli Zaretskii
2015-12-08 17:06           ` Andreas Schwab
2015-12-08 17:40             ` Eli Zaretskii
2015-12-08 18:16               ` Andreas Schwab
2015-12-08 17:54           ` Glenn Morris
2015-12-08 18:20             ` Eli Zaretskii
2015-12-08 19:16               ` Anders Lindgren
2015-12-08 19:21                 ` Glenn Morris
2015-12-08 20:03                   ` Anders Lindgren
2015-12-09  8:49                     ` Andreas Schwab
2015-12-08 20:05                   ` Eli Zaretskii
2015-12-08  3:35       ` Eli Zaretskii
2015-12-09 10:33 ` bug#21104: Don't add "." to load-path -- fixed Anders Lindgren

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