summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
Commit message (Collapse)AuthorAgeFilesLines
* ; Improve documentation of 'buffer-match-p'Eli Zaretskii2024-01-061-5/+9
| | | | | | | * doc/lispref/buffers.texi (Buffer List): * doc/lispref/windows.texi (Choosing Window): Add caveats for calling 'buffer-match-p' too early, when CONDITION is 'derived-mode' or 'major-mode'. (Bug#68081)
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* Fix some Texinfo markup in manualsBasil L. Contovounesios2023-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/macos.texi (Mac / GNUstep Customization): * doc/lispintro/emacs-lisp-intro.texi (condition-case): * doc/lispref/control.texi (pcase Macro): * doc/lispref/debugging.texi (Internals of Debugger): * doc/lispref/internals.texi (Building Emacs): * doc/lispref/modes.texi (Imenu): (Parser-based Font Lock, Parser-based Indentation): * doc/lispref/parsing.texi (Retrieving Nodes, Tree-sitter C API): * doc/lispref/processes.texi (Network, Bindat Types): * doc/lispref/searching.texi (Rx Functions): * doc/lispref/text.texi (Replacing): * doc/lispref/windows.texi (Textual Scrolling): * doc/misc/calc.texi (Killing From Stack, Customizing Calc): * doc/misc/cc-mode.texi (Misc Font Locking, List Line-Up): * doc/misc/ede.texi (ede-cpp-root-project) (ede-proj-target-makefile, ede-sourcecode): * doc/misc/ert.texi (Running Tests in Batch Mode): * doc/misc/eudc.texi (Emacs-only Configuration, The Server Hotlist): * doc/misc/eww.texi (Advanced): * doc/misc/flymake.texi (Starting Flymake) (Proc customization variables): * doc/misc/tramp.texi (File name completion): * doc/misc/gnus.texi (Summary Buffer Lines, Gnus Registry Setup) (Fancy splitting to parent, Customizing the IMAP Connection) (Mail Source Specifiers, Agent as Cache): Consistently mark up nil and t as @code. Also fix the markup and wording of some surrounding text (bug#64016). * doc/lispref/display.texi (SVG Images, Icons): * doc/lispref/modes.texi (Customizing Keywords): Prefer ASCII apostrophe over Unicode right single quotation mark.
* ; doc/lispref/windows.texi: Fix @pxref paren.Basil L. Contovounesios2023-04-091-1/+1
|
* ; Fix wording of last change.Eli Zaretskii2023-02-181-24/+30
|
* Fix 'display-buffer-use-least-recent-window'martin rudalics2023-02-181-62/+171
| | | | | | | | | | | | | | | | | | | * src/window.c (Fwindow_use_time): Doc fix. (Fwindow_bump_use_time): Bump use time of the seleceted window as well. Doc fix. * lisp/window.el (display-buffer-avoid-small-windows): Remove. All users changed. (window--display-buffer): Bump window use time when requested. (display-buffer--lru-window): New function. (display-buffer-use-some-window): Use it. (display-buffer-use-least-recent-window): Rewrite and enhance doc string. * doc/lispref/windows.texi (Selecting Windows) (Buffer Display Action Functions, Buffer Display Action Alists) (The Zen of Buffer Display): Improve and update documentation of window selection and display facilities.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* ; * doc/lispref/windows.texi (Selecting Windows): Doc fixJuanma Barranquero2022-11-281-2/+1
|
* ; Fix quoting of non-nil in texinfo sourcesStefan Kangas2022-10-271-1/+1
|
* Merge from origin/emacs-28Stefan Kangas2022-10-121-9/+9
|\ | | | | | | 3787d0b11a ; * doc/lispref/windows.texi (Window Hooks): Fix markup (b...
| * ; * doc/lispref/windows.texi (Window Hooks): Fix markup (bug#58445).Eli Zaretskii2022-10-111-9/+9
| |
* | Merge from origin/emacs-28Stefan Kangas2022-09-211-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | 478b786d5a ; * doc/lispref/windows.texi (Window Hooks): Fix a typo (b... 5085351645 * lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regre... ee6f8598ca Add vc-annotate-switches to manual 616dcf27e5 ; Fix typos in Lisp symbols 5405852541 Remove mention of non-existent `annotate-switches' 191505b8a3 Mention that src/macuvs.h sometimes needs committing 10373c4b68 ; More comment fixes in font.h (bug#57935) c2595b8dcc ; * src/font.h (struct font_driver): Comment fix. 97b928ce09 MacOS ld warning from native compilation (bug#57849)
| * ; * doc/lispref/windows.texi (Window Hooks): Fix a typo (bug#51930).Eli Zaretskii2022-09-201-1/+1
| |
* | Add new functions for splitting the root windowHugo Heagren2022-09-051-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (split-window-right): Add optional argument to control which window is split (previously, would only split selected window). Update docstring. * doc/lispref/windows.texi (Splitting Windows): Update docs for `split-window-right'. * lisp/window.el (split-window-below): Add optional argument to control which window is split (previously, would only split selected window). Update docstring. * doc/lispref/windows.texi (Splitting Windows): Update docs for `split-window-below'. * lisp/window.el (ctl-x-map): Bind `split-root-window-right' to 9 in ctl-x-map. This is consistent with binding other window-splitting operations to numbers in this map. * lisp/window.el (ctl-x-map): Bind `split-root-window-below' to 7 in ctl-x-map. This is consistent with binding other window-splitting operations to numbers in this map. * lisp/window.el (split-root-window-right): New function to split whole frame. * doc/lispref/windows.texi (Splitting Windows): Add documentation for `split-root-window-right'. * lisp/window.el (split-root-window-below): New function to split whole frame. * doc/lispref/windows.texi (Splitting Windows): Add documentation for `split-root-window-below' (bug#56791).
* | Merge from origin/emacs-28Stefan Kangas2022-07-281-2/+2
|\| | | | | | | | | ba54f7e39c ; * doc/lispref/windows.texi (Window Sizes): Another typo.... 7990d0c36a ; * doc/lispref/windows.texi (Window Sizes): Fix a typo. ...
| * ; * doc/lispref/windows.texi (Window Sizes): Another typo. (Bug#56811)Eli Zaretskii2022-07-281-1/+1
| |
| * ; * doc/lispref/windows.texi (Window Sizes): Fix a typo. (Bug#56811)Eli Zaretskii2022-07-281-1/+1
| |
* | Fix 'fit-frame-to-buffer' (Bug#56102)Martin Rudalics2022-07-061-9/+11
| | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (fit-frame-to-buffer-sizes): Fix doc-string. Give calls to 'max' a second argument so they do something useful. If ONLY equals 'vertically', call 'window-text-pixel-size' with X-LIMIT nil (Bug#56102). For minimum sizes of the window to fit, use 'window-safe-min-size' by default. * doc/lispref/windows.texi (Resizing Windows): Fix descriptions of 'fit-frame-to-buffer' and 'fit-frame-to-buffer-sizes'.
* | Account for remapped faces in $COLUMNS and $LINES in EshellJim Porter2022-06-091-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/window.h (window_body_unit): New enum... (window_body_width): ... use it. * src/window.c (window_body_unit_from_symbol): New function. (window_body_height, window_body_width): Make PIXELWISE a 'window_body_unit'. (window-body-height, window-body-width): Accept 'remap' for PIXELWISE. (window-lines-pixel-dimensions, window_change_record_windows) (run_window_change_functions, resize_frame_windows, grow_mini_window) (shrink_mini_window, scroll-left, scroll-right): Update calls to 'window_body_height' and 'window_body_width'. * src/indent.c (compute_motion): Update calls to 'window_body_width'. * lisp/eshell/em-ls.el (eshell-ls-find-column-widths) (eshell-ls-find-column-lengths): Use 'window-body-width'. * lisp/eshell/esh-var.el (eshell-variable-aliases-list): Use 'window-body-width' and 'window-body-height'. * test/lisp/eshell/esh-var-tests.el (esh-var-test/window-height) (esh-var-test/window-width): Rename to... (esh-var-test/lines-var, esh-var-test/columns-var): ... and update expected value. * doc/lispref/windows.texi (Window Sizes): Document new behavior of PIXELWISE argument for 'window-body-width' and 'window-body-height'. * etc/NEWS: Announce this change (bug#55696).
* | Remove window-max-characters-per-lineLars Ingebrigtsen2022-06-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Sizes): * doc/lispref/display.texi (Size of Displayed Text): Remove documentation. * lisp/fringe.el (fringe-mode): Point to the right function. * lisp/window.el (window-char-pixel-width) (window-char-pixel-height, window-max-characters-per-line): Remove functions -- this was already added as window-max-chars-per-line. * src/window.c (Fwindow_body_width): Adjust doc string.
* | ; Improve documentation of 'display-buffer-avoid-small-windows'Eli Zaretskii2022-05-201-1/+3
| | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-avoid-small-windows) (get-lru-window): * etc/NEWS: * doc/lispref/windows.texi (Choosing Window Options): Improve documentation of 'display-buffer-avoid-small-windows'. (Bug#10186)
* | Add new user option display-buffer-avoid-small-windowsLars Ingebrigtsen2022-05-201-0/+5
| | | | | | | | | | | | | | * doc/lispref/windows.texi (Choosing Window Options): Document it. * lisp/window.el (display-buffer-avoid-small-windows): New user option (bug#10186). (get-lru-window): Use it.
* | Rename compare-window-configurations and update docLars Ingebrigtsen2022-05-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Configurations): Update name. * lisp/strokes.el (strokes-window-configuration-changed-p): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Update callers and references. * lisp/subr.el (compare-window-configurations): Make into obsolete alias. * src/window.c (Fwindow_configuration_equal_p): Rename (bug#14964).
* | Add a new display-buffer-full-frame display actionLars Ingebrigtsen2022-05-181-0/+5
| | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Buffer Display Action Functions): Document it. * lisp/window.el (display-buffer-full-frame): New display action (bug#34169). (display-buffer--action-function-custom-type): Add. (display-buffer): Mention it.
* | ; Improve documentation of 'switch-to-prev-buffer-skip-regexp'Eli Zaretskii2022-05-121-3/+3
| | | | | | | | | | | | | | | | * lisp/window.el (switch-to-prev-buffer-skip-regexp): * etc/NEWS: * doc/lispref/windows.texi (Window History): Improve wording of the documentation of 'switch-to-prev-buffer-skip-regexp'. (Bug#19070)
* | Add new user option switch-to-prev-buffer-skip-regexpLars Ingebrigtsen2022-05-121-0/+7
| | | | | | | | | | | | | | * doc/lispref/windows.texi (Window History): Document it. * lisp/window.el (switch-to-prev-buffer-skip): Mention it. (switch-to-prev-buffer-skip-regexp): New user option (bug#19070). (switch-to-prev-buffer-skip-p): Use it.
* | Allow precision-scrolling nonselected windows when the minibuffer is resizedPo Lu2022-05-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Vertical Scrolling): Document new `preserve-vscroll-p' parameter of `set-window-vscroll'. * etc/NEWS: Announce new parameter. * lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down-page) (pixel-scroll-precision-scroll-up-page): Use that parameter when setting the vscroll. * src/window.c (window_scroll_pixel_based, Fset_window_vscroll): Adjust for new parameter. * src/window.h (struct window): New flag `preserve_vscroll_p'. * src/xdisp.c (redisplay_window): Preserve the vscroll inside force_start on frozen windows with that flag set. (bug#55312)
* | Add new functions for computing character metrics for windowsTitus von der Malsburg2022-04-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Size of Displayed Text): Document the char functions. * doc/lispref/windows.texi (Window Sizes): Document window-max-characters-per-line. * lisp/window.el (window-char-pixel-width) (window-char-pixel-height) (window-max-characters-per-line): New functions (bug#19395).
* | Improve documentation for t value for reusable-framesLars Ingebrigtsen2022-04-261-2/+3
| | | | | | | | | | * doc/lispref/windows.texi (Buffer Display Action Alists): Note that the t value is rarely a good one (bug#55103).
* | Improve buffer-match-p documentationPhilip Kaludercic2022-04-151-7/+5
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Choosing Window): Document that buffer-match-p is used by display-buffer-alist. * etc/NEWS: Mention buffer-match-p and match-buffers. * lisp/window.el (display-buffer-alist): Update documentation as for display-buffer-assq-regexp. (display-buffer-assq-regexp): Rename buffer-name to buffer-or-name. (display-buffer): Pass the buffer directly to display-buffer-assq-regexp,.
* | Add a new macro `setopt'Lars Ingebrigtsen2022-02-131-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Examining): Mention it. (Init Syntax): Ditto. * doc/emacs/windows.texi (Window Choice): Adjust example. * doc/lispref/windows.texi (Choosing Window Options): Adjust examples. * doc/lispref/variables.texi (Setting Variables): Document setopt. * doc/misc/eudc.texi (Emacs-only Configuration): Adjust examples. * lisp/cus-edit.el (setopt): New macro.
* | Merge remote-tracking branch 'origin/emacs-28' into trunkStefan Monnier2022-01-121-7/+0
|\|
| * * doc/lispref/windows.texi (Textual Scrolling): Remove obsolete text.Juri Linkov2022-01-121-7/+0
| | | | | | | | | | Remove text about scrolling the minibuffer from the buffer, obsolete since Emacs 27 (bug#51210).
* | Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | Merge from origin/emacs-28Stefan Kangas2021-12-131-92/+122
|\| | | | | | | | | | | | | | | 9bd3f78645 Make `M-x run-python' select the window again 62139aeb42 * lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' ... ea8422204f * make-dist (manifest): Filter out msdos/autogen/* files. b5354e989d Rewrite the "Quitting Windows" section of Emacs Lisp Refer... 64ea1a178c Fix eshell for systems that do not have subprocesses
| * Rewrite the "Quitting Windows" section of Emacs Lisp ReferenceRichard Stallman2021-12-121-92/+122
| | | | | | | | | | * doc/lispref/windows.texi (Quitting Windows): Rewrite for clarity. (Bug#52328)
* | Merge from origin/emacs-28Stefan Kangas2021-12-091-6/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | 1821844357 Add missing K key documentation for Cangjie input methods be860c1385 Fix manual entry of 'quit-restore-window' (Bug#52328) 35a96139df Clarify a comment in xdisp.c 6ba2f028cf Revert "Grep alias `all' shall not match parent directory" eb9e33e238 ; * etc/NEWS: Non-nil repeat-keep-prefix is not the defaul... 538fc1d0e0 Fix mode-line display in Calendar mode # Conflicts: # etc/NEWS # lisp/help.el
| * Fix manual entry of 'quit-restore-window' (Bug#52328)Martin Rudalics2021-12-091-6/+6
| | | | | | | | | | * doc/lispref/windows.texi (Quitting Windows): Fix bug in description of 'quit-restore-window' (Bug#52328).
* | Merge from origin/emacs-28Stefan Kangas2021-11-191-1/+3
|\| | | | | | | | | | | | | | | | | 02853edba7 Fix sorting of menus in `context-menu-local' (bug#50067). 14271d050a Fix flyspell-correct-word selected from context menu opene... bf824843f4 * lisp/repeat.el (describe-repeat-maps): Print all bound k... 6fc94fb99e * lisp/tab-bar.el: Use 'mouse-1' for history buttons like ... 5eeaf85767 Improve documentation of window hooks 7404f4b4e0 Improve doc string of 'highlight-nonselected-windows'
| * Improve documentation of window hooksEli Zaretskii2021-11-181-1/+3
| | | | | | | | | | * doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local functions". (Bug#51930)
* | Merge from origin/emacs-28Eli Zaretskii2021-11-061-26/+28
|\| | | | | | | | | | | | | 9bdb1d0 ; * etc/PROBLEMS: Describe a crash in xwidgets due to Bubblew... 550887c ; * etc/PROBLEMS: Rearrange and update the section about cras... c2e3cd6 Clarify "text area of a window" in the documentation 4e7e78d Improve docstring of kmacro-set-format
| * Clarify "text area of a window" in the documentationEli Zaretskii2021-11-061-26/+28
| | | | | | | | | | | | | | | | | | * src/keyboard.c (Fposn_at_x_y): Clarify that the Y coordinate includes the header-line and the tab-line. (Bug#51590) * doc/lispref/windows.texi (Window Sizes, Splitting Windows) (Textual Scrolling, Coordinates and Windows): Fix/remove improper or confusing uses of "text area" of a window.
* | Allow 'display-buffer' to set up body size of chosen window (Bug#17065)Martin Rudalics2021-10-251-2/+18
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Buffer Display Action Alists): Describe new possible values for 'window-height', 'window-width' and 'window-size' action alist entries. * lisp/window.el (window--display-buffer): Handle new values for 'window-height', 'window-width' and 'window-size' ALIST entries. (display-buffer): Update doc-string for new values of some action alist entries. * etc/NEWS: Mention new values of some action alist entries.
* | Merge from origin/emacs-28Glenn Morris2021-10-191-7/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d742cc3c20 (origin/emacs-28) ; etc/NEWS: Fix typos 28db29590f * admin/notes/unicode: Refer to Unicode's emoji-style.txt 9bd2f59db6 Handle VS-16 correctly for non-emoji codepoints e55e2d4a11 ; * etc/NEWS: Minor copyedit about 'repeat-mode'. 380981ddb5 Adjust bug-reference-bug-regexp default values to match on... c1cf95a0e1 ; * doc/emacs/windows.texi: Doc fix. 98eb6d783a Fix a typo in emacs-lisp-intro.texi f5b8f626e3 Fix some Tramp problems fc988a7113 Adapt Tramp manual 0c241043a8 Further fixes to Elisp manual 8e8a920246 * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): ... 5a3242301d Rename tab-bar-drag-maybe to tab-bar--dragging-in-progress bb4209a5a5 Fix xref elisp identifier namespace mistake # Conflicts: # etc/NEWS
| * Further fixes to Elisp manualMartin Rudalics2021-10-181-7/+2
| | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Frame Layout): Index "tab bar" instead of "internal tab bar". (Implied Frame Resizing): Remove irritating hyphens. * doc/lispref/windows.texi (Windows and Frames): Remove paragraph relating 'minibuffer-window' to 'window-list'.
* | Merge from origin/emacs-28Glenn Morris2021-10-181-375/+445
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c163fd9260 (origin/emacs-28) Minor fixes for recent changes in ELisp ... fefada4816 Fix example in calc manual e74e17c1f0 Rewrites of Elisp manual including tab-bar and tab-line ch... 3b138917b7 ; * INSTALL: Fix typo. ce71446585 * lisp/tab-bar.el: Improve docstrings (bug#51247) ace4ce16a3 * lisp/tab-bar.el (tab-bar-mouse-move-tab): Don't drag tab... 04716ca48f Add tab-bar-drag-maybe for indication of tab dragging (bug... 81e3697600 * lisp/tab-bar.el: Add a new tab on [mouse-1] instead of [... a191d3c725 Add new and fix existing docstrings in tab-bar.el and tab-... 77dbaedadc Add tab bar support to the nextstep port 7b6fb486c2 Fix potential buffer overflow (bug#50767) ed9f5546aa Improve doc strings in tab-line.el 686a03ee22 More documentation fixes in tab-bar.el 35920791df Improve doc strings of tab-bar commands 2d15db6e89 Fix a semantic test on some macOS machines ac6ac76e3a Update to Org 9.5-57-g9bc3a2
| * Minor fixes for recent changes in ELisp manualEli Zaretskii2021-10-181-13/+15
| | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Basic Windows, Windows and Frames) (Selecting Windows): * doc/lispref/objects.texi (Window Type): * doc/lispref/frames.texi (Input Focus, Frame Layout): Fix wording, punctuation, and indexing.
| * Rewrites of Elisp manual including tab-bar and tab-line changesMartin Rudalics2021-10-181-380/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/buffers.texi (Current Buffer, Buffer List): Update references to 'selected-window'. * doc/lispref/elisp.texi (Top): Move up Selecting Windows section in front of Window Sizes section. * doc/lispref/frames.texi (Creating Frames): Say window system instead of windowing system. (Frame Layout): Add Tab Bar to layout. (Layout Parameters): Add 'tab-bar-lines'. (Input Focus): Say window system window instead of window manager window. Fix reference to 'selected-window'. * doc/lispref/objects.texi (Window Type): Minor rewrite. * doc/lispref/windows.texi (Basic Windows): Rewrite. Settle on term 'window system window' for disambiguation with our windows. Move 'selected-window' description to Selecting Windows section. Move schematic of window structure here. Use 'decorations' for objects outside the window body. Say that the areas reserved for continuation and truncation glyphs, vertical dividers and line numbers are part of the window body. (Windows and Frames): Minor rewrite, adding and fixing some cross references. Move live window schematic to 'Basic Windows' section. (Selecting Windows): Move section in front of Window Sizes section. Move description of 'selected-window' here. Move up description of 'frame-selected-window' and 'set-frame-selected-window'. Update and move description of 'window-bump-use-time' here. (Window Sizes): Throughout use the term 'decorations' instead of enumerating them individually. Add 'window-tab-line-height' description. (Resizing Windows): Again use the term 'decorations' instead of enumerating them individually. (Splitting Windows): Minor fix. (Cyclic Window Ordering): Improve descriptions of 'get-lru-window' and 'get-mru-window'. Move 'window-bump-use-time' to Selecting Windows section. (Coordinates and Windows, Window Configurations): Once more use the term 'decorations' instead of enumerating them individually. * src/window.c (Fwindow_bump_use_time): Move after 'window-use-time'. Make it work for live windows only. Make WINDOW argument optional. Update doc-string.
* | Improve 'display-buffer' 'temp-buffer-resize-mode' cohabitation (Bug#51062)Martin Rudalics2021-10-131-10/+38
|/ | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Temporary Displays): Explain how to override the effect of 'temp-buffer-resize-mode' with a suitable 'display-buffer' action alist entry. * doc/lispref/windows.texi (Buffer Display Action Alists): Mention that an 'inhibit-switch-frame' entry might not work with every WM. Describe the 'window-size' entry. Describe how automatic window resizing can be overridden. * lisp/help.el (resize-temp-buffer-window-inhibit): New variable. (resize-temp-buffer-window): Handle case where user overrides automatic resizing. * lisp/window.el (temp-buffer-window-show): Bind 'resize-temp-buffer-window-inhibit' to nil around 'display-buffer'. Do not raise frame automatically to avoid defeating 'inhibit-switch-frame'. (window--display-buffer): Set 'resize-temp-buffer-window-inhibit' to t when the action alist contains a 'window-height', 'window-width' or 'window-size' entry. Use 'modify-frame-parameters' instead of 'set-frame-height' and 'set-frame-width' to avoid that the latter step on each others toes. (display-buffer): Fix 'inhibit-switch-frame' part in and add 'window-size' part to doc-string.