1. 01 Jan, 2013 1 commit
  2. 15 Aug, 2012 1 commit
  3. 11 Jul, 2012 1 commit
    • 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
  4. 12 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Various minor variable/hook cleanups. · f1a4e679
      Chong Yidong authored
      * lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
      Rename from gud-inhibit-global-bindings.
      
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
      
      * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
      erc-dcc-chat-filter-hook, since this is an abnormal hook.
      
      * lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
      hook from nxml-glyph-set-hook.
      
      * lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable
      declaration.
      
      * lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix.
      
      * lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
      Convert to defcustom.
      
      * lisp/url/url-handlers.el (url-handler-regexp):
      * lisp/url/url-nfs.el (url-nfs-automounter-directory-spec):
      * lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
      f1a4e679
  5. 08 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Face cleanups. Remove some uses of old-style face spec and :bold/:italic. · 4b56d0fe
      Chong Yidong authored
      * faces.el (set-face-attribute): Doc fix.
      (modify-face): Don't use :bold and :italic.
      (error, warning, success): Tweak definitions.
      
      * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
      (custom-modified, custom-set, custom-changed, custom-themed)
      (custom-saved, custom-button, custom-button-mouse)
      (custom-button-pressed, custom-state, custom-comment-tag)
      (custom-variable-tag, custom-group-tag-1, custom-group-tag)
      (custom-group-subtitle): Use new-style face specs.
      (custom-invalid-face, custom-rogue-face, custom-modified-face)
      (custom-set-face, custom-changed-face, custom-saved-face)
      (custom-button-face, custom-button-pressed-face)
      (custom-documentation-face, custom-state-face)
      (custom-comment-face, custom-comment-tag-face)
      (custom-variable-tag-face, custom-variable-button-face)
      (custom-face-tag-face, custom-group-tag-face-1)
      (custom-group-tag-face): Remove obsolete face alias.
      
      * epa.el (epa-validity-high, epa-validity-medium)
      (epa-validity-low, epa-mark, epa-field-name, epa-string)
      (epa-field-name, epa-field-body):
      * font-lock.el (font-lock-comment-face, font-lock-string-face)
      (font-lock-keyword-face, font-lock-builtin-face)
      (font-lock-function-name-face, font-lock-variable-name-face)
      (font-lock-type-face, font-lock-constant-face):
      * ido.el (ido-first-match, ido-only-match, ido-subdir)
      (ido-virtual, ido-indicator, ido-incomplete-regexp):
      * speedbar.el (speedbar-button-face, speedbar-file-face)
      (speedbar-directory-face, speedbar-tag-face)
      (speedbar-selected-face, speedbar-highlight-face)
      (speedbar-separator-face):
      * whitespace.el (whitespace-newline, whitespace-space)
      (whitespace-hspace, whitespace-tab, whitespace-trailing)
      (whitespace-line, whitespace-space-before-tab)
      (whitespace-space-after-tab, whitespace-indentation)
      (whitespace-empty):
      * emulation/cua-base.el (cua-global-mark):
      * eshell/em-prompt.el (eshell-prompt):
      * net/newst-plainview.el (newsticker-new-item-face)
      (newsticker-old-item-face, newsticker-immortal-item-face)
      (newsticker-obsolete-item-face, newsticker-date-face)
      (newsticker-statistics-face, newsticker-default-face):
      * net/newst-reader.el (newsticker-feed-face)
      (newsticker-extra-face, newsticker-enclosure-face):
      * net/newst-treeview.el (newsticker-treeview-face)
      (newsticker-treeview-new-face, newsticker-treeview-old-face)
      (newsticker-treeview-immortal-face)
      (newsticker-treeview-obsolete-face)
      (newsticker-treeview-selection-face):
      * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
      (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
      (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
      (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
      * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
      (nxml-outline-active-indicator, nxml-outline-ellipsis):
      * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
      (mpuz-text):
      * progmodes/vera-mode.el (vera-font-lock-number)
      (vera-font-lock-function, vera-font-lock-interface):
      * textmodes/table.el (table-cell): Use new-style face specs, and
      don't use the old :bold and :italic attributes.
      
      * erc-button.el (erc-button):
      * erc-goodies.el (erc-bold-face, erc-inverse-face)
      (erc-underline-face, fg:erc-color-*):
      * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
      (erc-pal-face, erc-fool-face, erc-keyword-face):
      * erc-stamp.el (erc-timestamp-face): Likewise.
      
      * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
      (erc-command-indicator-face, erc-notice-face, erc-action-face)
      (erc-error-face, erc-my-nick-face, erc-nick-default-face)
      (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
      
      * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
      (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
      (ebrowse-member-class, ebrowse-progress): Likewise.
      (ebrowse-tree-mark-face, ebrowse-root-class-face)
      (ebrowse-file-name-face, ebrowse-default-face)
      (ebrowse-member-attribute-face, ebrowse-member-class-face)
      (ebrowse-progress-face): Remove obsolete faces.
      
      * progmodes/flymake.el (flymake-errline, flymake-warnline):
      Inherit from error and warning faces respectively.
      
      * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
      Likewise.
      (flyspell-incorrect-face, flyspell-duplicate-face): Remove
      obsolete aliases.
      
      * display.texi (Face Attributes): Font family does not accept
      wildcards.  De-document obsolete :bold and :italic attributes.
      (Defining Faces): Use new-style face spec format.
      4b56d0fe
  6. 19 Apr, 2012 1 commit
    • Juanma Barranquero's avatar
      lisp/*: Add declarations, remove unused bindings, mark unused args. · 4d6769e1
      Juanma Barranquero authored
      * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
        (mouse-avoidance-nudge-mouse): Remove unused binding.
      
      * lisp/imenu.el (imenu-default-goto-function): Mark unused args.
        (imenu-progress-message): Remove obsolete macro; all callers changed.
      
      * lisp/mouse.el (mouse-menu-major-mode-map):
      * lisp/emacs-lisp/authors.el (authors-scan-change-log)
        (authors-add-to-author-list):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
      * lisp/emacs-lisp/smie.el (smie-auto-fill):
      * lisp/mail/sendmail.el (mail-bury):
      * lisp/mail/unrmail.el (unrmail):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/textmodes/picture.el (picture-mouse-set-point):
        Remove unused bindings.
      
      * lisp/subr.el (keymap-canonicalize): Remove unused binding.
        (read-passwd): Mark unused arg.
      
      * lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
        (tutorial--save-tutorial-to): Remove unused variable.
      
      * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
        (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
        (package-generate-autoloads, package-menu--generate)
        (package-menu--find-upgrades): Remove unused bindings.
      
      * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
        (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
        (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
        (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
        (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
        (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
        (cua--rectangle-aux-replace, cua--left-fill-rectangle)
        (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
        (cua-delete-char-rectangle): Mark unused args.
        (cua-align-rectangle): Remove unused binding.
      
      * lisp/mail/rmail.el (compilation--message->loc)
        (epa--find-coding-system-for-mime-charset): Declare.
      
      * lisp/net/dbus.el (dbus-register-service): Declare.
        (dbus-name-owner-changed-handler): Remove unused binding.
      
      * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
        (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
        (nxml-scan-backward-within): Mark unused arg.
        (nxml-dynamic-markup-word): Remove unused binding.
      4d6769e1
  7. 09 Apr, 2012 1 commit
  8. 12 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Adapt nXML mode to Emacs 24 completion scheme. · 5d1ac394
      Chong Yidong authored
      * lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
      (nxml-completion-at-point-function): New function.
      (nxml-mode): Use it.
      (nxml-bind-meta-tab-to-complete-flag): Default to t.
      
      Fixes: debbugs:6776
      5d1ac394
  9. 10 Feb, 2012 1 commit
  10. 11 Jan, 2012 1 commit
  11. 05 Jan, 2012 1 commit
  12. 30 Dec, 2011 1 commit
  13. 04 Dec, 2011 1 commit
  14. 27 Nov, 2011 1 commit
  15. 20 Nov, 2011 1 commit
  16. 15 Nov, 2011 1 commit
  17. 01 Jul, 2011 1 commit
  18. 22 May, 2011 1 commit
  19. 20 May, 2011 1 commit
  20. 26 Jan, 2011 1 commit
  21. 25 Jan, 2011 1 commit
  22. 16 Jan, 2011 1 commit
  23. 15 Jan, 2011 1 commit
  24. 02 Jan, 2011 1 commit
  25. 03 Dec, 2010 2 commits
  26. 30 Nov, 2010 1 commit
    • Sam Steingold's avatar
      * lisp/nxml/nxml-mode.el (nxml-parent-document): Add a variable. · f7ca27a1
      Sam Steingold authored
      (nxml-parent-document-set): A function to set `nxml-parent-document'.
      (nxml-mode): Define using `define-derived-mode' instead of `defun'.
      (nxml-mode-hook): Remove `defcustom' (auto-defined by
      define-derived-mode').
      * lisp/nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
      users who want to call `nxml-parent-document-set'.
      f7ca27a1
  27. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  28. 24 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Bind "C-c ]" to block-closing commands in several modes. · 8a79905d
      Chong Yidong authored
      Bind "C-c ]" to ...
      * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
      * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
      * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
      * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
      8a79905d
  29. 09 Sep, 2010 1 commit
  30. 14 Jun, 2010 1 commit
  31. 20 May, 2010 1 commit
  32. 12 Mar, 2010 1 commit
    • Chong Yidong's avatar
      Reorganize Custom groups. · eba5b4dd
      Chong Yidong authored
      * cus-edit.el (processes): Remove from development group.
      (oop, hypermedia): Delete group.
      (net): New group.
      
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in net group.
      
      * view.el (view): Remove from editing group.
      
      * uniquify.el (uniquify): Put in files group.
      
      * net/browse-url.el (browse-url):
      * ps-print.el (postscript): Put in external group.
      
      * cus-edit.el (outlines):
      * textmodes/text-mode.el (text-mode-hook):
      * textmodes/table.el (table):
      * textmodes/picture.el (picture):
      * outline.el (outlines): Put in wp group.
      
      * nxml/nxml-mode.el (nxml): Remove from wp group.
      
      * net/tramp-imap.el (tramp-imap): Put in tramp group.
      
      * mail/metamail.el (metamail): Remove from hypermedia group.
      
      * cus-edit.el (abbrev):
      * whitespace.el (whitespace):
      * vcursor.el (vcursor):
      * reveal.el (reveal):
      * hl-line.el (hl-line): Put in convenience group.
      
      * epg-config.el (epg): Put in data group.
      
      * emulation/pc-select.el (pc-select): Put in emulations group.
      
      * calculator.el (calculator): Put in applications group.
      
      * org/org.el (org): Remove from hypermedia group.
      eba5b4dd
  33. 23 Feb, 2010 1 commit
  34. 16 Feb, 2010 1 commit
    • Chong Yidong's avatar
      Minor tweaks to custom groups. · ff90f4b0
      Chong Yidong authored
      * cus-edit.el (hardware): Doc fix.
      
      * man.el (man): Add to external custom group.
      
      * delim-col.el (columns): Move to wp custom group.
      
      * doc-view.el (doc-view): Add to data custom group.
      
      * cedet/data-debug.el (data-debug): Move to extensions group.
      
      * cedet/ede.el (ede):
      * cedet/srecode.el (srecode):
      * cedet/semantic.el (semantic): Put in tools and extensions group.
      
      * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
      ff90f4b0
  35. 16 Jan, 2010 1 commit
  36. 13 Jan, 2010 1 commit
  37. 28 Nov, 2009 1 commit
    • Stefan Monnier's avatar
      Try and remove assumptions about point-min==1. · 21f49db9
      Stefan Monnier authored
      * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
      (rng-compute-mode-line-string): Show the validation percentage in
      terms of the narrowed text, not the widened text.
      (rng-do-some-validation): Don't catch internal errors when debugging.
      (rng-first-error): Simplify.
      (rng-after-change-function): Remove work around.  AFAIK the bug has
      been fixed a while ago.
      21f49db9
  38. 05 Nov, 2009 1 commit
    • Stefan Monnier's avatar
      * nxml/xsd-regexp.el (xsdre-gen-categories): · 2adaf057
      Stefan Monnier authored
      * nxml/xmltok.el (xmltok-parse-entity):
      * nxml/rng-parse.el (rng-parse-validate-file):
      * nxml/rng-maint.el (rng-format-manual, rng-manual-output-force-new-line):
      * nxml/rng-loc.el (rng-save-schema-location-1):
      * nxml/rng-cmpct.el (rng-c-parse-file):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
      2adaf057
  39. 24 Oct, 2009 1 commit