1. 02 Jun, 2012 5 commits
    • Stefan Merten's avatar
      4cf9b38d
    • 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-hooks.el (vc-display-status)
      (vc-default-mode-line-string):
      * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
      
      * dired.el (dired-sort-set-mode-line): Rename from
      dired-sort-set-modeline.  All callers changed.
      
      * foldout.el (foldout-mode-line-string): Rename from
      foldout-modeline-string.  All callers changed.
      (foldout-update-mode-line): Rename from foldout-update-modeline.
      
      * strokes.el (strokes-lighter): Rename from
      strokes-modeline-string.
      
      * subr.el (redraw-modeline): Make into obsolete alias.
      
      * calendar/timeclock.el (timeclock-mode-line-display): Rename from
      timeclock-modeline-display.  Make old name an alias.
      (timeclock-update-mode-line): Likewise.  All callers changed.
      (timeclock-mode-line-display): No need to check before using
      add-hook.
      (timeclock-relative, timeclock-day-over-hook)
      (timeclock-use-elapsed, timeclock-mode-string)
      (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
      
      * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
      crisp-mode-modeline-string.
      
      * erc-track.el (erc-track, erc-track-faces-priority-list)
      (erc-track-faces-normal-list, erc-track-find-face)
      (erc-track-modified-channels): Fix modeline -> mode line in docs.
      
      * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
      eshell-status-in-modeline.
      
      * org-clock.el (org-clock-string-limit)
      (org-clock-modeline-total, org-clock-task-overrun-text)
      (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
      
      * play/solitaire.el (solitaire-build-mode-line): Rename from
      solitaire-build-modeline.  All callers changed.
      
      * play/zone.el (zone-hiding-mode-line): Rename from
      zone-hiding-modeline.  All callers changed.
      (zone): Remove unusued `modeline-hidden-level' property.
      
      * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
      xscheme-modeline-initialize.  All callers changed.
      
      * textmodes/sgml-mode.el (html-face-tag-alist)
      (html-tag-face-alist): Use mode-line face instead of obsolete
      alias modeline.
      
      Fixes: debbugs:10329
      37269466
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · e7f32283
      Glenn Morris authored
      e7f32283
    • Stefan Merten's avatar
      Always require `cl'. · 42152ee4
      Stefan Merten authored
      42152ee4
    • Chong Yidong's avatar
      Add more enabled ImageMagick types. · 95f520b5
      Chong Yidong authored
      * lisp/image.el (imagemagick-enabled-types): Rename from
      imagemagick-types-enable.  Add many more types.
      (imagemagick-types-inhibit): Change default to nil.
      (imagemagick-filter-types): Caller changed.
      95f520b5
  2. 01 Jun, 2012 7 commits
  3. 31 May, 2012 6 commits
    • Glenn Morris's avatar
      ChangeLog merge fix · b691b884
      Glenn Morris authored
      b691b884
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Split off imagemagick-filter-types from imagemagick-register-types · 60b5f187
      Glenn Morris authored
      * lisp/image.el: (imagemagick-filter-types): New function.  (Bug#7406)
      (imagemagick-register-types): Use imagemagick-filter-types.
      
      * etc/NEWS: Mention this.
      60b5f187
    • Glenn Morris's avatar
      Add option imagemagick-types-enable · 32d72c2f
      Glenn Morris authored
      * lisp/image.el: For clarity, call imagemagick-register-types at
      top-level, rather than relying on a custom :initialize.
      (imagemagick-types-enable): New option. 
      (imagemagick-register-types): Respect imagemagick-types-inhibit.
      If disabling support, remove elements altogether rather
      than using an impossible regexp.
      (imagemagick-types-inhibit): Give it the default init function.
      
      * src/image.c (Fimagemagick_types): Doc fix.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:11557
      32d72c2f
    • Stefan Monnier's avatar
      Fix long filename handling of byte-compile-fix-header. · dd41169b
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
      arbitrary file name lengths (Bug#11585).
      dd41169b
    • Stefan Monnier's avatar
      Add `declare' for `defun'. Align `defmacro's with it. · 500fcedc
      Stefan Monnier authored
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
      (define-globalized-minor-mode): Don't autoload the var definitions.
      * lisp/emacs-lisp/byte-run.el: Use lexical-binding.
      (defun-declarations-alist, macro-declarations-alist): New vars.
      (defmacro, defun): Use them.
      (make-obsolete, define-obsolete-function-alias)
      (make-obsolete-variable, define-obsolete-variable-alias):
      Use `declare'.
      (macro-declaration-function): Mark obsolete.
      * lisp/emacs-lisp/autoload.el: Use lexical-binding.
      (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
      500fcedc
  4. 30 May, 2012 2 commits
    • Agustín Martín's avatar
      ispell.el: Define `ispell-with-no-warnings' as a macro. Deal with obsolete `interactive-p' · 6e8a1786
      Agustín Martín authored
      * Current `ispell-with-no-warnings' definition does not avoid warnings.
        Use a macro definition taken from orgmode.
      
      * Deal with a couple of occurrences of obsolete `interactive-p'.
      6e8a1786
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C. · 61b108cc
      Stefan Monnier authored
      (macro-declaration-function): Move var from C code.
      (macro-declaration-function): Define function with defalias.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
      defun/defmacro any more.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
      Provide fallback for unknown arglist.
      (byte-compile-arglist-warn): Change calling convention.
      (byte-compile-output-file-form): Move print-vars binding.
      (byte-compile-output-docform): Simplify accordingly.
      (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
      (byte-compile-defmacro-declaration): Remove.
      (byte-compile-file-form-defmumble): Generalize to defalias.
      (byte-compile-output-as-comment): Return byte-positions.
      Simplify callers accordingly.
      (byte-compile-lambda): Use `assert'.
      (byte-compile-defun, byte-compile-defmacro): Remove.
      (byte-compile-file-form-defalias):
      Use byte-compile-file-form-defmumble.
      (byte-compile-defalias-warn): Remove.
      * src/eval.c (Fdefun, Fdefmacro, Vmacro_declaration_function):
      Move to byte-run.el.
      (Fautoload): Do the hash-doc more carefully.
      * src/data.c (Fdefalias): Purify definition, except for keymaps.
      (Qdefun): Move from eval.c.
      * src/lisp.h (Qdefun): Remove.
      * src/lread.c (read1): Tiny simplification.
      * lib-src/make-docfile.c: Improve comment style.
      (search_lisp_doc_at_eol): New function.
      (scan_lisp_file): Use it.
      61b108cc
  5. 29 May, 2012 11 commits
    • Stefan Merten's avatar
      Silence `checkdoc-ispell' errors where possible. Fix authors. Improve · 6d3f7c2f
      Stefan Merten authored
      comments.  Improve loading of `cl'.
      
      (rst-mode-abbrev-table): Merge definition.
      (rst-mode): Make sure `font-lock-defaults' is buffer local.
      (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
      6d3f7c2f
    • Ulf Jasper's avatar
      icalendar-tests: Fix Bug#11525 -- Add icalendar-import-format-uid · 6dbaa1c7
      Ulf Jasper authored
      2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
      
      	* calendar/icalendar.el
      	(icalendar-export-region): Export UID properly.
      
      2012-05-29 Leo Liu <sdl.web@gmail.com>
      	* calendar/icalendar.el (icalendar-import-format): Add
      	`icalendar-import-format-uid' (Bug#11525).
      	(icalendar-import-format-uid): New.
      	(icalendar--parse-summary-and-rest, icalendar--format-ical-event):
      	Export UID.
      6dbaa1c7
    • Stefan Monnier's avatar
      Fix minor corner case bugs in byte compilation and pcase. · 6876a58d
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
      functions from byte-compile-function-environment.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
      (byte-compile-close-variables): Bind byte-compile--outbuffer here...
      (byte-compile-from-buffer): ...rather than here.
      * lisp/emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
      different alternative patterns.
      (pcase-codegen): Be more careful to preserve identity.
      (pcase--u1): Don't forget to mark vars as used.
      6876a58d
    • Troels Nielsen's avatar
      Fix active minibuffer case for window-deletable-p. · 46b7967e
      Troels Nielsen authored
      * window.el (window-deletable-p): Avoid deleting the root window
      of a frame with an active minibuffer.
      46b7967e
    • Martin Rudalics's avatar
      * lisp/simple.el (choose-completion): Use quit-window. · 69d565e2
      Martin Rudalics authored
      Fixes: debbugs:11567
      69d565e2
    • Chong Yidong's avatar
      a149fa51
    • Aaron S. Hawley's avatar
      * vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on revert. · 2b311310
      Aaron S. Hawley authored
      Fixes: debbugs:11488
      2b311310
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-mode-map): Bind `M-s _' to `isearch-toggle-symbol'. · b9cb2387
      Juri Linkov authored
      Bind `M-s c' to `isearch-toggle-case-fold'.
      (search-map): Bind `M-s _' to `isearch-forward-symbol'.
      (isearch-forward): Add `M-s _' to the docstring.
      (isearch-forward-symbol, isearch-toggle-case-fold)
      (isearch-symbol-regexp): New functions.
      
      Fixes: debbugs:11381
      b9cb2387
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-word): Add docstring. · d5e61c1c
      Juri Linkov authored
      (isearch-occur, isearch-search-and-update): If `isearch-word' is
      a function, call it to get the regexp.
      (isearch-message-prefix): If `isearch-word' holds a symbol, use its
      property `isearch-message-prefix' instead of the string "word ".
      (isearch-search-fun-default): For the case of `isearch-word',
      return a lambda that calls re-search-forward/re-search-backward
      with a regexp returned by `word-search-regexp' or by the function
      in `isearch-word'.
      
      Fixes: debbugs:11381
      d5e61c1c
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-search-fun-default): New function. · 8cbd80f7
      Juri Linkov authored
      (isearch-search-fun): Move default part to the new function
      `isearch-search-fun-default'.
      (isearch-search-fun-function): Set the default value to
      `isearch-search-fun-default'. 
      
      * lisp/comint.el (comint-history-isearch-end):
      Use `isearch-search-fun-default'.
      (comint-history-isearch-search): Use `isearch-search-fun-default'
      and remove spacial case for `isearch-word'.
      (comint-history-isearch-wrap): Remove spacial case for
      `isearch-word'.
      
      * lisp/hexl.el (hexl-isearch-search-function):
      Use `isearch-search-fun-default'.
      
      * lisp/info.el (Info-isearch-search): Use `isearch-search-fun-default'.
      Use `word-search-regexp' for `isearch-word'.
      
      * lisp/misearch.el (multi-isearch-search-fun):
      Use `isearch-search-fun-default'.
      
      * lisp/simple.el (minibuffer-history-isearch-search):
      Use `isearch-search-fun-default' and remove spacial case for
      `isearch-word'.
      (minibuffer-history-isearch-wrap): Remove spacial case for
      `isearch-word'.
      
      * lisp/textmodes/reftex-global.el (reftex-isearch-wrap-function):
      Remove spacial case for `isearch-word'.
      (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
      
      Fixes: debbugs:11381
      8cbd80f7
    • Paul Eggert's avatar
      Spelling fixes. · c846da43
      Paul Eggert authored
      c846da43
  6. 28 May, 2012 4 commits
  7. 27 May, 2012 2 commits
  8. 26 May, 2012 3 commits