summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
Commit message (Collapse)AuthorAgeFilesLines
* Fix sxhash-equal on bytecodes, markers, etc.Paul Eggert2020-01-071-4/+0
| | | | | | | | | | | | | | | | | | Problem reported by Pip Cet (Bug#38912#14). * doc/lispref/objects.texi (Equality Predicates): Document better when ‘equal’ looks inside objects. * doc/lispref/windows.texi (Window Configurations): Don’t say that ‘equal’ looks inside window configurations. * etc/NEWS: Mention the change. * src/fns.c (internal_equal): Do not look inside window configurations. (sxhash_obj): Hash markers, byte-code function objects, char-tables, and font objects consistently with Fequal. * src/window.c (compare_window_configurations): Now static. Remove last argument. Caller changed. * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Use compare-window-configurations, not ‘equal’. * test/src/fns-tests.el (test-sxhash-equal): New test.
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* ; Spelling fixesPaul Eggert2019-12-101-1/+1
|
* 2019-11-26 Martin Rudalics <rudalics@gmx.at>Martin Rudalics2019-11-261-14/+64
| | | | | | | | | | | | * lisp/window.el (switch-to-visible-buffer): Declare obsolete. (switch-to-prev-buffer-skip): New option. (switch-to-prev-buffer, switch-to-next-buffer): Obey 'switch-to-prev-buffer-skip'. * doc/lispref/windows.texi (Window History): Remove description of 'switch-to-visible-buffer'. Describe new option 'switch-to-prev-buffer-skip' * etc/NEWS: Mention switch from 'switch-to-visible-buffer' to 'switch-to-prev-buffer-skip'.
* Update documentation for tabs.Juri Linkov2019-09-281-0/+12
| | | | * doc/emacs/frames.texi (Tab Bars): New node.
* Adjust quit-window-hook documentationLars Ingebrigtsen2019-08-211-4/+4
| | | | | * doc/lispref/windows.texi (Quitting Windows): Adjust documentation of quit-window-hook (bug#9867).
* Add a new hook: `quit-window-hook'Lars Ingebrigtsen2019-08-191-0/+4
| | | | | | | | | | * doc/lispref/windows.texi (Quitting Windows): Mention in. * lisp/window.el (quit-restore-window): Run the new `quit-window-hook' before doing anything else (bug#9867). (quit-window): Note that the hook will be run in the doc string. * lisp/window.el (quit-window-hook): New variable.
* Have 'display-buffer-reuse-window' prefer window on selected frame (Bug#36680)Martin Rudalics2019-07-191-1/+2
| | | | | | | | * lisp/window.el (display-buffer-reuse-window): Preferably reuse window on selected frame (Bug#36680). * doc/lispref/windows.texi (Buffer Display Action Functions): Say that 'display-buffer-reuse-window' prefers window on the selected frame.
* Merge from origin/emacs-26Glenn Morris2019-07-061-1/+1
|\ | | | | | | | | | | | | | | 316f5a3 Fix typo in doc string of file-exists-p (bug#36408) bfc7c6e * test/lisp/url/url-file-tests.el (url-file): Fix for POSIX f... 13b95e1 Fix typo in windows.texi 8b775c3 Clarify & update (elisp) Writing Emacs Primitives 7648c12 Clarify a subtle issue in the Internals chapter of lispref
| * Fix typo in windows.texiStefan Kangas2019-06-281-1/+1
| | | | | | | | * doc/lispref/windows.texi (Window History): Fix typo. (Bug#36412)
* | Merge from origin/emacs-26Glenn Morris2019-06-151-13/+37
|\ \ | |/ | | | | | | | | | | | | | | f53ce87 ; ChangeLog.3 update eca2677 Fix description of 'display-buffer-in-previous-window' again ... 7be50cd Consistently use @minus{} for negative arguments # Conflicts: # ChangeLog.3
| * Fix description of 'display-buffer-in-previous-window' again (Bug#36161)Martin Rudalics2019-06-121-13/+37
| | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-in-previous-window): Make doc-string more explicit (Bug#36161). * doc/lispref/windows.texi (Buffer Display Action Functions): Make description of 'display-buffer-in-previous-window' more explicit. (Buffer Display Action Alists): Mention 'display-buffer-in-previous-window' in description of 'reusable-frames' entry.
* | Merge from origin/emacs-26Glenn Morris2019-06-111-0/+3
|\ \ | |/ | | | | | | 5ca093d (origin/emacs-26) Fix doc of 'display-buffer-in-previous-wind... add2cac lisp/*.el: Minor docstring fixes
| * Fix doc of 'display-buffer-in-previous-window' (Bug#36161)Martin Rudalics2019-06-111-0/+3
| | | | | | | | | | | | | | * doc/lispref/windows.texi (Buffer Display Action Functions): * lisp/window.el (display-buffer-in-previous-window): Tell that 'display-buffer-in-previous-window' prefers non-selected windows (Bug#36161).
* | Merge from origin/emacs-26Glenn Morris2019-06-071-34/+49
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 9254885 (origin/emacs-26) Resurrect display-line-number-mode in clien... aecbbd5 * src/fns.c (Fmapconcat): Doc fix. (Bug#35710) 8e5fc38 Fix typo ee21b40 * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36... f68b33f Fix styling of Unicode codepoints in manuals ff7ec6f Fix a few uses of quotes in user manual b67042b More minor copyedits in the Emacs manual 9734b5c Fix minor issues in the Emacs manual c153250 Try to improve text on atomic windows in Elisp manual fb314ba Don't recommend insert-before-markers in process filters
| * Try to improve text on atomic windows in Elisp manualMartin Rudalics2019-06-031-34/+49
| | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Deleting Windows): Mention how 'delete-window' and 'delete-other-windows' handle atomic windows. Minor rewrite. (Quitting Windows): Mention how 'quit-restore-window' handles atomic windows and that it tries to avoid raising an error. (Atomic Windows): Tell how to dissolve atomic windows.
* | New buffer display action function 'display-buffer-in-direction'Martin Rudalics2019-05-191-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (windows-sharing-edge) (window--try-to-split-window-in-direction) (display-buffer-in-direction): New functions. * doc/lispref/windows.texi (Buffer Display Action Functions): Describe new action function 'display-buffer-in-direction'. (Buffer Display Action Alists): Describe new entry 'direction'. Amend description of 'window' entry. * etc/NEWS: Mention 'display-buffer-in-direction' and 'direction' and 'window' action alist entries.
* | Merge from origin/emacs-26Glenn Morris2019-04-101-49/+66
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | a5da653 * src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163) 646d33d Fix doc strings of 'vc-version-diff' and 'vc-version-ediff' a30a6c3 Improve documentation of set-window-start 92ce2dd Improve documentation of window parameters 6dc42c5 Improve commentary in frame.el a8cffcf Fix typo in a doc string 9e79f19 (emacs-26) ; * src/fontset.c (set-fontset-font): Use uppercas... # Conflicts: # lisp/vc/vc.el
| * Improve documentation of set-window-startEli Zaretskii2019-04-061-7/+15
| | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Start and End): * src/window.c (Fset_window_start): Document that reliable setting of a window start position requires to adjust point to be visible. (Bug#34038)
| * Improve documentation of window parametersEli Zaretskii2019-04-061-42/+51
| | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Cyclic Window Ordering): Describe the effect of the 'other-window' window parameter. (Window Parameters): Improve the descriptions of window parameters. Move the detailed description of the 'quit-restore' window parameter from here... (Quitting Windows): ...to here. (Bug#35063)
* | Further redesign of window change functionsMartin Rudalics2019-03-091-34/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Hooks): Revise description of window change functions. Add documentation for 'window-state-change-hook' and window state change flag. * etc/NEWS: Update entry for window change functions. * src/frame.c (Fframe_window_state_change) (Fset_frame_window_state_change): New functions. * src/frame.h (struct frame): New boolean window_state_change. (FRAME_WINDOW_STATE_CHANGE): New macro. * src/window.c (window_change_record_frames): New static boolean. (window_change_record_frame): Remove function - code moved to window_change_record. (window_change_record): Record frame changes here taking window_change_record_frames into account. (run_window_change_functions_1): Set window_change_record_frames whenever we run one of our hooks. (run_window_change_functions): Run hooks also when FRAME_WINDOW_STATE_CHANGE has been set. Run Vwindow_state_change_hook. Leave decision whether to record changes for all frames to window_change_record. (Vwindow_state_change_functions): Update doc-string. (Vwindow_state_change_hook): New normal hook.
* | Fix wording in Window Hooks section of Elisp manualMartin Rudalics2019-01-171-24/+27
| | | | | | | | | | | | * doc/lispref/windows.texi (Window Hooks): Fix wording in description of window change functions. Suggested by Robert Pluim <rpluim@gmail.com>.
* | Expand spectrum of window change functionsMartin Rudalics2019-01-171-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/window.c (run_window_change_functions): Run window change functions for Qwindow_state_change_functions. (resize_frame_windows): Set frame's window_change slot when single-window frames change size. (Qwindow_state_change_functions): New symbol. (Vwindow_state_change_functions): New Lisp variable. * doc/lispref/windows.texi (Selecting Windows): Mention 'window-selection/state-change-functions' and add reference to Window Hooks. (Window Hooks): Document 'window-state-change-functions'. * etc/NEWS: Mention new hook 'window-state-change-functions'.
* | Run window change functions during redisplayMartin Rudalics2019-01-111-84/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Sizes): Move (and rename) descriptions of 'window-pixel-height-before-size-change' and 'window-pixel-width-before-size-change' to Window Hooks section. (Window Configurations): Remove warning against use of 'save-window-excursion' in 'window-size-change-functions'. (Window Hooks): Rewrite section according to redesign of window change functions. * lisp/erc/erc-track.el (erc-window-configuration-change) (erc-modified-channels-update): Call latter directly from 'window-configuration-change-hook' instead via 'post-command-hook'. * lisp/frame.el (frame-size-changed-p): Change nomenclature in let bindings. * lisp/net/rcirc.el (rcirc-window-configuration-change) (rcirc-window-configuration-change-1): Call latter directly from 'window-configuration-change-hook' instead via 'post-command-hook'. * lisp/window.el (window-pixel-width-before-size-change) (window-pixel-height-before-size-change): Defalias. (window--resize-mini-window, window-resize) (adjust-window-trailing-edge, delete-window) (delete-other-windows, balance-windows): Don't run 'window-configuration-change-hook' any more from here. (split-window): Don't run 'window-configuration-change-hook' from here. 'run-window-scroll-functions' from here. (window--adjust-process-windows): Run from 'window-configuration-change-hook' only. * src/frame.c (old_selected_frame): New Lisp variable. (make_frame): Initialize frame's change_stamp slot. (Fold_selected_frame): New function. * src/frame.h (struct frame): New slots old_selected_window, window_change, change_stamp and number_of_windows. (fset_old_selected_window): New inlined function. (FRAME_WINDOW_CHANGE, FRAME_OLD_SELECTED_WINDOW): New macros. * src/window.c (old_selected_window): New Lisp variable. (wset_old_buffer): New inlined function. (Fframe_old_selected_window, Fold_selected_window) (Fwindow_old_buffer): New functions. (Fwindow_old_pixel_width, Fwindow_old_pixel_height): Rename from Fwindow_pixel_width_before_size_change and Fwindow_pixel_height_before_size_change. Update doc-strings. (Fwindow_old_body_pixel_width, Fwindow_old_body_pixel_height): New functions. (Fdelete_other_windows_internal): Set frame's window_change slot instead of running 'window-configuration-change-hook'. (Frun_window_configuration_change_hook): In doc-string tell that this function is no more needed. (Frun_window_scroll_functions): Amend doc-string. Run with window's buffer current. (window_sub_list, window_change_record_windows) (window_change_record_frame, window_change_record) (run_window_change_functions_1, run_window_change_functions): New functions. (set_window_buffer): Set frame's window_change slot instead of running 'window-configuration-change-hook'. (make_window): Don't initialize pixel_width_before_size_change and pixel_height_before_size_change slots. (window_resize_apply, Fdelete_window_internal): Set frame's window_change slot. (Fsplit_window_internal): Set frame's window_change slot. Don't run 'window-scroll-functions' from here. * src/window.h (struct window): New slots old_buffer, change_stamp, old_pixel_width (renamed from pixel_width_before_size_change), old_pixel_height (renamed from pixel_height_before_size_change), old_body_pixel_width and old_body_pixel_height. * src/xdisp.c (init_iterator): Set frame's window_change slot when the body height or width changes. (prepare_menu_bars): Don't run_window_size_change_functions. (redisplay_internal): Don't run_window_size_change_functions, run_window_change_functions instead.
* | Handle dedicated status in 'window--display-buffer' (Bug#33870)Martin Rudalics2019-01-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-record-window): Rewrite doc-string. (window--display-buffer): Remove fifth argument DEDICATED and either directly use a 'dedicated' entry in ALIST or the value of 'display-buffer-mark-dedicated' instead. (display-buffer-in-atom-window, display-buffer-use-some-frame) (display-buffer-pop-up-frame, display-buffer-pop-up-window) (display-buffer-below-selected, display-buffer-at-bottom): Adjust callers of 'window--display-buffer'. (window--make-major-side-window) (display-buffer-in-side-window): Handle dedicated status of the chosen side window via a 'dedicated' alist entry and adjust 'window--display-buffer' call. (display-buffer-in-child-frame): Set up TYPE correctly for and adjust 'window--display-buffer' call. (display-buffer-in-previous-window): Handle dedicated status of a previous window already showing BUFFER. * doc/lispref/windows.texi (Buffer Display Action Alists): New action alist entry 'dedicated'. (Dedicated Windows): Mention new buffer display action alist entry 'dedicated'. * etc/NEWS: Mention new buffer display action alist entry 'dedicated'.
* | Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ \ | |/ | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | * lisp/window.el (switch-to-buffer-obey-display-actions): New defcustom.Juri Linkov2018-12-211-0/+6
| | | | | | | | | | | | | | | | | | | | (switch-to-buffer): Use it. (Bug#32790) (switch-to-buffer-preserve-window-point): Mention it in docstring. * lisp/windmove.el (windmove-display-in-direction): Mention it in docstring. * doc/lispref/windows.texi (Switching Buffers): Document switch-to-buffer-obey-display-actions.
* | New buffer display action alist entry 'window-min-height' (Bug#32825)Martin Rudalics2018-12-081-0/+22
| | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-below-selected): Handle 'window-min-height' action alist entry (Bug#32825). * doc/lispref/windows.texi (Buffer Display Action Functions) (Buffer Display Action Alists): Add documentation for 'window-min-height' action alist entries. * etc/NEWS: Mention 'window-min-height' action alist entry.
* | Merge from origin/emacs-26Glenn Morris2018-11-201-23/+22
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | 070e82b ; * src/window.c (window_scroll): Improve commentary. 60457d7 Improve documentation of the window tree ea1a014 Fix window scrolling on TTY frames when there's no mode line df7ed10 Fix decoding XML files encoded in ISO-8859 7851ae8 (tag: emacs-26.1.90) ; ChangeLog.3 update 1958808 * etc/AUTHORS: Update. 7252507 Fix description of some window hooks 88762b4 Run 'window--adjust-process-windows' when frame size changes ... d6542ea Avoid errors in zone.el when there's overlay at EOB
| * Improve documentation of the window treeEli Zaretskii2018-11-191-6/+7
| | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Windows and Frames): More accurate wording regarding the relation of a mini-window to its frame's window tree. * src/window.h (struct window): Improve commentary to some fields.
| * Fix description of some window hooksMartin Rudalics2018-11-181-17/+15
| | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Hooks): Remove text that warns against using 'save-window-excursion' while running 'window-size-change-functions', it's no more relevant. Clarify description of 'window-configuration-change-hook'.
* | Merge from origin/emacs-26Glenn Morris2018-11-161-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | edcd6b7 Small documentation correction. 168a8c2 * src/coding.c (Fcheck_coding_systems_region): Doc fix. (Bug... 3287a7c Fix Bug#33364 acee0a8 ; Cosmetic changes in etc/NEWS a6ef167 * test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY. # Conflicts: # etc/NEWS
| * Small documentation correction.Markus Triska2018-11-141-1/+2
| | | | | | | | | | | | * doc/lispref/windows.texi (Textual Scrolling): In the description of scroll-up-aggressively, refer to scroll-down-aggressively instead of a recursive reference to scroll-up-aggressively. (Bug#33369)
* | Merge from origin/emacs-26Glenn Morris2018-11-121-17/+41
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 913c001 * lisp/files.el (write-file): Clarify the doc string. (Bug#3... d614b84 Fix typos in midnight.el 8c2778a Improve documentation of 'move-file-to-trash' c7b8a51 ; * doc/lispref/functions.texi (Anonymous Functions): Fix typo. 92296de * src/data.c (Ftype_of): xwidget objects are possible! (bug#3... a3242cc Improve documentation of Diff mode 39e85a0 Note that lex bound lambda forms are not self-quoting (Bug#33... fa605f2 Rewrite buffer display related doc-strings and doc aa55659 Fix call to GlobalMemoryStatusEx in w32.c # Conflicts: # doc/emacs/files.texi # src/data.c
| * Rewrite buffer display related doc-strings and docMartin Rudalics2018-11-081-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-overriding-action) (display-buffer-alist, display-buffer-base-action) (display-buffer-fallback-action, display-buffer-assq-regexp) (display-buffer): Rewrite doc-strings using suggestions by Alan Mackenzie <acm@muc.de>. (display-buffer-use-some-frame): Adjust doc-string and reformat code. * doc/lispref/windows.texi (Buffer Display Action Alists): Make docs on 'window-height', 'window-width' and 'preserve-size' entries more accurate.
* | * lisp/window.el (window-state-put): Create a new windowJuri Linkov2018-11-081-3/+4
| | | | | | | | | | | | | | | | to replace the existing one on the same frame in case when WINDOW is not live. (Bug#32850) * doc/lispref/windows.texi (Window Configurations): Describe changes related to WINDOW arg of window-state-put.
* | Merge from origin/emacs-26Glenn Morris2018-11-041-332/+1127
|\ \ | |/ | | | | | | | | | | | | 6937c35 (origin/emacs-26) Improve recent changes in documentation of ... c04b48c Rewrite documentation of buffer display 7cadb32 ; * doc/lispref/control.texi (pcase Macro): Fix another typo. 963f1d9 ; * doc/lispref/control.texi (pcase Macro): Fix a typo. e824c91 Improve documentation of destructuring-binding macros
| * Improve recent changes in documentation of window handlingEli Zaretskii2018-11-041-152/+139
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Displaying Buffers) (Choosing Window, Buffer Display Action Functions) (Buffer Display Action Alists, Choosing Window Options) (Precedence of Action Functions, The Zen of Buffer Display): Fix wording, punctuation, and markup. Remove redundant cross-references. * doc/emacs/windows.texi (Window Choice, Temporary Displays): Fix wording and punctuation.
| * Rewrite documentation of buffer displayMartin Rudalics2018-11-041-317/+1125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/windows.texi (Window Choice): Rewrite, replacing references to older buffer display options with references to and examples of buffer display actions. (Temporary Displays): Rewrite display of *Completions* example. * doc/lispref/elisp.texi (Top): New Windows section 'Displaying Buffers'. * doc/lispref/frames.texi (Child Frames): Adjust cross reference. * doc/lispref/windows.texi (Windows): New section 'Displaying Buffers'. Move sections 'Choosing Window', 'Display Action Functions' and 'Choosing Window Options' there and adjust namings. Preferably write 'Buffer Display Action' instead of 'Display Action'. More consistently use @w{} to make key binding specifications unsplittable. (Displaying Buffers): New section. (Choosing Window): Make it a subsection of 'Displaying Buffers'. More explicitly describe how 'display-buffer' compiles its list of action functions and the action alist. (Buffer Display Action Functions): Rename from 'Display Action Functions', make it a subsection of 'Displaying Buffers' and rewrite it. Elide more detailed descriptions of action alist entries; these are now in the new section 'Buffer Display Action Functions'. Remove example. (Buffer Display Action Alists): New subsection of 'Displaying Buffers' giving a comprehensive description of recognized action alist entries with appropriate indexing. Contents were partially moved here from the old 'Display Action Functions' section. (Choosing Window Options): Make it a subsection of 'Displaying Buffers'. Add examples of how to rewrite old buffer display options with the help of buffer display actions. (Precedence of Action Functions): New subsection of 'Displaying Buffers' explaining the execution order of action functions with the help of a detailed example. (The Zen of Buffer Display): New subsection of 'Displaying Buffers' supplying guidelines on how to write and use buffer display actions with examples. (Side Windows, Displaying Buffers in Side Windows) (Frame Layouts with Side Windows, Atomic Windows): Update references to the 'Displaying Buffers' subsections.
* | Merge from origin/emacs-26Glenn Morris2018-10-161-9/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73babba (origin/emacs-26) Clarify documentation of fractional vertica... b20c51d * lisp/isearch.el (isearch-cmds): Recall absent isearch--stat... 700acbd doc/lispref/edebug.texi (Specification List) Remove obstrusiv... 1902450 Fix wording in module API documentation e724a8f Fix redisplay of glyphless characters 8fc892d Update --without-toolkit-scroll-bars doc 80e0bfa Call GTK functions only on GTK scrollbars 91c4c46 Update the description of startup in ELisp manual 18b42c6 Use the 'line-number' face for line-number fields past EOB a6ab8db Ensure NS frame is redrawn correctly after scroll Conflicts: lisp/isearch.el
| * Clarify documentation of fractional vertical scrolling and some doc stringsAlan Mackenzie2018-10-151-9/+11
| | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (vertical scrolling): Clarify the meaning of vertical scrolling by referring to tall screen lines, images, and the display action. Clarify an ambiguous English tense. * src/window.c (window-vscroll, set-window-vscroll): Amend doc strings to refer to display.
* | Handle buffer-local 'window-size-change-functions' specially (Bug#32637)Martin Rudalics2018-09-101-0/+8
| | | | | | | | | | | | | | | | | | * src/window.c (run_window_size_change_functions): Run a buffer-local value once per each frame and only if at least one window showing the buffer on that frame has changed its size. (Bug#32637) * doc/lispref/windows.texi (Window Hooks): Describe new behavior of buffer-local 'window-size-change-functions'.
* | Keep interactive uses of 'recenter' backward compatible (Bug#31325)John Shahid2018-07-071-1/+2
| | | | | | | | | | | | | | | | | | * window.c (Frecenter): Change the interactive spec to always pass a non-nil value to the REDISPLAY argument when called interactively. * window.el (recenter-top-bottom): Make sure 'recenter's second argument is non-nil everywhere. * windows.texi (Textual Scrolling): Update documentation of 'recenter'.
* | Fix last changeEli Zaretskii2018-07-011-1/+3
| | | | | | | | | | | | | | | | | | * src/w32console.c (Fset_screen_color): Call Frecenter with 2 arguments. (Bug#31325) * etc/NEWS: * doc/lispref/windows.texi (Textual Scrolling): Clarify the role of the second argument to 'recenter'.
* | Add a new argument to 'recenter' to allow finer control of redisplayJohn Shahid2018-07-011-5/+7
| | | | | | | | | | | | | | | | | | * window.c (recenter): Add a new REDISPLAY argument to allow the caller to control the redisplay behavior. 'recenter' will only redisplay the frame if this new arg and 'recenter-redisplay' are both non-nil. (recenter-top-bottom): Pass an extra non-nil argument to 'recenter' to force a redisplay. (Bug#31325)
* | Merge from origin/emacs-26Glenn Morris2018-06-181-1/+3
|\ \ | |/ | | | | | | | | ebe065f Prevent errant scroll on mouse click (Bug#31546) ffd2018 Minor documentation fix cf4dc95 * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug...
| * Minor documentation fixEli Zaretskii2018-06-171-1/+3
| | | | | | | | | | * doc/lispref/windows.texi (Window Start and End): Improve documentation and indexing of window-end.
* | Improve documentation for "other window" scrollingBasil L. Contovounesios2018-05-101-0/+7
|/ | | | | | | | | | | | * doc/emacs/windows.texi (Other Window): * doc/lispref/windows.texi (Textual Scrolling): Document scroll-other-window-down. * doc/lispref/minibuf.texi (Minibuffer Misc): Cross-reference minibuffer-scroll-window with Textual Scrolling. * src/window.c (Fother_window_for_scrolling): Clarify how "other window" is determined in docstring. (Fscroll_other_window): Simplify docstring, pointing to that of Fother_window_for_scrolling. (bug#30207)
* Fix typos and minor wording issues in ELisp manualEli Zaretskii2018-04-131-1/+1
| | | | | | | | | | | | | | * doc/lispref/internals.texi (Writing Emacs Primitives): * doc/lispref/display.texi (Temporary Displays): Fix typos. * doc/lispref/text.texi (Filling, Changing Properties) (Transposition): Clarify and fix typos. * doc/lispref/positions.texi (Screen Lines): Improve wording. * doc/lispref/modes.texi (Minor Mode Conventions) (Font Lock Multiline): Fix typos. * doc/lispref/variables.texi (Dynamic Binding Tips): Fix a cross-reference. Fix a typo. * doc/lispref/sequences.texi (Sequence Functions): Fix typos. (Bug#31143)