1. 15 Jun, 2011 9 commits
  2. 14 Jun, 2011 17 commits
  3. 13 Jun, 2011 14 commits
    • Glenn Morris's avatar
      cus-dep fix for build failure first occurring with 2011-06-13T08:21:09Z!rudalics@gmx.at · d647b7c4
      Glenn Morris authored
      The symptom was `make custom-dep' failing with "Unknown terminal type".
      This is caused by `display-buffer' trying to pop-up a frame in batch mode.
      I think this cus-dep change may be just papering over the immediate
      manifestation of the underlying problem.
      
      * lisp/cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
      d647b7c4
    • Paul Eggert's avatar
    • Martin Rudalics's avatar
      Make help and view-mode work with new buffer display facilities. · 357f93d2
      Martin Rudalics authored
      * help.el (help-window): Remove variable.
      (help-window-point-marker, temp-buffer-max-height)
      (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
      (help-print-return-message): Don't set help-window.
      (resize-temp-buffer-window): Rewrite cod eand doc-string.
      (help-window-setup-finish): Remove.
      (help-window-display-message, help-window-setup)
      (with-help-window): Major rewrite based on new
      display-buffer-window variable.
      
      * help-mode.el (help-mode-finish): Remove help-window related
      code.
      
      * view.el (view-exits-all-viewing-windows): Remove reference to
      view-return-to-alist in doc-string.
      (view-return-to-alist): Make obsolete.
      (view-buffer): Call pop-to-buffer-same-window and remove
      undo-window code.
      (view-buffer-other-window): Call pop-to-buffer-other-window and
      simplify code.  Ignore second argument.
      (view-buffer-other-frame): Call pop-to-buffer-other-frame and
      simplify code.  Ignore second argument.
      (view-return-to-alist-update): Make obsolete.
      (view-mode-enter): Rename second argument to QUIT-RESTORE.
      Rewrite using quit-restore window parameters.
      (view-mode-exit): Rename second argument to EXIT-ONLY.  Rewrite
      using quit-restore-window.
      (View-exit, View-exit-and-edit, View-leave, View-quit)
      (View-quit-all, View-kill-and-leave): Call view-mode-exit with
      appropriate arguments.
      (view-end-message): Use quit-restore window parameter.
      357f93d2
    • Martin Rudalics's avatar
      Install new buffer display functions and variables. · 9481c002
      Martin Rudalics authored
      * window.el (display-buffer-function): Rewrite doc-string.
      (display-buffer-window, display-buffer-alist): New variables.
      (display-buffer-split-specifiers)
      (display-buffer-side-specifiers)
      (display-buffer-macro-specifiers): New constants.
      (display-buffer-even-window-sizes, display-buffer-set-height)
      (display-buffer-set-width, display-buffer-select-window)
      (display-buffer-in-window, display-buffer-reuse-window)
      (display-buffer-split-window-1, display-buffer-split-window)
      (display-buffer-split-atom-window, display-buffer-pop-up-window)
      (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
      (display-buffer-in-side-window, normalize-buffer-to-display)
      (display-buffer-normalize-specifiers-1)
      (display-buffer-normalize-specifiers-2)
      (display-buffer-normalize-specifiers, display-buffer-frame): New
      functions.
      (display-buffer): Major rewrite.
      (display-buffer-other-window, display-buffer-other-frame)
      (pop-to-buffer, switch-to-buffer-other-window)
      (switch-to-buffer-other-frame): Rewrite.
      (display-buffer-same-window, display-buffer-same-frame)
      (display-buffer-same-frame-other-window)
      (pop-to-buffer-same-window, pop-to-buffer-same-frame)
      (pop-to-buffer-other-window)
      (pop-to-buffer-same-frame-other-window)
      (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
      (switch-to-buffer-other-window-same-frame): New functions.
      (same-window-p, special-display-p): Rewrite disabling warnings.
      Make obsolete.
      (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
      (display-buffer-mark-dedicated): Initialize to symbol 'unset.
      Make obsolete
      (same-window-buffer-names, same-window-regexps)
      (special-display-frame-alist, special-display-popup-frame)
      (special-display-function, special-display-buffer-names)
      (special-display-regexps, pop-up-frame-alist)
      (pop-up-frame-function, split-window-preferred-function)
      (split-height-threshold, split-width-threshold)
      (even-window-heights): Make obsolete.
      9481c002
    • Paul Eggert's avatar
      Merge from trunk. · 01103c44
      Paul Eggert authored
      01103c44
    • Paul Eggert's avatar
      * xterm.c (x_alloc_nearest_color_1): Use a more-precise algorithm · 5efd304b
      Paul Eggert authored
      for nearest color, one that neither overflows nor relies on unsigned
      arithmetic.
      5efd304b
    • Paul Eggert's avatar
      Remove unnecessary casts. · 578c21e6
      Paul Eggert authored
      * xterm.c (x_term_init):
      * xfns.c (x_set_border_pixel):
      * widget.c (create_frame_gcs): Remove casts to unsigned long etc.
      These aren't needed now that we assume ANSI C.
      578c21e6
    • Paul Eggert's avatar
      * sound.c (Fplay_sound_internal): Remove cast to unsigned long. · 96f53c6c
      Paul Eggert authored
      It's more likely to cause problems (due to unsigned overflow)
      than to cure them.
      96f53c6c
    • Paul Eggert's avatar
    • Paul Eggert's avatar
    • Paul Eggert's avatar
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      193e32d9
    • Paul Eggert's avatar