1. 04 May, 2012 1 commit
    • 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
  2. 27 Apr, 2012 1 commit
  3. 26 Apr, 2012 6 commits
    • Stefan Monnier's avatar
      Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT). · e95a67dc
      Stefan Monnier authored
      * lisp/term/ns-win.el (ns-define-service):
      * lisp/progmodes/pascal.el (pascal-goto-defun):
      * lisp/progmodes/js.el (js--read-tab):
      * lisp/progmodes/etags.el (tags-lazy-completion-table):
      * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
      * lisp/emacs-lisp/ewoc.el (ewoc--wrap):
      * lisp/emacs-lisp/assoc.el (aput, adelete, amake):
      * lisp/doc-view.el (doc-view-convert-current-doc):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
      e95a67dc
    • Andreas Schwab's avatar
      Fixes: debbugs:11344 · c4347ab9
      Andreas Schwab authored
      * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
      c4347ab9
    • Chong Yidong's avatar
      Fixes for diff-hunk-kill. · cb3e7ae0
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
      value, for symmetry with diff-end-of-hunk.
      (diff-split-hunk, diff-find-source-location)
      (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
      (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
      (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
      compute the relevant hunk or file properly.
      (diff-file-junk-re): Add bzr's "modified file" tag.
      
      Fixes: debbugs:6041 debbugs:6005
      cb3e7ae0
    • Chong Yidong's avatar
      Allow undoing in read-only diff-mode buffers. · 8b71081d
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-undo): New command.
      (diff-mode-shared-map): Bind it to / and [remap undo].
      
      Fixes: debbugs:5302
      8b71081d
    • Stefan Monnier's avatar
      * lisp/vc/vc-mtn.el: · 0d42eb3e
      Stefan Monnier authored
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-dir.el:
      * lisp/vc/vc-cvs.el:
      * lisp/vc/vc-bzr.el:
      * lisp/vc/vc-arch.el:
      * lisp/vc/vc.el: Replace lexical-let by lexical-binding.
      * lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
      * lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
      * lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
      0d42eb3e
    • Chong Yidong's avatar
      Adapt ediff window handling to multi-tty. · f08ae1c9
      Chong Yidong authored
      * vc/ediff-init.el: Always define ediff-pixel-width/height.
      
      * vc/ediff-wind.el (ediff-setup-windows-default): New function.
      (ediff-window-setup-function): Use it as the default, to set up
      windows based on whether the current frame is graphical.
      (ediff-choose-window-setup-function-automatically): Make obsolete.
      
      Fixes: debbugs:2138
      f08ae1c9
  4. 25 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Fix whitespace highlighting of context diffs. · 07875ee7
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
      (diff-mode): Use it.
      
      * lisp/vc/diff.el (diff-sentinel):
      * lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
      Whitespace mode variables based on diff style.
      
      Fixes: debbugs:8612
      07875ee7
  5. 22 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Tweaks to Customize interface. Set custom-reset-button-menu to t. · cf20dee0
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-reset-menu)
      (Custom-reset-standard): Tweak labels.
      (custom-reset-button-menu): Change default to t.
      (custom-buffer-create-internal): For the custom-reset-button-menu
      case, put the revert button first.
      (custom-group-subtitle): New face.
      (custom-group-value-create): Align docstring to a specific column.
      
      * wid-edit.el (widget-documentation-link-add): Don't handle
      indentation in this function.
      (widget-documentation-string-indent-to): New function.
      (widget-documentation-string-value-create): Use it.
      
      * autorevert.el (auto-revert):
      * epg-config.el (epg):
      * ibuffer.el (ibuffer):
      * mpc.el (mpc):
      * ses.el (ses):
      * eshell/eshell.el (eshell):
      * net/ange-ftp.el (ange-ftp):
      * progmodes/ebnf2ps.el (postscript):
      * progmodes/flymake.el (flymake):
      * progmodes/prolog.el (prolog):
      * progmodes/verilog-mode.el (verilog-mode):
      * progmodes/which-func.el (which-func):
      * textmodes/picture.el (picture):
      * textmodes/tildify.el (tildify):
      * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
      customization buffers.
      cf20dee0
  6. 16 Apr, 2012 2 commits
  7. 14 Apr, 2012 1 commit
  8. 11 Apr, 2012 3 commits
  9. 10 Apr, 2012 1 commit
  10. 09 Apr, 2012 1 commit
  11. 28 Mar, 2012 1 commit
  12. 26 Mar, 2012 1 commit
  13. 24 Mar, 2012 1 commit
  14. 22 Mar, 2012 3 commits
  15. 13 Mar, 2012 1 commit
  16. 01 Mar, 2012 1 commit
  17. 28 Feb, 2012 1 commit
  18. 25 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Add custom groups for VC backends, for consistency with vc-bzr. · 67b0de11
      Chong Yidong authored
      Callers changed.
      
      * vc/vc-arch.el (vc-arch):
      * vc/vc-cvs.el (vc-cvs):
      * vc/vc-git.el (vc-git):
      * vc/vc-hg.el (vc-hg):
      * vc/vc-mtn.el (vc-mtn):
      * vc/vc-rcs.el (vc-rcs):
      * vc/vc-sccs.el (vc-sccs):
      * vc/vc-svn.el (vc-svn): New customization group.
      
      Fixes: debbugs:10871
      67b0de11
  19. 21 Feb, 2012 1 commit
  20. 19 Feb, 2012 1 commit
  21. 12 Feb, 2012 1 commit
  22. 11 Feb, 2012 1 commit
  23. 10 Feb, 2012 1 commit
  24. 09 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Small VC doc fixes · dab3703d
      Glenn Morris authored
      * lisp/vc/log-view.el (log-view-toggle-entry-display):
      * lisp/vc/vc.el (vc-merge, vc-pull): Doc fixes.
      * etc/NEWS: Condense a few VC entries.
      dab3703d
  25. 08 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Minor-mode doc fixes for ARG behavior · e1ac4066
      Glenn Morris authored
      * lisp/completion.el (dynamic-completion-mode):
      * lisp/dirtrack.el (dirtrack-debug-mode):
      * lisp/electric.el (electric-layout-mode):
      * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
      * lisp/face-remap.el (text-scale-mode, buffer-face-mode):
      * lisp/iimage.el (iimage-mode):
      * lisp/image-mode.el (image-transform-mode):
      * lisp/minibuffer.el (completion-in-region-mode):
      * lisp/scroll-lock.el (scroll-lock-mode):
      * lisp/simple.el (next-error-follow-minor-mode):
      * lisp/tar-mode.el (tar-subfile-mode):
      * lisp/tooltip.el (tooltip-mode):
      * lisp/vcursor.el (vcursor-use-vcursor-map):
      * lisp/wid-browse.el (widget-minor-mode):
      * lisp/emulation/tpu-edt.el (tpu-edt-mode):
      * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
      * lisp/international/iso-ascii.el (iso-ascii-mode):
      * lisp/language/thai-util.el (thai-word-mode):
      * lisp/mail/supercite.el (sc-minor-mode):
      * lisp/net/goto-addr.el (goto-address-mode):
      * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/progmodes/flymake.el (flymake-mode):
      * lisp/progmodes/glasses.el (glasses-mode):
      * lisp/progmodes/hideshow.el (hs-minor-mode):
      * lisp/progmodes/pascal.el (pascal-outline-mode):
      * lisp/textmodes/enriched.el (enriched-mode):
      * lisp/vc/smerge-mode.el (smerge-mode):
      Doc fixes (minor mode argument).
      
      * etc/NEWS: Related markup.
      e1ac4066
  26. 26 Jan, 2012 1 commit
  27. 25 Jan, 2012 1 commit
  28. 24 Jan, 2012 1 commit
    • Glenn Morris's avatar
      Fix rcs and sccs create-tag commands. · 70df4bbe
      Glenn Morris authored
      * lisp/vc/vc-rcs.el (vc-rcs-create-tag):
      * lisp/vc/vc-sccs.el (vc-sccs-create-tag):
      Fix argument spec to be what vc-create-tag expects.
      
      Fixes: debbugs:10515
      70df4bbe
  29. 23 Jan, 2012 1 commit
  30. 05 Jan, 2012 1 commit