1. 03 Jun, 2012 3 commits
    • Chong Yidong's avatar
      Make mode line help-echo visible for unibyte buffers. · 383f7350
      Chong Yidong authored
      * src/xdisp.c (decode_mode_spec_coding): Display a space for a unibyte
      buffer.
      
      * lisp/bindings.el (mode-line-mule-info-help-echo)
      (mode-line-read-only-help-echo, mode-line-modified-help-echo):
      New functions.
      (mode-line-mule-info, mode-line-modified): Use them.
      (mode-line-eol-desc, propertized-buffer-identification):
      Consistency fixes for help text.
      
      Fixes: debbugs:11226
      383f7350
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Implement default help-echo for mode line. · 5f2c76c6
      Chong Yidong authored
      * lisp/bindings.el: Remove explicit help-echo from format-mode-line.
      (mode-line-front-space, mode-line-end-spaces)
      (mode-line-misc-info): New variables.
      (mode-line-modes, mode-line-position): Move the default value to
      the variable definition.
      (mode-line-default-help-echo): New defcustom.
      
      * src/buffer.c (buffer_local_value_1): New function, split from
      Fbuffer_local_value; can return Qunbound.
      (Fbuffer_local_value): Use it.
      (Vmode_line_format): Docstring tweaks.
      
      * src/xdisp.c (calc_pixel_width_or_height): Use Fbuffer_local_value.
      (note_mode_line_or_margin_highlight): If there is no help echo,
      use mode-line-default-help-echo.  Handle the case where the mouse
      position is past the end of the mode line string.
      
      * doc/lispref/modes.texi (Mode Line Data): Use "mode line construct"
      terminology for consistency.
      5f2c76c6
  2. 02 Jun, 2012 11 commits
    • Paul Eggert's avatar
      773d47f6
    • Stefan Monnier's avatar
      * lisp/simple.el (execute-extended-command): Set real-this-command. · f2d6a3df
      Stefan Monnier authored
      * src/keyboard.c: Export real-this-command to Elisp.
      (syms_of_keyboard): Rename real_this_command to Vreal_this_command
      and DEFVAR it.  Update all users.
      
      Fixes: debbugs:11506
      f2d6a3df
    • Paul Eggert's avatar
      7bd5c1f4
    • Paul Eggert's avatar
      * sysdep.c (system_process_attributes) [SOLARIS2 && HAVE_PROCFS]: · 63810350
      Paul Eggert authored
      Convert pctcpu and pctmem to Lisp float properly.
      Let the compiler fold better, as 100.0/0x8000 is exact.
      63810350
    • 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
    • Glenn Morris's avatar
      Auto-commit of generated files. · d710c290
      Glenn Morris authored
      d710c290
    • Stefan Merten's avatar
      Always require `cl'. · 42152ee4
      Stefan Merten authored
      42152ee4
    • Andreas Schwab's avatar
      a2821611
    • 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
  3. 01 Jun, 2012 11 commits
  4. 31 May, 2012 10 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
    • Paul Eggert's avatar
      Pacify gcc -Wdouble-precision when using Xaw. · ca34e0be
      Paul Eggert authored
      * xterm.c (xaw_jump_callback, x_set_toolkit_scroll_bar_thumb)
      [HAVE_X_WINDOWS && USE_TOOLKIT_SCROLL_BARS && !USE_MOTIF && !USE_GTK]:
      Use 'float' consistently, rather than 'float' in most places
      and 'double' in a couple of places.
      ca34e0be
    • Chong Yidong's avatar
    • 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
    • Paul Eggert's avatar
      Remove obsolete '#define static' cruft. · ba93a187
      Paul Eggert authored
      * etc/PROBLEMS: Remove obsolete '#define static' cruft.
      * lwlib/xlwmenu.c [emacs]: Include "bitmaps/gray.xbm".
      (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits) [!emacs]:
      Remove; all uses replaced with definiens.
      * src/s/hpux10-20.h (_FILE_OFFSET_BITS): Don't #undef.
      This #undef was "temporary" in 2000; it is no longer needed
      now that '#define static' has gone away.
      * src/xfns.c, src/xterm.h (gray_bitmap_width, gray_bitmap_height)
      (gray_bitmap_bits): Remove; no longer needed.
      All uses replaced with definiens.
      * src/xterm.c: Include "bitmaps/gray.xbm".
      ba93a187
    • 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
    • Juri Linkov's avatar
      * etc/NEWS: Doc fix. · b03b4c00
      Juri Linkov authored
      Fixes: debbugs:11574
      b03b4c00
  5. 30 May, 2012 5 commits