1. 29 Aug, 2012 1 commit
  2. 26 Aug, 2012 1 commit
    • Chong Yidong's avatar
      Make special-display-* and display-buffer-reuse-frames obsolete. · 77f1f99c
      Chong Yidong authored
      * lisp/window.el (special-display-regexps, special-display-frame-alist)
      (special-display-buffer-names, special-display-function)
      (display-buffer-reuse-frames): Mark as obsolete.
      
      * lisp/progmodes/compile.el: Don't use display-buffer-reuse-frames.
      
      * help.el (help-print-return-message): Don't treat
      display-buffer-reuse-frames specially.
      77f1f99c
  3. 15 Aug, 2012 1 commit
  4. 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
  5. 03 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Fix legibility of compilation mode-line messages. · 5205d6f6
      Chong Yidong authored
      * lisp/progmodes/compile.el (compilation-mode-line-fail)
      (compilation-mode-line-run, compilation-mode-line-exit): New
      faces.
      (compilation-start, compilation-handle-exit): Use them.
      
      * etc/themes/wheatgrass-theme.el:
      * etc/themes/deeper-blue-theme.el:
      * etc/themes/tango-dark-theme.el:
      * etc/themes/tsdh-dark-theme.el: Add compilation-mode-line-fail,
      compilation-mode-line-run, and compilation-mode-line-exit faces.
      
      * etc/themes/manoj-dark-theme.el: Remove :family attributes.
      
      Fixes: debbugs:11032
      5205d6f6
  6. 02 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Remove incorrect uses of "modeline". · 37269466
      Chong Yidong authored
      * ansi-color.el (ansi-color-faces-vector): Change default faces.
      
      * cus-edit.el (mode-line):
      * dframe.el (dframe-mouse-hscroll):
      * emacs-lisp/re-builder.el:
      * emacs-lisp/easy-mmode.el (define-minor-mode):
      * frame.el (set-frame-name):
      * help.el (lookup-minor-mode-from-indicator):
      * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
      * progmodes/cc-cmds.el (c-toggle-auto-newline)
      (c-toggle-hungry-state):
      * progmodes/antlr-mode.el (antlr-language-alist):
      * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/which-func.el (which-func, which-func-cleanup-function):
      * term/ns-win.el (ns-face-at-pos):
      * term/sup-mouse.el (sup-mouse-report):
      * textmodes/flyspell.el (flyspell-mode-line-string):
      * textmodes/ispell.el (ispell-highlight-face):
      * textmodes/reftex-global.el:
      * vc/vc-arch.el (vc-arch-mode-line-string):
      * vc/vc-cvs.el (vc-cvs-mode-line-string):
      * vc/vc-git.el (vc-git-mode-line-string):
      * vc/vc-h...
      37269466
  7. 21 May, 2012 1 commit
  8. 18 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to · b581bb5c
      Stefan Monnier authored
      their respective macro declarations.
      * lisp/skeleton.el (define-skeleton):
      * lisp/progmodes/compile.el (define-compilation-mode):
      * lisp/ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
      (define-ibuffer-filter):
      * lisp/emacs-lisp/generic.el (define-generic-mode):
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
      (define-globalized-minor-mode):
      * lisp/emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
      * lisp/emacs-lisp/byte-run.el (defsubst):
      * lisp/custom.el (deftheme): Add doc-string metadata.
      b581bb5c
  9. 13 May, 2012 1 commit
  10. 06 May, 2012 1 commit
  11. 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
  12. 09 Apr, 2012 1 commit
  13. 09 Feb, 2012 2 commits
  14. 01 Feb, 2012 1 commit
  15. 25 Jan, 2012 1 commit
    • Glenn Morris's avatar
      compile/grep fix for bug#10594 · 5ddce96c
      Glenn Morris authored
      * lisp/progmodes/compile.el (compilation-next-error-function):
      Respect compilation-first-column in the "*compilation*" buffer.
      * lisp/progmodes/grep.el (grep-first-column): New variable.
      5ddce96c
  16. 11 Jan, 2012 1 commit
  17. 05 Jan, 2012 1 commit
  18. 18 Nov, 2011 1 commit
  19. 09 Nov, 2011 2 commits
  20. 20 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix more minor mode docstrings. · ac6c8639
      Chong Yidong authored
      * lisp/emulation/cua-base.el (cua-mode):
      * lisp/mail/footnote.el (footnote-mode):
      * lisp/mail/mailabbrev.el (mail-abbrevs-mode):
      * lisp/net/xesam.el (xesam-minor-mode):
      * lisp/progmodes/bug-reference.el (bug-reference-mode):
      * lisp/progmodes/cap-words.el (capitalized-words-mode):
      * lisp/progmodes/compile.el (compilation-minor-mode)
      (compilation-shell-minor-mode):
      * lisp/progmodes/gud.el (gud-tooltip-mode):
      * lisp/progmodes/hideif.el (hide-ifdef-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
      * lisp/progmodes/subword.el (subword-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * lisp/progmodes/which-func.el (which-function-mode):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      * lisp/term/vt100.el (vt100-wide-mode):
      * lisp/textmodes/flyspell.el (flyspell-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/textmodes/nroff-mode.el (nroff-electric-mode):
      * lisp/textmodes/paragraphs.el (use-hard-newlines):
      * lisp/textmodes/refill.el (refill-mode):
      * lisp/textmodes/reftex.el (reftex-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode)
      (sgml-electric-tag-pair-mode):
      * lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
      * lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
      * lisp/emulation/crisp.el (crisp-mode):
      * lisp/emacs-lisp/eldoc.el (eldoc-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
      minor mode behavior.
      
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
      
      * lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
      reflect Emacs 24 minor mode changes.
      
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
      calling a minor mode from Lisp with nil arg enables it, so we have to
      make the working a bit ambiguous here).
      ac6c8639
  21. 10 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Fix various uses of display-buffer and pop-to-buffer · 3199b96f
      Chong Yidong authored
      to avoid using special-display-* and same-window-* variables.
      
      * lisp/buff-menu.el (Buffer-menu-switch-other-window): Use second arg
      of display-buffer.
      (Buffer-menu-2-window): Use switch-to-buffer-other-window.
      
      * lisp/replace.el (occur-mode-goto-occurrence)
      (occur-mode-display-occurrence) Use second arg of pop-to-buffer
      and display-buffer.
      
      * lisp/window.el (display-buffer-alist): Add *Python*.
      
      * lisp/mail/reporter.el (reporter-submit-bug-report): Use second arg of
      display-buffer.
      
      * lisp/mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
      special-display and same-window variables.
      (mail-other-window): Use switch-to-buffer-other-window.
      (mail-other-frame): USe switch-to-buffer-other-frame.
      
      * lisp/progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use
      display-buffer-other-frame.
      (gdb-display-gdb-buffer): Use pop-to-buffer.
      
      * lisp/progmodes/gud.el (gud-goto-info): Use info-other-window.
      
      * lisp/progmodes/python.el: Don't set same-window-buffer-names.
      
      * lisp/textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
      3199b96f
  22. 08 Sep, 2011 1 commit
  23. 07 Sep, 2011 1 commit
    • Juri Linkov's avatar
      * lisp/progmodes/compile.el (compilation-start): Let-bind `thisenv' to · 91ab9c13
      Juri Linkov authored
      `compilation-environment'.  Set buffer-local
      `compilation-environment' to `thisenv' later after (funcall mode).
      (Bug#8340)
      
      * lisp/vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
      (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
      instead of replacing its value.  (Bug#8340)
      91ab9c13
  24. 02 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Remove pop-to-buffer-same-window. · c3313451
      Chong Yidong authored
      * lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
      (pop-to-buffer): Change interactive spec.  Pass second argument
      directly to display-buffer.
      (display-buffer): Fix interactive spec.  Use functionp to
      distinguish between a function and a list of functions.
      
      * lisp/abbrev.el (edit-abbrevs):
      * lisp/arc-mode.el (archive-extract):
      * lisp/autoinsert.el (auto-insert):
      * lisp/bookmark.el (bookmark-bmenu-list):
      * lisp/files.el (find-file):
      * lisp/view.el (view-buffer):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
      
      * lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
      * lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
      (org-mark-ring-goto, org-refile, org-add-log-note)
      (org-revert-all-org-buffers, org-switchb)
      (org-cycle-agenda-files, org-submit-bug-report)
      (org-goto-marker-or-bmk):
      * lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
      * lisp/org/org-capture.el (org-capture-goto-target)
      (org-capture-fill-template):
      * lisp/org/org-clock.el (org-clock-goto):
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
      * lisp/org/org-exp.el (org-export-as-org):
      * lisp/org/org-feed.el (org-feed-show-raw-feed):
      * lisp/org/org-html.el (org-export-htmlize-generate-css):
      * lisp/org/org-id.el (org-id-goto):
      * lisp/org/org-irc.el (org-irc-visit-erc):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
      * lisp/org/org-remember.el (org-go-to-remember-target):
      * lisp/org/org-src.el (org-src-switch-to-buffer)
      (org-edit-fixed-width-region): Use switch-to-buffer.
      
      * lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
      c3313451
  25. 22 Aug, 2011 1 commit
  26. 21 Aug, 2011 2 commits
  27. 18 Aug, 2011 1 commit
    • Juri Linkov's avatar
      * lisp/faces.el (error, warning, success): New faces with definitions · bc987f8b
      Juri Linkov authored
      copied from old default values of `font-lock-warning-face',
      `compilation-warning', `compilation-info'.
      
      * lisp/font-lock.el (font-lock-warning-face): Inherit from `error'.
      
      * lisp/progmodes/compile.el (compilation-error): Inherit from `error'.
      (compilation-warning): Inherit from `warning'.
      (compilation-info): Inherit from `success'.
      
      * lisp/dired.el (dired-marked): Inherit from `warning'.
      (dired-flagged): Inherit from `error'.
      
      Fixes: debbugs:6117
      bc987f8b
  28. 12 Jul, 2011 2 commits
  29. 05 Jul, 2011 1 commit
    • Stefan Monnier's avatar
      Fix some uses of switch-to-buffer. · 2dcdbdd9
      Stefan Monnier authored
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
      * lisp/bs.el (bs-cycle-next, bs-cycle-previous):
      * lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
      * lisp/bindings.el (mode-line-other-buffer):
      * lisp/autoinsert.el (auto-insert):
      * lisp/arc-mode.el (archive-extract):
      * lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
      2dcdbdd9
  30. 03 Jul, 2011 1 commit
  31. 21 Jun, 2011 1 commit
  32. 09 May, 2011 2 commits
  33. 08 May, 2011 1 commit
    • Chong Yidong's avatar
      Perform grep-mode's buffer modifications in a process filter (Bug#7952) · d9c54a06
      Chong Yidong authored
      * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
      buffer-changing entries.
      (grep-filter): New function.
      (grep-mode): Add it to compilation-filter-hook.
      
      * progmodes/compile.el (compilation-filter-hook)
      (compilation-filter-start): New defvars.
      (compilation-filter): Call compilation-filter-hook prior to
      updating the process mark.
      d9c54a06
  34. 22 Apr, 2011 1 commit
  35. 12 Mar, 2011 1 commit