1. 13 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Unconditionally reset load-path after dumping · 06a4f110
      Glenn Morris authored
      * src/lread.c: (dump_path): Remove.
      (load-path-default): Remove `changed' argument.
      Do not set dump_path permanently.  Simplify.
      (init_lread): Simplify.
      (syms_of_lread): Remove dump_path.
      
      * lisp/loadup.el (load-path): Warn if site-load or site-init changes it.
      No more need to reset it when bootstrapping.
      
      * doc/lispref/internals.texi (Building Emacs):
      * doc/lispref/loading.texi (Library Search): Mention that site-load,
      site-init cannot change load-path.
      
      * INSTALL: No longer mention load-path and site-init/site-load.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:16107
      06a4f110
  2. 27 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  3. 23 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Empty elements in EMACSLOADPATH now stand for the default · 17e0445b
      Glenn Morris authored
      * src/lread.c (load_path_check): Take path to check as argument.
      (load_path_default): New, split from init_lread.
      (init_lread): Move calc of default load-path to load_path_default.
      Empty elements in EMACSLOADPATH now stand for the default.
      (load-path): Doc fix.
      
      * src/emacs.c (decode_env_path): Add option to treat empty elements
      as nil rather than ".".
      
      * src/callproc.c (init_callproc_1, init_callproc):
      * src/image.c (Vx_bitmap_file_path):
      * src/lisp.h (decode_env_path):
      * lread.c (Vsource_directory):
      Update for new argument spec of decode_env_path.
      
      * leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting.
      
      * lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
      
      * test/automated/Makefile.in (emacs):
      Empty EMACSLOADPATH rather than unsetting.
      
      * doc/emacs/cmdargs.texi (General Variables):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * doc/lispref/loading.texi (Library Search):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:12100
      17e0445b
  4. 22 Nov, 2013 1 commit
  5. 19 Nov, 2013 1 commit
    • Xue Fuqiao's avatar
      Doc fixes. · a6e3a5d5
      Xue Fuqiao authored
      * lisp/filenotify.el (file-notify-add-watch): Refine doc string.
      
      * doc/lispref/os.texi (File Notifications): Add an index.
      
      * doc/lispref/loading.texi (Loading): Add an cross-reference.
      a6e3a5d5
  6. 14 Nov, 2013 1 commit
  7. 19 Jun, 2013 1 commit
  8. 13 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (with-eval-after-load): New macro. · de0503df
      Stefan Monnier authored
      (eval-after-load): Allow form to be a function.
      take advantage of lexical-binding.
      (do-after-load-evaluation): Use dolist and adjust to new format.
      * lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
      * doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
      instead of eval-after-load.  Don't document after-load-alist.
      * src/lread.c (syms_of_lread):
      * src/fns.c (Fprovide): Adjust to new format of after-load-alist.
      de0503df
  9. 15 May, 2013 1 commit
    • Stefan Monnier's avatar
      Use just DOC instead of DOC-nn.mm. · 6e911150
      Stefan Monnier authored
      * lisp/loadup.el: Just use unversioned DOC.
      * Makefile.in (install-doc): DOC file is not version specific any more.
      * .bzrignore: Don't ignore DOC-* any more.
      * admin/quick-install-emacs: Don't prune DOC-* files a any more.
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
      (Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
      * etc/.gitignore: Don't ignore DOC-* any more.
      * lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
      * msdos/sed1x.inp: Don't rewrite DOC any more.
      * nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
      * src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
      * src/makefile.w32-in (DOC): Use just "DOC".
      6e911150
  10. 01 Jan, 2013 1 commit
  11. 05 Dec, 2012 1 commit
    • Paul Eggert's avatar
      Fix minor whitespace issues after "." in manual. · 1df7defd
      Paul Eggert authored
      Be more systematic about using "@." (not ".") at end of sentence that
      ends in a capital letter, and about appending "@:" after non-ends of
      sentences that end in a lower case letter followed by "." followed by
      whitespace.  Omit unnecessary use of "@:" and "@.".  Similarly for "?"
      and "!".  Be more consistent about putting a comma after "i.e." and
      "e.g."; this is the typical American style and it's easier to code in
      Texinfo.
      
      Fixes: debbugs:12973
      1df7defd
  12. 24 Nov, 2012 1 commit
  13. 18 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Document eager macro expansion · 7351b73d
      Glenn Morris authored
      * doc/lispref/loading.texi (How Programs Do Loading): Add eager macro expansion.
      * doc/lispref/macros.texi (Expansion): Mention eager macro expansion.
      
      * etc/NEWS: Related edit.
      7351b73d
  14. 31 Oct, 2012 2 commits
  15. 30 Oct, 2012 1 commit
    • Chong Yidong's avatar
      Document more Emacs 24.3 changes. · e29e39c9
      Chong Yidong authored
      * frames.texi (Visibility of Frames): Document tty-top-frame.
      
      * loading.texi (Autoload): Document autoloadp, autoload-do-load.
      
      * symbols.texi (Symbol Plists): Document function-get.
      e29e39c9
  16. 23 Oct, 2012 1 commit
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
  17. 30 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docs for a bunch of 24.3 changes. · 48de8b12
      Chong Yidong authored
      * doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill.
      
      * doc/emacs/search.texi (Special Isearch): Document the lax space search
      feature and M-s SPC.
      (Regexp Search): Move main search-whitespace-regexp description to
      Special Isearch.
      (Replace): Document replace-lax-whitespace.
      
      * doc/emacs/basic.texi (Position Info): Document C-u M-=.
      (Moving Point): Document move-to-column.
      
      * doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines.
      
      * doc/emacs/misc.texi (emacsclient Options): Document the effect of
      initial-buffer-choice on client frames.  Document server-auth-dir.
      Do not document server-host, which is bad security practice.
      
      * doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger
      autoloading.  Document help-enable-auto-load.
      
      * doc/emacs/mini.texi (Yes or No Prompts): New node.
      
      * doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages.
      
      * doc/lispref/commands.texi (Click Events): Define "mouse position list".
      Remove mention of unimplemented horizontal scroll bars.
      (Drag Events, Motion Events): Refer to "mouse position list".
      (Accessing Mouse): Document posnp.
      
      * doc/lispref/errors.texi (Standard Errors): Tweak arith-error description.
      Tweak markup.  Remove domain-error and friends, which seem to be
      unused after the floating-point code revamp.
      
      * doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects
      documentation commands.  Various clarifications.
      (Declare Form): New node.
      
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/help.texi (Documentation Basics): The special sequences can
      trigger autoloading.
      
      * doc/lispref/macros.texi (Defining Macros): Move description of `declare' to
      Declare Form node.
      
      * doc/lispref/numbers.texi (Integer Basics): Copyedits.
      (Float Basics): Consider IEEE floating point always available.
      (Random Numbers): Document actual limits.
      (Arithmetic Operations): Clarify division by zero.  Don't mention
      the machine-independence of negative division since it does not
      happen in practice.
      
      * doc/lispref/os.texi (Idle Timers): Minor clarifications.
      (User Identification): Add system-users and system-groups.
      
      * doc/lispref/strings.texi (String Basics): Copyedits.
      
      * lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
      
      * lisp/server.el (server-host): Document the security implications.
      (server-auth-key): Doc fix.
      
      * lisp/startup.el (initial-buffer-choice): Doc fix.
      
      * src/fns.c (Frandom): Doc fix.
      48de8b12
  18. 07 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Add "site-lisp" to manual indices. · ab4c47d3
      Chong Yidong authored
      * custom.texi (Init File): Index site-lisp.
      
      * doc/lispref/loading.texi (Library Search): Index site-lisp directories.
      
      Fixes: debbugs:11435
      ab4c47d3
  19. 11 Jun, 2012 1 commit
  20. 27 May, 2012 1 commit
  21. 10 May, 2012 2 commits
  22. 05 May, 2012 1 commit
    • Glenn Morris's avatar
      More small edits for doc/lispref · ddff3351
      Glenn Morris authored
      * control.texi: Where possible, use example rather than smallexample.
      (Sequencing, Conditionals, Signaling Errors, Handling Errors):
      Tweak page breaks.
      
      * customize.texi: Where possible, use example rather than smallexample.
      (Common Keywords, Variable Definitions, Applying Customizations)
      (Custom Themes): Tweak page breaks.
      
      * eval.texi, functions.texi, loading.texi, macros.texi:
      Where possible, use example rather than smallexample.
      
      * sequences.texi (Arrays): Tweak page breaks.
      
      * symbols.texi: Where possible, use example rather than smallexample.
      (Symbol Components): Fix typo.
      (Other Plists): Tweak page break.
      ddff3351
  23. 28 Apr, 2012 1 commit
  24. 14 Apr, 2012 1 commit
  25. 12 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Doc and manual fixes related to mule · 8edb942b
      Glenn Morris authored
      * doc/emacs/mule.texi (International): Copyedits.
      (International Chars): Update C-x = example output.
      (Disabling Multibyte): Rename from "Enabling Multibyte".
      Clarify what "unibyte: t" does, and mode-line description.
      (Unibyte Mode): Update for "Disabling Multibyte" node name change.
      Use Texinfo recommended convention for quotes+punctuation.
      
      * doc/emacs/custom.texi (Specifying File Variables):
      Fix "unibyte" description.
      Update for "Disabling Multibyte" node name change.
      
      * doc/emacs/emacs.texi: Update for "Disabling Multibyte" node name change.
      
      * doc/lispref/loading.texi (Loading Non-ASCII):
      "unibyte:" can also be at the end.
      
      * lisp/international/mule.el (set-auto-coding-for-load): Doc fix.
      8edb942b
  26. 08 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Use @env for environment variables in texinfo manuals · 8fc85b20
      Glenn Morris authored
      It renders the same as @code, so in many cases this change is entirely cosmetic.
      
      * doc/emacs/misc.texi (Gnus Startup):
      * doc/lispref/files.texi, doc/lispref/frames.texi:
      * doc/lispref/loading.texi, doc/lispref/os.texi, doc/lispref/processes.texi:
      Use @env for environment variables.
      8fc85b20
  27. 10 Mar, 2012 1 commit
  28. 10 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Update Loading chapter of Emacs manual. · 6c1e4b46
      Chong Yidong authored
      * doc/emacs/loading.texi (Loading): Don't emphasize "library" terminology.
      (Library Search): load-path is not a user option.  Mention role of
      -L option and packages.  Improve examples.
      (Loading Non-ASCII): Don't mention unibyte Emacs, which is
      obsolete.
      (Autoload): Minor clarifications.
      6c1e4b46
  29. 08 Feb, 2012 1 commit
  30. 11 Jan, 2012 1 commit
  31. 05 Jan, 2012 1 commit
  32. 09 Feb, 2011 1 commit
  33. 25 Jan, 2011 1 commit
  34. 23 Jan, 2011 1 commit
  35. 15 Jan, 2011 1 commit
  36. 11 Jan, 2011 1 commit
  37. 02 Jan, 2011 1 commit
  38. 12 Nov, 2010 1 commit