1. 04 Aug, 2013 1 commit
    • Xue Fuqiao's avatar
      Cleanup for vc-ignore. · ab419665
      Xue Fuqiao authored
      * vc/vc.el (vc-ignore): Rewrite.
      (vc-default-ignore-completion-table):
      (vc--read-lines):
      (vc--add-line, vc--remove-regexp): New functions.
      
      * vc/vc-svn.el (vc-svn-ignore): Doc fix.
      (vc-svn-ignore-completion-table): New function.
      
      * vc/vc-hg.el (vc-hg-ignore): Rewrite.
      (vc-hg-ignore-completion-table):
      (vc-hg-find-ignore-file): New functions.
      
      * vc/vc-git.el (vc-git-ignore): Rewrite.
      (vc-git-ignore-completion-table):
      (vc-git-find-ignore-file): New functions.
      
      * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
      
      * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
      (vc-bzr-ignore-completion-table):
      (vc-bzr-find-ignore-file): New functions.
      ab419665
  2. 30 Jul, 2013 1 commit
    • Xue Fuqiao's avatar
      Add vc-ignore. · 7aa7fff0
      Xue Fuqiao authored
      * lisp/vc/vc.el (vc-ignore): New function.
      
      * lisp/vc/vc-svn.el (vc-svn-ignore): New function.
      
      * lisp/vc/vc-hg.el (vc-hg-ignore): New function.
      
      * lisp/vc/vc-git.el (vc-git-ignore): New function.
      
      * lisp/vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
      (vc-dir-ignore): New function.
      
      * lisp/vc/vc-cvs.el (vc-cvs-ignore): New function.
      (cvs-append-to-ignore): Moved from pcvs.el.
      
      * lisp/vc/vc-bzr.el (vc-bzr-ignore): New function.
      
      * lisp/vc/pcvs.el (vc-cvs): Require 'vc-cvs.
      7aa7fff0
  3. 11 Jun, 2013 1 commit
  4. 24 Apr, 2013 1 commit
    • Glenn Morris's avatar
      Doc fixes related to vc-print-log · bb7cdf58
      Glenn Morris authored
      * vc/vc-bzr.el (vc-bzr-print-log):
      * vc/vc-cvs.el (vc-cvs-print-log):
      * vc/vc-git.el (vc-git-print-log):
      * vc/vc-hg.el (vc-hg-print-log):
      * vc/vc-mtn.el (vc-mtn-print-log):
      * vc/vc-rcs.el (vc-rcs-print-log):
      * vc/vc-sccs.el (vc-sccs-print-log):
      * vc/vc-svn.el (vc-svn-print-log):
      * vc/vc.el (vc-print-log-internal): Doc fixes.
      bb7cdf58
  5. 21 Apr, 2013 1 commit
    • Glenn Morris's avatar
      vc.el doc fixes · 1b42ee43
      Glenn Morris authored
      * lisp/vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
      Add doc strings.
      (vc-print-log): Clarify interactive prompt.
      1b42ee43
  6. 04 Feb, 2013 1 commit
  7. 06 Jan, 2013 1 commit
  8. 01 Jan, 2013 1 commit
  9. 02 Dec, 2012 1 commit
  10. 30 Nov, 2012 1 commit
  11. 20 Oct, 2012 1 commit
  12. 27 Sep, 2012 1 commit
  13. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  14. 24 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Remove several obsolete vars and functions unlikely to be still in use. · a5f2b6ec
      Chong Yidong authored
      * lisp/vc/log-edit.el (cvs-changelog-full-paragraphs)
      (cvs-commit-buffer-require-final-newline): Obsolete variables
      removed.
      
      * lisp/font-lock.el (font-lock-reference-face): Use
      define-obsolete-variable-alias.
      
      * lisp/international/mule.el (set-char-table-default): Remove.
      (set-coding-priority, make-coding-system, generic-char-p)
      (charset-list, charset-bytes, charset-id): Use declare to mark
      obsolete.
      
      * lisp/mail/supercite.el (sc-version): Remove obsolete function.
      (sc-describe): Don't mark as obsolete, since it is bound.
      (sc-submit-bug-report): Remove.
      
      * lisp/progmodes/compile.el (compile-internal): Remove obsolete
      function.
      (compilation-parse-errors-function): Fix typo.
      
      * lisp/vc/emerge.el (emerge-mode): Make it an obsolete alias.
      (emerge-version): Remove.
      
      * lisp/vc/pcvs-defs.el (cvs-buffer-name-alist)
      (cvs-invert-ignore-marks): Remove references to obsolete vars.
      * lisp/vc/vc-hooks.el (vc-default-registered): Don't use
      vc-master-templates.
      
      * lisp/vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
      * lisp/vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
      * lisp/vc/vc.el (vc-checkout-carefully): Likewise.
      
      * src/chartab.c (Fset_char_table_default): Obsolete function removed.
      a5f2b6ec
  15. 13 Sep, 2012 1 commit
  16. 29 Aug, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/files.el (read-only-mode): New minor mode. · 35e62fc9
      Stefan Monnier authored
      (toggle-read-only): Use it and mark obsolete.
      (find-file--read-only):
      * lisp/vc/vc.el (vc-next-action, vc-checkout):
      * lisp/vc/vc-cvs.el (vc-cvs-checkout):
      * lisp/obsolete/vc-mcvs.el (vc-mcvs-update):
      * lisp/ffap.el (ffap--toggle-read-only): Update callers.
      35e62fc9
  17. 15 Aug, 2012 2 commits
  18. 28 Jul, 2012 1 commit
  19. 11 Jul, 2012 2 commits
    • Stefan Monnier's avatar
      More CL cleanups and reduction of use of cl.el. · a464a6c7
      Stefan Monnier authored
      * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
      * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
      * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
      * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
      * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
      * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
      * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
      * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
      * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
      * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
      * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
      * eshell/em-cmpl.el, eshell/em-banner.el:
      * url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
      * url/url-future.el, url/url-dav.el, url/url-cookie.el:
      * calendar/parse-time.el, test/eshell.el: Use cl-lib.
      * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
      * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
      * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
      * term/ns-win.el, term.el, shell.el, ps-samp.el:
      * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
      * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
      * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
      * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
      * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
      * mail/mailheader.el, mail/feedmail.el:
      * url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
      * url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
      Dont use CL.
      * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
      * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
      `lambda' rather than with `quote'.
      (eshell-do-opt): Adjust accordingly.
      (eshell-process-option): Simplify.
      * eshell/esh-var.el:
      * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
      * emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
      (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
      to `pcase--dontcare'.
      * emacs-cl.el (labels): Mark obsolete.
      (cl--letf, letf): Move to cl-lib.
      (cl--letf*, letf*): Remove.
      * emacs-cl-lib.el (cl-nth-value): Use defalias.
      * emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
      (cl-progv): Rewrite.
      (cl--letf, cl-letf): Move from cl.el.
      (cl-letf*): New macro.
      * emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
      a464a6c7
    • 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
  20. 29 May, 2012 1 commit
  21. 26 Apr, 2012 1 commit
    • 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
  22. 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
  23. 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
  24. 16 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Replace independent implementations of string-prefix-p · 121b8917
      Glenn Morris authored
      * vc/vc.el (vc-string-prefix-p):
      * vc/pcvs-util.el (cvs-string-prefix-p):
      * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
      * mpc.el (mpc-string-prefix-p):
      Make all of these into obsolete aliases for string-prefix-p.
      Update callers.
      * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
      121b8917
  25. 24 Mar, 2012 1 commit
  26. 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
  27. 25 Jan, 2012 1 commit
  28. 05 Jan, 2012 1 commit
  29. 17 Dec, 2011 1 commit
    • Chong Yidong's avatar
      More updates for VC documentation. · 9cff91f8
      Chong Yidong authored
      * doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
      less CVS-specific.
      (VC With A Merging VCS, VC With A Locking VCS): Add xref to
      Registering node.
      (Secondary VC Commands): Deleted.  Promote subnodes.
      (Log Buffer): Add command name for C-c C-c.  Fix the name of the
      log buffer.  Add index entries.
      (VCS Changesets, Types of Log File, VC With A Merging VCS): Use
      "commit" terminology.
      (Old Revisions): Move it to just before VC Change Log.  "Tag" here
      doesn't refer to tags tables.  Note other possible forms of the
      revision ID.  C-x v = does not save.
      (Registering): Note similarity to C-x v v action.  Fix description
      of how backends are chosen.  De-document vc-default-init-revision.
      (VC Change Log): Document C-x v l in VC-Dir buffer.  Document RET
      in root log buffers.
      
      * lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.
      9cff91f8
  30. 16 Dec, 2011 1 commit
  31. 23 Nov, 2011 1 commit
  32. 20 Nov, 2011 1 commit
  33. 20 Oct, 2011 1 commit
  34. 18 Oct, 2011 1 commit
    • Glenn Morris's avatar
      Doc fixes related to vc-initial-comment. · 80c6d77f
      Glenn Morris authored
      * doc/emacs/maintaining.texi (Registering): Remove vc-initial-comment. 
      
      * lisp/vc/vc.el (vc-initial-comment): Mark as obsolete.
      
      * lisp/ChangeLog.15: Fix old entry.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:9745
      80c6d77f
  35. 10 Oct, 2011 1 commit
  36. 13 Jul, 2011 1 commit
  37. 10 Jul, 2011 1 commit
  38. 03 Jul, 2011 1 commit