1. 02 Jun, 2013 1 commit
  2. 27 Apr, 2013 1 commit
  3. 01 Jan, 2013 1 commit
  4. 09 Aug, 2012 2 commits
  5. 11 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Allow use of vc-root-* commands in *vc-log* buffers. · 9af57756
      Chong Yidong authored
      * lisp/vc/log-edit.el (log-edit-vc-backend): New variable.
      (log-edit): Doc fix.
      
      * lisp/vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
      
      * lisp/vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
      argument of log-edit to set up all local variables.
      (vc-start-logentry): New optional arg specifying VC backend.
      
      * lisp/vc/vc.el (vc-checkin): Use it.
      (vc-deduce-fileset): Handle Log Edit buffers.
      (vc-diff): Make first argument optional too.
      9af57756
  6. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  7. 11 Feb, 2012 1 commit
  8. 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
  9. 05 Jan, 2012 1 commit
  10. 02 Jun, 2011 1 commit
  11. 21 Mar, 2011 1 commit
  12. 11 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Misc fixes, and use lexical-binding in more files. · ba83908c
      Stefan Monnier authored
      * lisp/subr.el (letrec): New macro.
      (with-wrapper-hook): Move from lisp/simple.el and don't use CL.
      * simple.el (with-wrapper-hook): Move with-wrapper-hook to subr.el.
      * lisp/help-fns.el (help-function-arglist): Handle subroutines as well.
      (describe-variable): Use special-variable-p to filter completions.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't expand `declare'
      in defmacros.
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
      Handle `declare'.
      * lisp/emacs-lisp/cl.el (pushnew): Silence unfixable warning.
      * lisp/emacs-lisp/cl-macs.el (defstruct, define-compiler-macro):
      Mark unused arg as unused.
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Use memq.
      * lisp/emacs-lisp/autoload.el (make-autoload): Don't assume the macro's
      first sexp is a list.
      (autoload-generate-file-autoloads): Improve error message.
      * lisp/emacs-lisp/advice.el (ad-arglist): Use help-function-arglist
      to understand the new byte-code arg format.
      * lisp/vc/smerge-mode.el:
      * lisp/vc/log-view.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/cvs-status.el:
      * lisp/uniquify.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/bibtex-style.el:
      * lisp/reveal.el:
      * lisp/newcomment.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/abbrev.el: Use lexical-binding.
      * src/eval.c (Fprog1, Fprog2): Simplify and use XCDR/XCAR.
      (Fdefvar): Remove redundant SYMBOLP check.
      (Ffunctionp): Don't signal an error for undefined aliases.
      * doc/lispref/variables.texi (Converting to Lexical Binding): New node.
      ba83908c
  13. 14 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Add Log View toggle and log format customization for Git and Hg. · 33f6cf7b
      Chong Yidong authored
      * lisp/vc/vc-git.el (vc-git-root-log-format): New option for
      customizing log format.
      (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
      (vc-git-log-view-mode): Use it.
      (vc-git-expanded-log-entry): New function.
      (vc-git-log-view-mode): Use it.  Truncate lines in root log.
      
      * lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
      customizing log format.
      (vc-hg-print-log): Use it.
      (vc-hg-expanded-log-entry): New function.
      (vc-hg-log-view-mode): Use vc-hg-root-log-template and
      vc-hg-expanded-log-entry.  Truncate lines in root log.
      
      * lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
      
      * lisp/vc/log-view.el (log-view-mode-menu): Add
      log-view-toggle-entry-display.
      33f6cf7b
  14. 13 Feb, 2011 2 commits
    • Chong Yidong's avatar
      Bind RET in Log View mode to a command that toggles a more detailed display. · d4eb88c7
      Chong Yidong authored
      * lisp/vc/log-view.el: New command log-view-toggle-entry-display for
      toggling log entries between concise and detailed forms.
      (log-view-toggle-entry-display): New command.
      (log-view-mode-map): Bind RET to it.
      (log-view-expanded-log-entry-function): New variable.
      (log-view-current-entry, log-view-inside-comment-p)
      (log-view-current-tag): New functions.
      (log-view-toggle-mark-entry): Use log-view-current-entry and
      log-view-end-of-defun instead of searching directly with
      log-view-message-re.
      (log-view-end-of-defun): Likewise.  Add optional ARG for
      compatibility with end-of-defun.
      (log-view-end-of-defun): Ignore comments and VC buttons.
      
      * lisp/vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
      (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
      d4eb88c7
    • Chong Yidong's avatar
      Use simple buttons, instead of widget buttons, in vc-log. · 75d4dcc9
      Chong Yidong authored
      * lisp/vc/vc.el (vc-print-log-setup-buttons): Instead of using the
      widget library for buttons, just use button.el.
      
      * lisp/vc/log-view.el (log-view-mode-map): Don't inherit from
      widget-keymap.
      75d4dcc9
  15. 01 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      `special-mode-map'.
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
      abef340a
  16. 25 Jan, 2011 1 commit
  17. 15 Jan, 2011 1 commit
  18. 10 Oct, 2010 1 commit
  19. 11 Jun, 2010 2 commits
    • Juri Linkov's avatar
      * lisp/finder.el (finder-known-keywords): Add keyword "vc" · 9766adfb
      Juri Linkov authored
      for version control.
      
      * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
      * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
      * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
      * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
      9766adfb
    • Juri Linkov's avatar
      Move version control related files to the "vc" subdirectory. · 56b2854f
      Juri Linkov authored
      * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
      * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
      * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
      * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
      * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
      * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
      * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
      * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
      Move files to the "vc" subdirectory.
      56b2854f
  20. 14 Mar, 2010 1 commit
    • Juri Linkov's avatar
      Fix keywords. · 88f4758e
      Juri Linkov authored
      * finder.el (finder-compile-keywords): Replace `princ' with
      `prin1' on a list of symbols interned from keyword strings.
      
      * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
      a comma, then split keywords using a comma and optional whitespace.
      Otherwise, split by whitespace.
      
      * complete.el:
      * face-remap.el:
      * log-view.el:
      * net/hmac-def.el:
      * net/hmac-md5.el:
      * net/netrc.el:
      * progmodes/mixal-mode.el: Fix keywords.
      88f4758e
  21. 12 Mar, 2010 1 commit
    • Dan Nicolaescu's avatar
      Add .dir-locals.el support for file-less buffers. · 8117868f
      Dan Nicolaescu authored
      * files.el (hack-local-variables): Split out code to apply local
      variable settings ...
      (hack-local-variables-apply): ... here.  New function.
      (hack-dir-local-variables): Use the default directory for when the
      buffer does not have an associated file.
      (hack-dir-local-variables-non-file-buffer): New function.
      * diff-mode.el (diff-mode):
      * vc-annotate.el (vc-annotate-mode):
      * vc-dir.el (vc-dir-mode):
      * log-edit.el (log-edit-mode):
      * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
      8117868f
  22. 15 Jan, 2010 1 commit
    • Glenn Morris's avatar
      Fix Bug#5311. · 56a03f46
      Glenn Morris authored
      * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
      
      * wid-edit.el (widget-keymap): Doc fix.
      56a03f46
  23. 13 Jan, 2010 1 commit
  24. 06 Dec, 2009 1 commit
  25. 04 Dec, 2009 1 commit
  26. 01 Dec, 2009 1 commit
  27. 26 Nov, 2009 1 commit
  28. 05 Oct, 2009 1 commit
  29. 28 Sep, 2009 1 commit
  30. 01 Sep, 2009 1 commit
  31. 19 Aug, 2009 1 commit
  32. 05 Jan, 2009 1 commit
  33. 24 Nov, 2008 1 commit
  34. 16 Jun, 2008 1 commit
  35. 15 Jun, 2008 1 commit
    • Dan Nicolaescu's avatar
      * log-view.el (log-view-diff-changeset): New function. · 6653c6b7
      Dan Nicolaescu authored
      (log-view-mode-map, log-view-mode-menu): Bind it.
      (log-view-per-file-logs, log-view-vc-fileset)
      (log-view-vc-backend): New variables.
      (log-view-find-revision, log-view-modify-change-comment)
      (log-view-annotate-version): Throw an error if the log is for more
      than one file and we can't find the current file.  Get the current
      file from log-view-vc-fileset if necessary.
      (log-view-diff): Get the current file from log-view-vc-fileset if
      necessary.
      
      * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
      
      * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
      (vc-hg-log-view-mode): Declare for compiler.
      (vc-hg-log-view-mode): Set log-view-per-file-logs and
      log-view-file-re.
      (vc-hg-diff): If no file is passed, use default-directory for cwd.
      
      * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
      
      * vc-svn.el (vc-svn-log-view-mode): New derived mode.
      6653c6b7
  36. 06 May, 2008 1 commit
  37. 09 Apr, 2008 1 commit