1. 16 Aug, 2016 1 commit
    • Martin Rudalics's avatar
      Facultatively ignore margins when splitting and resizing windows (Bug#24193) · 0cee66c3
      Martin Rudalics authored
      Provide a new window parameter 'min-margins' which allows to
      ignore the actual widths of a window's margins when splitting or
      resizing that window horizontally.  This should serve as a
      workaround for handling the problems raised by Bug#24193.
      
      * lisp/window.el (window--min-size-1): Handle new window
      parameter 'min-margins'.
      (split-window): Fix text of error messages.
      * doc/lispref/windows.texi (Window Parameters): Describe new
      parameter 'min-margins'.
      0cee66c3
  2. 30 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build · ccdaf04c
      Eli Zaretskii authored
      * config.bat:
      * msdos/sedlisp.inp:
      * msdos/sedlibmk.inp:
      * msdos/sedleim.inp:
      * msdos/sedadmin.inp:
      * msdos/sed6.inp:
      * msdos/sed3v2.inp:
      * msdos/sed2v2.inp:
      * msdos/sed1v2.inp: Adapt to Emacs 25.
      
      * src/process.c (remove_slash_colon): Move out of "#ifdef
      subprocesses" block, as it its called unconditionally.  Move
      ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
      reference variables only defined in that block.
      * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
      faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
      dos_keysns, dos_keyread, run_msdos_command, and
      syms_of_win16select, to avoid compiler warnings.
      * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
      'environ', depending on the DJGPP version.
      Remove declarations of externally-visible Lisp objects, like
      Qbackground_color and Qreverse.
      (run_msdos_command): First argument is not signed, not unsigned.
      Use SYS_ENVIRON.
      (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
      the latter doesn't work when 'time_t' is an unsigned data type.
      This caused idle timers to behave incorrectly: they only fired
      after a keyboard input event.
      * src/frame.c (adjust_frame_size) [MSDOS]: Account for
      FRAME_TOP_MARGIN that isn't counted in the frame's number of
      lines, but dos_set_window_size needs it to be added.
      * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
      * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
      that works around compilation errors with older GCC versions.
      * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
      Objects.
      * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
      no-op implementations for 'lock_file' and 'unlock_file'.
      (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
      ifdefs in all users of filelock.c functionality.
      * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
      * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
      warnings.
      * src/dosfns.h: Provide prototypes for dos_cleanup,
      syms_of_dosfns, and init_dosfns.
      * src/deps.mk (atimer.o): Depend on msdos.h.
      (emacs.o): Depend on dosfns.h.
      * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
      warnings.
      
      * lisp/window.el (window--adjust-process-windows): Skip the body
      if 'process-list' is not available.  This avoids failure to start
      up on MS-DOS.
      * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      * lisp/textmodes/ispell.el (ispell-async-processp): Replace
      'start-process' with 'make-process' in a comment.
      * lisp/term/internal.el (IT-unicode-translations): Modify and add
      a few translations to display Info files with Unicode markup.  Fix
      an ancient off-by-one mismatch error with Unicode codepoints.
      * lisp/progmodes/compile.el (compilation-start): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
      Test 'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/international/mule-cmds.el (set-coding-system-map): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
      fix.
      (eshell-execute-pipeline): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      ccdaf04c
  3. 27 Apr, 2016 2 commits
    • Glenn Morris's avatar
      * lisp/window.el (window--process-window-list): No-op if no processes. · 5c3534ff
      Glenn Morris authored
      This avoids an issue with save-selected-window (from walk-windows)
      failing if frame.el is not loaded, eg if the terminal is resized
      during startup of a -nw CANNOT_DUMP build.  (Bug#23369).
      5c3534ff
    • Anders Lindgren's avatar
      Fix bug#22891: wrong terminal width when a fringe width is zero. · ff7e201e
      Anders Lindgren authored
      When either fringe width is zero, Emacs reserved one column for a
      continuation glyph. Terminal windows does not take this into
      account when the frame is resized.
      
      * lisp/window.el (window-adjust-process-window-size): Use
      `window-max-chars-per-line' instead of `window-body-width'.
      * lisp/term.el (term-window-width): Remove function. (It does the
      same as `window-max-chars-per-line' but without recent bug fixes.)
      (term-mode): Use `window-max-chars-per-line' instead of
      `term-window-width'.
      
      Backport
      
      (cherry picked from commit 5b540328)
      ff7e201e
  4. 16 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix minor issues with removing left or right fringes · 52e798b7
      Eli Zaretskii authored
      * lisp/window.el (window-max-chars-per-line): Account for
      'left-fringe-width' and 'right-fringe-width' variables.
      
      * doc/lispref/windows.texi (Window Sizes): Document the effect on
      window text width when setting the width of one or both fringes to
      zero.
      * doc/emacs/display.texi (Fringes): Document the effect on window
      text width when setting the width of one or both fringes to zero.
      (Bug#22891)
      52e798b7
  5. 04 Mar, 2016 1 commit
    • Martin Rudalics's avatar
      Fix previous fix of enlarge-/shrink-window · 620951fe
      Martin Rudalics authored
      * lisp/window.el (enlarge-window, shrink-window): Consistently
      signal user-error instead of error.  Resize minibuffer window by
      delta lines instead of pixels.  When a window cannot be resized,
      signal an error only when this function was invoked by a command
      in the enlarge-/shrink-window group (this restores the behavior
      before the fix of bug#22723 for the non-interactive case).
      620951fe
  6. 18 Feb, 2016 1 commit
    • Martin Rudalics's avatar
      Fix bugs in window resizing code · 3722a694
      Martin Rudalics authored
      * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
      parenthesis.
      (shrink-window, enlarge-window): Fix bug#22723 where windows
      with preserved size would not get resized.  Also now signal an
      error when the window cannot be shrunk or enlarged as requested.
      3722a694
  7. 29 Jan, 2016 1 commit
  8. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/or...
      fbce4757
  9. 01 Jan, 2016 1 commit
  10. 21 Dec, 2015 1 commit
  11. 18 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      Rename `recenter-group' to `recenter-window-group' · a72a9fbb
      Alan Mackenzie authored
      * doc/lispref/windows.texi (Textual Scrolling)
      * lisp/window.el (top level, recenter-group)
      * lisp/follow.el (follow-mode)
      * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
      `recenter-window-group' and `recenter-group-function' to
      `recenter-window-group-function'.
      a72a9fbb
  12. 14 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      Replace GROUP argument in six window primitives by new functions. · e8937de5
      Alan Mackenzie authored
      * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
      * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
      from description of six window functions.  Add in description of new functions
      window-group-start, window-group-end, set-window-group-start,
      pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
      together with the six variables indirecting to the pertinent group
      functions.
      
      * src/window.c
      * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
      applies to these two files, which added the GROUP argument to six window
      primitives.
      
      * lisp/follow.el (follow-mode): Use updated variable names for the indirected
      functions.
      
      * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
      to window primitives (e.g. window-start) with a GROUP argument by calls to
      new functions (e.g. window-group-start).
      
      * lisp/ispell.el (ispell-command-loop): Replace call to
      pos-visible-in-window-p with pos-visible-in-window-group-p.
      
      * lisp/window.el (window-group-start, window-group-end)
      (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
      (selected-window-group, move-to-window-group-line): New functions.
      (window-group-start-function, window-group-end-function)
      (set-window-group-start-function, recenter-group-function)
      (pos-visible-in-window-group-p-function, selected-window-group-function)
      (move-to-window-group-line-function): New variables.
      e8937de5
  13. 04 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      First commit to scratch/follow. Make Isearch work with Follow Mode, etc. · 64c57303
      Alan Mackenzie authored
      doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
      Windows" and new @defun selected-window-group.
      (Window Start and End): Describe new &optional parameter GROUP and
      ...-group-function for window-start, window-end, set-window-start, and
      pos-visible-in-window-p.
      (Textual Scrolling) Describe the same for recenter.
      doc/lispref/positions.texi (Screen Lines): Describe the same for
      move-to-window-line.
      
      src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
      (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
      new optional parameter "group".  At the beginning of each, check whether the
      corresponding ...-group-function is set to a function, and if so execute this
      function in place of the normal processing.
      (syms_of_window): Define symbols for the six new variables below.
      (window-start-group-function, window-end-group-function)
      (set-window-start-group-function, recenter-group-function)
      (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
      New permanent local buffer local variables.
      src/keyboard.c (Fposn_at_point): Add extra parameter in call to
      Fpos_visible_in_window_p.
      
      lisp/window.el (selected-window-group-function): New permanent local buffer
      local variable.
      (selected-window-group): New function.
      
      lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
      enable, kill them at mode disable.  Add/remove follow-after-change to/from
      after-change-functions.
      (follow-start-end-invalid): New variable.
      (follow-redisplay): Manipulate follow-start-end-invalid.
      (follow-after-change, follow-window-start, follow-window-end)
      (follow-set-window-start, follow-pos-visible-in-window-p)
      (follow-move-to-window-line, follow-sit-for): New functions.
      
      lisp/isearch.el (isearch-call-message): New macro.
      (isearch-update, with-isearch-suspended, isearch-del-char)
      (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
      (with-isearch-suspended): Rearrange code such that isearch-call-message is
      invoked before point is moved.
      (isearch-message): Add comment about where point must be at function call.
      (isearch-search): Remove call to isearch-message.
      (isearch-lazy-highlight-window-group): New variable.
      (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
      the battery of tests to ...
      (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
      Note: (sit-for 0) is still called.
      (isearch-lazy-highlight-update): Check membership of
      isearch-lazy-highlight-window-group.  Don't set the `window' overlay
      property.
      (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
      (isearch-lazy-highlight-update): Call the six amended primitives (see
      src/window.c above) with the new `group' argument set to t, to cooperate
      with Follow Mode.
      64c57303
  14. 29 Nov, 2015 1 commit
  15. 17 Nov, 2015 2 commits
  16. 11 Nov, 2015 1 commit
    • Alan Mackenzie's avatar
      First commit to scratch/follow. Make Isearch work with Follow Mode, etc. · 2c56fc2a
      Alan Mackenzie authored
      doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
      Windows" and new @defun selected-window-group.
      (Window Start and End): Describe new &optional parameter GROUP and
      ...-group-function for window-start, window-end, set-window-start, and
      pos-visible-in-window-p.
      (Textual Scrolling) Describe the same for recenter.
      doc/lispref/positions.texi (Screen Lines): Describe the same for
      move-to-window-line.
      
      src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
      (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
      new optional parameter "group".  At the beginning of each, check whether the
      corresponding ...-group-function is set to a function, and if so execute this
      function in place of the normal processing.
      (syms_of_window): Define symbols for the six new variables below.
      (window-start-group-function, window-end-group-function)
      (set-window-start-group-function, recenter-group-function)
      (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
      New permanent local buffer local variables.
      src/keyboard.c (Fposn_at_point): Add extra parameter in call to
      Fpos_visible_in_window_p.
      
      lisp/window.el (selected-window-group-function): New permanent local buffer
      local variable.
      (selected-window-group): New function.
      
      lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
      enable, kill them at mode disable.  Add/remove follow-after-change to/from
      after-change-functions.
      (follow-start-end-invalid): New variable.
      (follow-redisplay): Manipulate follow-start-end-invalid.
      (follow-after-change, follow-window-start, follow-window-end)
      (follow-set-window-start, follow-pos-visible-in-window-p)
      (follow-move-to-window-line, follow-sit-for): New functions.
      
      lisp/isearch.el (isearch-call-message): New macro.
      (isearch-update, with-isearch-suspended, isearch-del-char)
      (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
      (with-isearch-suspended): Rearrange code such that isearch-call-message is
      invoked before point is moved.
      (isearch-message): Add comment about where point must be at function call.
      (isearch-search): Remove call to isearch-message.
      (isearch-lazy-highlight-window-group): New variable.
      (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
      the battery of tests to ...
      (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
      Note: (sit-for 0) is still called.
      (isearch-lazy-highlight-update): Check membership of
      isearch-lazy-highlight-window-group.  Don't set the `window' overlay
      property.
      (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
      (isearch-lazy-highlight-update): Call the six amended primitives (see
      src/window.c above) with the new `group' argument set to t, to cooperate
      with Follow Mode.
      2c56fc2a
  17. 03 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Fix some more docstring etc. quoting problems · 26bd978d
      Paul Eggert authored
      Mostly these fixes prevent the transliteration of apostrophes
      that should stay apostrophes.  Also, prefer curved quotes in
      Bahá’í proper names, as that’s the preferred Bahá’í style and
      these names are chock-full of non-ASCII characters anyway.
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
      (eieio-defclass-internal):
      * lisp/emacs-lisp/eieio.el (defclass):
      * lisp/hi-lock.el (hi-lock-mode):
      Don’t transliterate Lisp apostrophes when generating a
      doc string or diagnostic.
      * lisp/international/mule-diag.el (list-coding-systems-1):
      * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
      * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
      * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
      Substitute quotes before putting them in the help buffer.
      26bd978d
  18. 25 Aug, 2015 1 commit
  19. 22 Aug, 2015 1 commit
  20. 21 Aug, 2015 2 commits
    • Eli Zaretskii's avatar
      Clarify documentation of 'get-buffer-window-list' · 2f5e8090
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Buffers and Windows): Mention that the
      current window, if relevant, will be the first in the list
      returned by 'get-buffer-window-list'.
      
      * lisp/window.el (get-buffer-window-list): Doc fix.  (Bug#21305)
      2f5e8090
    • Paul Eggert's avatar
      Don't quote symbols 'like-this' in docstrings etc. · 760701eb
      Paul Eggert authored
      * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
      * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
      * lisp/allout.el (allout-add-resumptions, allout-mode):
      * lisp/calculator.el (calculator-operators):
      * lisp/cedet/data-debug.el (dd-propertize):
      * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
      * lisp/cedet/semantic/analyze/debug.el:
      (semantic-analyzer-debug-global-miss-text):
      * lisp/cedet/semantic/lex-spp.el:
      (semantic-lex-spp-replace-or-symbol-or-keyword):
      * lisp/cedet/semantic/symref.el:
      (semantic-symref-cleanup-recent-buffers-fcn):
      * lisp/cedet/semantic/tag.el (semantic-tag-class):
      * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
      * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
      * lisp/gnus/pop3.el (pop3-authentication-scheme):
      * lisp/help-fns.el (describe-function-orig-buffer):
      * lisp/imenu.el (imenu--history-list):
      * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
      (feedmail-display-full-frame, feedmail-deduce-bcc-where)
      (feedmail-queue-default-file-slug)
      (feedmail-queue-buffer-file-name):
      * lisp/net/mairix.el (mairix-searches-mode-map):
      * lisp/net/newst-backend.el (newsticker-retrieval-method)
      (newsticker-auto-mark-filter-list):
      * lisp/obsolete/vi.el (vi-mode):
      * lisp/progmodes/cc-engine.el (c-literal-type):
      * lisp/progmodes/cpp.el (cpp-face):
      * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
      * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
      * lisp/progmodes/pascal.el (pascal-auto-lineup):
      * lisp/progmodes/prog-mode.el (prog-widen):
      * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
      (verilog-auto-lineup, verilog-auto-reset-widths)
      (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
      * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
      (flyspell-maybe-correct-doubling):
      * lisp/textmodes/table.el (table-justify, table-justify-cell)
      (table-justify-row, table-justify-column, table-insert-sequence)
      (table--justify-cell-contents):
      * lisp/url/url-auth.el (url-get-authentication):
      * lisp/window.el (display-buffer-record-window):
      * lisp/xml.el (xml-parse-file, xml-parse-region):
      * src/gfilenotify.c (Fgfile_add_watch):
      Don't quote symbols with apostrophes in doc strings.
      Use asymmetric quotes instead.
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      Likewise for symbol in diagnostic.
      * lisp/image.el (image-extension-data):
      * lisp/register.el (frame-configuration-to-register):
      * src/buffer.c (syms_of_buffer):
      Remove bogus apostrophes after symbols.
      * lisp/thumbs.el (thumbs-conversion-program):
      Quote Lisp string values using double-quotes, not apostrophes.
      760701eb
  21. 19 Aug, 2015 1 commit
    • Martin Rudalics's avatar
      Move window edge functions to Elisp. · f5a14da1
      Martin Rudalics authored
      * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
      (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
      (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
      Move to window.el.
      (calc_absolute_offset): Remove.
      * lisp/frame.el (frame-edges): New function.
      * lisp/window.el (window-edges, window-pixel-edges)
      (window-absolute-pixel-edges): Move here from window.c.
      (window-body-edges, window-body-pixel-edges)
      (window-absolute-body-pixel-edges): Move here from window.c and
      rename "inside" to "body".  Keep old names as aliases.
      (window-absolute-pixel-position): New function.
      f5a14da1
  22. 07 Aug, 2015 2 commits
  23. 30 Jul, 2015 1 commit
  24. 29 Jul, 2015 1 commit
  25. 22 Jul, 2015 2 commits
    • Martin Rudalics's avatar
      Fix customization type of `even-window-sizes'. · fa146389
      Martin Rudalics authored
      * lisp/window.el (even-window-sizes): Fix customization type.
      fa146389
    • Martin Rudalics's avatar
      2015-07-22 Martin Rudalics <rudalics@gmx.at> · 59526c32
      Martin Rudalics authored
      Optionally even widths of `display-buffer' windows.  (Bug#21100)
      
      * lisp/window.el (quit-restore-window): Restore width if
      requested.
      (display-buffer-record-window): Record width when window is
      reused and horizontally combined.
      (even-window-sizes): New option to allow evening window widths.
      (even-window-heights): Defalias to `even-window-sizes'.
      (window--even-window-heights): Rename to
      `window--even-window-sizes'.  Handle side-by-side windows.
      (display-buffer-use-some-window): Call `window--even-window-sizes'
      instead of `window--even-window-heights'.
      * lisp/help.el (resize-temp-buffer-window): Fix indentation.
      
      * doc/lispref/windows.texi (Choosing Window Options): Describe
      `even-window-sizes'.
      (Coordinates and Windows): Fix typo.
      59526c32
  26. 23 Jun, 2015 1 commit
  27. 20 Jun, 2015 1 commit
  28. 21 May, 2015 1 commit
  29. 20 May, 2015 1 commit
    • Martin Rudalics's avatar
      Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472) · 31d58d45
      Martin Rudalics authored
      * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
      (switch-to-buffer): If the selected window is strongly dedicated
      to its buffer, signal error before prompting for buffer name.  Handle
      `switch-to-buffer-in-dedicated-window'.  (Bug#20472)
      * doc/lispref/windows.texi (Switching Buffers): Document
      `switch-to-buffer-in-dedicated-window'.
      31d58d45
  30. 09 May, 2015 1 commit
    • Glenn Morris's avatar
      Quieten compilation, eg in --without-x builds. · 5b0af214
      Glenn Morris authored
      * lisp/dired-aux.el (lpr-printer-switch):
      * lisp/frame.el (tool-bar-height):
      * lisp/linum.el (font-info):
      * lisp/window.el (font-info, overflow-newline-into-fringe)
      (tool-bar-height):
      * lisp/emacs-lisp/package-x.el (tar-data-buffer):
      * lisp/gnus/gnus-util.el (iswitchb-mode):
      * lisp/mail/rmailmm.el (libxml-parse-html-region):
      * lisp/net/nsm.el (gnutls-peer-status)
      (gnutls-peer-status-warning-describe):
      * lisp/net/shr.el (libxml-parse-xml-region):
      * lisp/url/url-http.el (gnutls-peer-status): Declare.
      5b0af214
  31. 25 Apr, 2015 1 commit
  32. 22 Apr, 2015 2 commits
  33. 26 Mar, 2015 1 commit
  34. 23 Mar, 2015 1 commit
    • Daniel Colascione's avatar
      Automatically adjust process window sizes · 165bea78
      Daniel Colascione authored
      * lisp/window.el (window-adjust-process-window-size-function): New
      customizable variable.
      (window-adjust-process-window-size)
      (window-adjust-process-window-size-smallest)
      (window-adjust-process-window-size-largest)
      (window--process-window-list, window--adjust-process-windows):
      New functions.
      (window-configuration-change-hook): Add
      `window--adjust-process-windows'.
      * lisp/term.el (term-mode): Observe result of
      `window-adjust-process-window-size-function'.
      (term-check-size): Delete.
      165bea78