1. 13 Jul, 2012 2 commits
    • Chong Yidong's avatar
      Give permanent-local property to per-buffer variables without defaults. · dea31bd3
      Chong Yidong authored
      * doc/emacs/custom.texi (Examining): Update C-h v message.
      
      * lisp/bindings.el: Assign a non-nil permanent-local property to
      per-buffer variables which lack a default value.
      
      * lisp/help-fns.el (describe-variable): In the "automatically becomes
      local" notice, take note of permanent-local variables.
      
      Fixes: debbugs:11930
      dea31bd3
    • Chong Yidong's avatar
      Don't warn on toggle-read-only calls. · b68b3337
      Chong Yidong authored
      Clarify the documentation of toggle-read-only, and audit the code tree
      for uses of toggle-read-only; where appropriate, switch to setting the
      variable buffer-read-only or calling toggle-read-only with a (new)
      second arg.
      
      * lisp/files.el (toggle-read-only): Doc fix and code cleanup.  New arg
      to allow printing the message when called from Lisp.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
      Remove toggle-read-only.
      
      * lisp/bindings.el (mode-line-toggle-read-only):
      * lisp/dired.el (dired-toggle-read-only):
      * lisp/ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
      with non-nil second arg.
      
      * lisp/bs.el (bs-toggle-readonly):
      * lisp/buff-menu.el (Buffer-menu-toggle-read-only): Remove
      with-no-warnings around toggle-read-only.
      
      * lisp/ffap.el (ffap--toggle-read-only): Accept a list of buffers.
      Remove with-no-warnings around toggle-read-only.
      (ffap-read-only, ffap-read-only-other-window)
      (ffap-read-only-other-frame): Callers changed.
      
      * lisp/help-mode.el: Don't require view package.
      (help-mode-finish): Set buffer-read-only instead of calling
      toggle-read-only.
      
      * lisp/emacs-lisp/eieio-custom.el (eieio-customize-object):
      * lisp/vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
      directly.
      
      * lisp/gnus/smime.el (smime-certificate-info): Set buffer-read-only directly,
      instead of calling toggle-read-only with a (bogus) argument.
      
      * doc/emacs/buffers.texi (Misc Buffer): Document view-read-only.
      
      * doc/lispref/buffers.texi (Read Only Buffers): Document toggle-read-only
      changes.  Reword to account for the fact that read-only is currently not
      supported in overlay properties.
      b68b3337
  2. 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
  3. 06 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Tweak Emacs manual info menu ordering. · 6edc3d28
      Chong Yidong authored
      * doc/emacs/emacs.texi: Re-order top-level menu to correspond to logical
      order, to avoid makeinfo warnings.
      
      * doc/emacs/ack.texi (Acknowledgments): Note new python.el.
      6edc3d28
  4. 29 Jun, 2012 1 commit
  5. 27 Jun, 2012 1 commit
  6. 26 Jun, 2012 1 commit
  7. 24 Jun, 2012 1 commit
  8. 19 Jun, 2012 1 commit
  9. 17 Jun, 2012 1 commit
  10. 11 Jun, 2012 1 commit
  11. 10 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Emacs manual tweaks to accomodate 7x9 pdf. · 166bc0c8
      Chong Yidong authored
      * emacs.texi: Update ISBN and edition number.
      
      * anti.texi:
      * building.texi:
      * cmdargs.texi:
      * custom.texi:
      * display.texi:
      * files.texi:
      * frames.texi:
      * glossary.texi:
      * misc.texi:
      * mule.texi:
      * programs.texi:
      * sending.texi:
      * text.texi: Copyedits to avoid underfull/overfull in 7x9 manual.
      166bc0c8
  12. 06 Jun, 2012 1 commit
  13. 01 Jun, 2012 1 commit
  14. 28 May, 2012 1 commit
  15. 27 May, 2012 2 commits
  16. 22 May, 2012 2 commits
  17. 12 May, 2012 1 commit
    • Glenn Morris's avatar
      Let configure test for a suitable mkdir -p · 3fe7cdc8
      Glenn Morris authored
      * configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
      (MKDEPDIR): Use $MKDIR_P.
      
      * Makefile.in (MKDIR_P): New, set by configure.
      (mkdir): Use $MKDIR_P.
      
      * doc/emacs/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/lispintro/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/lispref/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/misc/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * src/Makefile.in (MKDIR_P): New, set by configure.
      
      * src/ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
      3fe7cdc8
  18. 10 May, 2012 2 commits
  19. 09 May, 2012 1 commit
  20. 06 May, 2012 1 commit
  21. 04 May, 2012 2 commits
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
    • Glenn Morris's avatar
      Give info files the .info extension · 8045b906
      Glenn Morris authored
      Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00354.html
      
      * configure.in (INFO_EXT, INFO_OPTS): New output variables.
      
      * doc/emacs/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/emacs/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS): Use $INFO_EXT.
      ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT, and -o.
      
      * doc/lispintro/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      (${infodir}/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/lispintro/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS, clean): Use $INFO_EXT.
      ($(infodir)/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      
      * doc/lispref/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/lispref/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (info, maintainer-clean): Use $INFO_EXT.
      ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      
      * doc/misc/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (INFO_TARGETS): Use $INFO_EXT.
      Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
      * doc/misc/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS): Use $INFO_EXT.
      Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
      8045b906
  22. 03 May, 2012 14 commits