summaryrefslogtreecommitdiff
path: root/lisp/tab-bar.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* * lisp/tab-bar.el: Fix the close button with auto-width (bug#66678).Petteri Hintsanen2023-10-221-1/+3
| | | | | | (tab-bar-auto-width): Take into account the length of tab-bar-close-button more than one character: " x". Don't merge to master.
* ; * lisp/tab-bar.el: Autoload cl--set-substring, as that is needed for loadup.Eli Zaretskii2023-08-051-0/+2
|
* * lisp/tab-bar.el: Don't use 'minibuffer-selected-window' (bug#62427).Juri Linkov2023-05-191-6/+6
| | | | | | (tab-bar-select-tab, tab-bar-new-tab-to): Use 'window-minibuffer-p' instead of 'minibuffer-selected-window'. And switch to 'get-mru-window' instead of 'minibuffer-selected-window'.
* Split windows horizontally in places that use split to create a new window.Juri Linkov2023-05-191-1/+2
| | | | | | | | * lisp/tab-bar.el (tab-bar-new-tab-to): * lisp/window.el (window-state-put): To create a new window, split horizontally instead of vertically. Use 'window-safe-min-width' for the SIZE arg of 'split-window'. (bug#62592)
* * lisp/tab-bar.el (tab-bar-new-tab-to): Set 'window-side' to nil (bug#62427).Juri Linkov2023-05-151-1/+3
| | | | This is still needed for the case when tab-bar-new-tab-choice is 'window'.
* tab-bar-new-tab: inhibit side-window checksBenson Chu2023-04-241-6/+5
| | | | | | | | | | | | | Previously, calling 'tab-bar-new-tab-to' only removed the 'window-side' property on the currently selected window, and then a call to 'delete-other-windows' was made to ensure that the selected window was the only window. We can skip this check by shadowing 'window--sides-inhibit-check' to t. * lisp/tab-bar.el (tab-bar-new-tab-to): Inhibit side-window checks. (Bug#62427) Copyright-paperwork-exempt: yes
* Improve documentation of 'repeat-mode' and related variablesEli Zaretskii2023-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/bindings.el (next-error-repeat-map) (page-navigation-repeat-map, undo-repeat-map): * lisp/tab-bar.el (tab-bar-switch-repeat-map) (tab-bar-move-repeat-map): * lisp/window.el (other-window-repeat-map) (resize-window-repeat-map): Mention repeatable commands in the doc strings. * lisp/repeat.el (repeat-exit-timeout, repeat-check-key) (repeat-echo-function, repeat-mode, repeat-check-key) (repeat-check-map, repeat-echo-message-string) (repeat-echo-message, repeat-echo-mode-line) (describe-repeat-maps): Improve wording of doc strings. (describe-repeat-maps): Improve wording of the heading line. (Bug#61183) * doc/emacs/basic.texi (Repeating): Clarify and improve wording of 'repeat-mode' documentation.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* Use the new keyword ':repeat' in repeatable keymaps.Juri Linkov2022-12-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | * lisp/bindings.el (undo-repeat-map) (buffer-navigation-repeat-map, next-error-repeat-map) (page-navigation-repeat-map): * lisp/comint.el (comint-repeat-map): * lisp/dired.el (dired-jump-map): * lisp/outline.el (outline-navigation-repeat-map) (outline-editing-repeat-map): * lisp/shell.el (shell-repeat-map): * lisp/tab-bar.el (tab-bar-switch-repeat-map) (tab-bar-move-repeat-map): * lisp/window.el (other-window-repeat-map) (resize-window-repeat-map): * lisp/winner.el (winner-repeat-map): * lisp/eshell/em-prompt.el (eshell-prompt-repeat-map): * lisp/eshell/esh-mode.el (eshell-command-repeat-map): Add the keyword ':repeat' to 'defvar-keymap' instead of setting the symbol property 'repeat-map' explicitly. * lisp/keymap.el (defvar-keymap): Check for 'props' that is used in 'defvar-form'.
* ; * lisp/tab-bar.el: Remaining renaming of "fixed-width" to "auto-width".Juri Linkov2022-12-211-7/+7
|
* * lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-keymap' instead of 'ignore'.Juri Linkov2022-12-151-1/+1
| | | | | This helps to avoid the error in 'where-is-internal' that should not call :filter unnecessarily (bug#9923).
* Make tab-bar-tab-group-format-function backwards-compatible (bug#60073)Juri Linkov2022-12-151-10/+17
| | | | | | * lisp/tab-bar.el (tab-bar--format-tab-group): Add condition-case with wrong-number-of-arguments for backwards-compatibility. (tab-bar-tab-group-format-default): Simplify.
* Make tab-bar-tab-group-format-function also handle current groupGabriel do Nascimento Ribeiro2022-12-151-11/+11
| | | | | | | * lisp/tab-bar.el (tab-bar--format-tab-group): Call 'tab-bar-tab-group-format-default' to format current group tab. (tab-bar-tab-group-format-default): Update function to also handle current group tab (bug#60073).
* Use the function 'window-system' on the tab-bar/tab-line (bug#59620)Juri Linkov2022-12-041-4/+4
| | | | | | | * lisp/tab-bar.el (tab-bar-separator) (tab-bar-format-align-right, tab-bar-auto-width): * lisp/tab-line.el (tab-line-format-template): Replace the variable 'window-system' with the function call '(window-system)'.
* * lisp/tab-bar.el (tab-bar-format-align-right): Fix alignment on TTY frames.Juri Linkov2022-12-021-3/+8
| | | | | | Calculate the alignment from the left edge instead of the right edge since the `right' spec doesn't work on TTY frames when windows are split horizontally (bug#59620).
* ; * lisp/tab-bar.el (tab-bar-change-tab-group): Doc fix.Eli Zaretskii2022-12-011-1/+1
|
* * lisp/tab-bar.el: Keep tabs of the same group together (bug#59721)Juri Linkov2022-11-301-4/+8
| | | | | | (tab-bar-tab-post-change-group-functions): Change the default value to '(tab-bar-move-tab-to-group)'. Improve docstring. (tab-bar-change-tab-group): Improve docstring.
* ; typosMattias EngdegÄrd2022-11-281-1/+1
| | | | (cherry picked from commit 7939184f8e0370e7a3397d492812c6d202c2a193)
* * lisp/tab-bar.el: More improvements for tab-bar-auto-width (bug#59208)Juri Linkov2022-11-131-23/+36
| | | | | | (tab-bar-auto-width): Use add-face-text-property instead of propertize. Prevent from going into infinite loops. More optimizations. (tab-bar-format-align-right): Use add-face-text-property, not propertize.
* * lisp/tab-bar.el (tab-bar-auto-width): Add selected-frame to the cache key.Juri Linkov2022-11-091-1/+2
|
* * lisp/tab-bar.el (tab-bar-auto-width): Use 'frame-inner-width'.Juri Linkov2022-11-091-1/+1
|
* * lisp/tab-bar.el (tab-bar-get-buffer-tab): Add optional arg 'all-tabs'.Juri Linkov2022-11-091-8/+16
|
* ; * lisp/tab-bar.el (tab-bar-auto-width): Remaining renaming in docstring.Juri Linkov2022-11-071-2/+2
|
* ; Improve documentation of automatic tab-bar tab resizingEli Zaretskii2022-11-071-35/+47
| | | | | | | | | | | * etc/NEWS: * lisp/tab-bar.el (tab-bar-auto-width): Rename from tab-bar-fixed-width. All similar variables changed accordingly; all users changed. (tab-bar-auto-width, tab-bar-auto-width-max) (tab-bar-auto-width-min): Doc fixes. * etc/NEWS: Resurrect the lost Local variables section.
* * lisp/tab-bar.el (tab-bar-fixed-width-max): Change :type from cons to list.Juri Linkov2022-11-061-10/+14
| | | | | | | This will allow possible future extensions to customize Double (HiDPI). (tab-bar-fixed-width-min): Change :type from cons to list. (tab-bar-fixed-width): Use the list instead of cons.
* * lisp/tab-bar.el (tab-bar-fixed-width): Improve width calculations.Juri Linkov2022-11-051-3/+4
|
* * lisp/tab-bar.el (tab-bar-fixed-width): New user option.Juri Linkov2022-11-041-1/+111
| | | | | | | | | | (tab-bar-fixed-width-max): New user option. (tab-bar-fixed-width-min): New variable. (tab-bar-fixed-width-faces): New variable. (tab-bar--fixed-width-hash): New function. (tab-bar-make-keymap-1): Use 'tab-bar-fixed-width'. https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg02067.html
* * lisp/tab-bar.el: Minibuffer follows selected tabs (bug#58728)Juri Linkov2022-10-301-4/+19
| | | | | | | | (tab-bar-select-tab): Set set-window-configuration arg DONT-SET-MINIWINDOW to t. Reselect the previously active minibuffer and unselect unnecessarily selected minibuffer. (tab-bar-history-back, tab-bar-history-forward): Set set-window-configuration arg DONT-SET-MINIWINDOW to t.
* Unbreak the build broken by tab-bar.el changesEli Zaretskii2022-10-241-2/+2
| | | | | | | | | | | | | | | Without this change, compiling tab-bar.el errors out: In tab-bar--load-buttons: tab-bar.el:161:18: Warning: reference to free variable `tab-bar-new' tab-bar.el:174:6: Error: `define-icon' defined after use in (define-icon tab-bar-close nil (cons (cons 'image (cons "tabs/close.xpm" (cons :margin (cons tab-bar-button-margin '(:ascent center))))) '((text " x"))) "Icon for closing the clicked tab." :version "29.1" :help-echo "Click to close tab") (missing `require' of a library file?) tab-bar.el:174:18: Warning: reference to free variable `tab-bar-close' * lisp/tab-bar.el (eval-when-compile): Require 'icons.
* * lisp/tab-bar.el: Use customizable button icons (bug#51309, bug#51648)Juri Linkov2022-10-241-37/+61
| | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar--load-buttons): Use 'define-icon' to define icons for tab-bar-new, tab-bar-close, tab-bar-menu-bar. Also set tab-bar-new-button, tab-bar-close-button, tab-bar-menu-bar-button to the specified icon-string. (tab-bar-history-mode): Use 'define-icon' to define icons for tab-bar-back, tab-bar-forward. Also set tab-bar-back-button, tab-bar-forward-button to the specified icon-string. * lisp/emacs-lisp/icons.el (icons--create)<image>: Allow to easy add new image props by using 'apply' on them. Add :margin.
* Use '^' key for detach command bindingsSean Whitton2022-09-141-0/+1
| | | | | | * lisp/tab-bar.el (tab-prefix-map): Move tear-off-window to C-x w ^ f. Bind tab-window-detach to C-x w ^ t. * lisp/window.el (window-prefix-map): Bind tab-detach to C-x t ^ f.
* * lisp/tab-bar.el (tab-prefix-map): Fix key broken by conversion.Juri Linkov2022-07-281-1/+1
|
* Fix tab-bar resizing under 'auto-resize-tab-bars' = 'grow-only'Eli Zaretskii2022-07-171-1/+3
| | | | | | | | | * src/xdisp.c (redisplay_tab_bar): Compute the desired height of the tab-bar before iterating over the tab-bar string, to detect the required resizing earlier. Default 'change_p' to 'false'. * lisp/tab-bar.el (tab-bar--update-tab-bar-lines): Support 'auto-resize-tab-bars' set to 'grow-only'.
* Prefer defvar-keymap in tab-bar.elStefan Kangas2022-07-131-78/+70
| | | | | | | * lisp/tab-bar.el: Prefer keymap-set. (tab-bar-map, tab-switcher-mode-map) (tab-bar-switch-repeat-map, tab-bar-move-repeat-map): Prefer defvar-keymap.
* Make some defcustom types more restrictiveStefan Kangas2022-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/abbrev.el (abbrev-suggest-hint-threshold): * lisp/bookmark.el (bookmark-bmenu-file-column) (bookmark-menu-length): * lisp/buff-menu.el (Buffer-menu-size-width) (Buffer-menu-mode-width): * lisp/calendar/calendar.el (calendar-week-start-day) (calendar-intermonth-spacing, calendar-column-width) (calendar-day-digit-width): * lisp/calc/calc.el (calc-undo-length): * lisp/calendar/timeclock.el (timeclock-workday): * lisp/comint.el (comint-buffer-maximum-size) (comint-input-ring-size): * lisp/doc-view.el (doc-view-resolution, doc-view-image-width): * lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-max-column): * lisp/emacs-lisp/comp.el (native-comp-debug) (native-comp-verbose, native-comp-async-jobs-number): * lisp/emacs-lisp/package.el (package-name-column-width) (package-version-column-width, package-status-column-width) (package-archive-column-width): * lisp/eshell/esh-mode.el (eshell-buffer-maximum-lines): * lisp/frame.el (blink-cursor-blinks): * lisp/info.el (Info-breadcrumbs-depth): * lisp/jit-lock.el (jit-lock-chunk-size): * lisp/kmacro.el (kmacro-ring-max): * lisp/menu-bar.el (yank-menu-length, yank-menu-max-items): * lisp/midnight.el (clean-buffer-list-delay-general) (clean-buffer-list-delay-special): * lisp/net/dictionary.el (dictionary-port) (dictionary-proxy-port): * lisp/net/ldap.el (ldap-default-port): * lisp/net/pop3.el (pop3-port, pop3-stream-length): * lisp/net/rcirc.el (rcirc-default-port): * lisp/net/sieve-manage.el (sieve-manage-default-port): * lisp/play/spook.el (spook-phrase-default-count): * lisp/play/tetris.el (tetris-buffer-width) (tetris-buffer-height, tetris-width, tetris-height) (tetris-top-left-x, tetris-top-left-y): * lisp/profiler.el (profiler-sampling-interval): * lisp/progmodes/sql.el (sql-port): * lisp/recentf.el (recentf-max-menu-items): * lisp/strokes.el (strokes-grid-resolution): * lisp/tab-bar.el (tab-bar-tab-name-truncated-max): * lisp/term/xterm.el (xterm-max-cut-length): * lisp/time.el (display-time-interval, world-clock-timer-second): * lisp/url/url-cache.el (url-cache-expire-time): * lisp/url/url-cookie.el (url-cookie-save-interval): * lisp/url/url-history.el (url-history-save-interval): * lisp/url/url-queue.el (url-queue-parallel-processes) (url-queue-timeout): * lisp/url/url-vars.el (url-max-password-attempts) (url-max-redirections): * lisp/vc/emerge.el (emerge-min-visible-lines): * lisp/vc/vc.el (vc-log-show-limit): * lisp/window.el (window-min-height, window-min-width): * lisp/winner.el (winner-ring-size): Use :type natnum. * lisp/savehist.el (savehist-file-modes): Fix setting to nil value and use :type natnum.
* Quote some literal keys to get help-key-binding faceStefan Kangas2022-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align): * lisp/bindings.el (undo-repeat-map): * lisp/calc/calc-embed.el (calc-do-embedded): * lisp/calc/calc-prog.el (calc-user-define-invocation): * lisp/calc/calc-yank.el (calc--edit-mode): * lisp/comint.el (comint-history-isearch) * lisp/dired.el (dired-mode): * lisp/emulation/viper.el (viper-mode): * lisp/erc/erc-button.el (erc-button-face): * lisp/erc/erc-track.el (erc-track-enable-keybindings): * lisp/gnus/gnus-art.el (gnus-article-button-face): * lisp/gnus/gnus-eform.el (gnus-edit-form): * lisp/gnus/gnus-sum.el (gnus-summary-stop-at-end-of-message) (gnus-summary-goto-unread): * lisp/icomplete.el (icomplete-show-matches-on-no-input): * lisp/image-mode.el (image-scroll-up): * lisp/international/iso-transl.el (iso-transl-set-language): * lisp/isearch.el (isearch-forward-regexp): * lisp/misc.el (butterfly): * lisp/outline.el (outline-minor-mode-cycle-filter) (outline-minor-mode-cycle): * lisp/progmodes/grep.el (rgrep): * lisp/progmodes/gud.el (gud-gdb-repeat-map, gud-sdb-repeat-map) (gud-dbx-repeat-map, gud-xdb-repeat-map, gud-perldb-repeat-map) (gud-pdb-repeat-map, gud-guiler-repeat-map, gud-jdb-repeat-map): * lisp/progmodes/idlw-shell.el (idlwave-shell-graphics-window-size) (idlwave-shell-mode): * lisp/progmodes/idlwave.el (idlwave-shell-debug-modifiers) (idlwave-list-shell-load-path-shadows): * lisp/progmodes/python.el (python-shell-get-process-or-error): * lisp/repeat.el (repeat-check-key): * lisp/replace.el (query-replace, query-replace-regexp) (read-regexp): * lisp/simple.el (read-extended-command-predicate): * lisp/tab-bar.el (tab-bar-switch-repeat-map) (tab-bar-move-repeat-map): * lisp/term.el (ansi-term): * lisp/textmodes/reftex-index.el (reftex-index-phrases-set-macro-key): * lisp/vc/emerge.el (emerge-scroll-left, emerge-scroll-right): * lisp/windmove.el: * lisp/winner.el (winner-mode): Quote literal keys to get 'help-key-binding' face. * lisp/comint.el (comint-insert-previous-argument): Use regular quotes.
* Further audits of single quotes in Lisp doc stringsLars Ingebrigtsen2022-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/manual/etags/el-src/emacs/lisp/progmodes/etags.el (tags-apropos-additional-actions): * lisp/window.el (delete-window-choose-selected): * lisp/vc/ediff-merg.el (ediff-combination-pattern): * lisp/vc/diff.el (diff-no-select): * lisp/tab-bar.el (tab-bar-new-tab-choice): * lisp/simple.el (next-error-message-highlight): (backward-delete-char-untabify): * lisp/ses.el (ses-jump-cell-name-function): * lisp/org/org.el (org-latex-to-html-convert-command): * lisp/org/org-agenda.el (org-agenda-sorting-strategy): * lisp/net/tramp.el (tramp-default-file-modes): * lisp/net/newst-treeview.el (newsticker-treeview-use-feed-name-from-url-list-in-treeview): * lisp/net/eww.el (eww-auto-rename-buffer): * lisp/mwheel.el (mouse-wheel-scroll-amount): * lisp/mail/rmail.el (rmail-re-abbrevs): * lisp/info.el (Info-history-forward-menu): * lisp/gnus/nnselect.el (nnselect-retrieve-headers-override-function): * lisp/gnus/gnus-start.el (gnus-subscribe-hierarchical-interactive): * lisp/fringe.el (fboundp): * lisp/eshell/esh-var.el (eshell-variable-aliases-list): * lisp/emacs-lisp/checkdoc.el (checkdoc-column-zero-backslash-before-paren): * lisp/dired-aux.el (dired-confirm-shell-command): * lisp/calendar/calendar.el (calendar-time-zone-style): * lisp/ansi-color.el (ansi-color-faces-vector): (ansi-color-names-vector): Audit use of various single quotes in Lisp doc strings.
* * lisp/tab-bar.el (switch-to-buffer-other-tab): Use pop-to-buffer (bug#55582).Juri Linkov2022-05-231-3/+3
| | | | | Replace display-buffer with pop-to-buffer that sets the current buffer explicitly.
* * lisp/tab-bar.el: Use pixel-based alignment (bug#55207)Juri Linkov2022-05-041-3/+3
| | | | | | * lisp/tab-bar.el (tab-bar-format-align-right): Use string-pixel-width on the string with tab-bar face to get the width in pixels to align. (tab-bar-format-global): Remove string-trim-right to keep padding-right.
* Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/regex-emacs-tests.el (regex-tests-compare): (regex-tests-compare): (regex-tests-match): * test/lisp/xml-tests.el (xml-parse-tests--qnames): * test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from): * test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset): * test/lisp/calc/calc-tests.el (calc-tests-equal): * lisp/window.el (get-lru-window): (get-mru-window): (get-largest-window): (quit-restore-window): (display-buffer): * lisp/vc/vc-rcs.el (vc-rcs-consult-headers): * lisp/url/url-auth.el (url-digest-auth-build-response): * lisp/tutorial.el (tutorial--find-changed-keys): * lisp/transient.el (transient-suffix-object): * lisp/textmodes/rst.el (rst-insert-list-new-item): * lisp/textmodes/bibtex.el (bibtex-clean-entry): * lisp/tab-bar.el (tab-bar--key-to-number): (toggle-frame-tab-bar): * lisp/ses.el (ses-recalculate-cell): (ses-define-local-printer): (ses-prin1): * lisp/progmodes/xref.el (xref--find-ignores-arguments): * lisp/progmodes/verilog-mode.el (verilog-single-declaration-end): * lisp/progmodes/tcl.el (tcl-mode-hook): * lisp/progmodes/gdb-mi.el (gdb-get-buffer-create): * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref): * lisp/play/dunnet.el (dun-room-objects): * lisp/outline.el (outline--cycle-state): * lisp/org/ox-publish.el (org-publish-find-property): * lisp/org/ox-html.el (org-html--unlabel-latex-environment): * lisp/org/org-table.el (org-table-collapse-header): * lisp/org/org-plot.el (org--plot/prime-factors): * lisp/org/org-agenda.el (org-agenda--mark-blocked-entry): (org-agenda-set-restriction-lock): * lisp/org/ob-lua.el (org-babel-lua-read-string): * lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process): (org-babel-julia-evaluate-session): * lisp/org/ob-core.el (org-babel-default-header-args): * lisp/obsolete/mouse-sel.el (mouse-select): (mouse-select-secondary): * lisp/net/tramp.el (tramp-methods): * lisp/net/eww.el (eww-accept-content-types): * lisp/net/dictionary-connection.el (dictionary-connection-status): * lisp/minibuffer.el (completion-flex--make-flex-pattern): * lisp/mh-e/mh-mime.el (mh-have-file-command): * lisp/mh-e/mh-limit.el (mh-subject-to-sequence): (mh-subject-to-sequence-threaded): (mh-subject-to-sequence-unthreaded): * lisp/mail/feedmail.el (feedmail-queue-buffer-file-name): (feedmail-vm-mail-mode): * lisp/ls-lisp.el (ls-lisp--sanitize-switches): * lisp/keymap.el (key-valid-p): * lisp/international/ccl.el (ccl-compile-branch-blocks): * lisp/image/image-converter.el (image-convert): * lisp/gnus/spam.el (spam-backend-check): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/nnmairix.el (nnmairix-widget-other): * lisp/gnus/message.el (message-mailto): * lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article): * lisp/gnus/gnus-search.el (gnus-search-prepare-query): * lisp/frame.el (frame-size-history): * lisp/eshell/esh-var.el (eshell-parse-variable-ref): * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): * lisp/erc/erc-backend.el (erc-bounds-of-word-at-point): * lisp/emulation/cua-rect.el (cua--rectangle-operation): * lisp/emacs-lisp/text-property-search.el (text-property-search-forward): * lisp/emacs-lisp/package.el (package-desc-suffix): * lisp/emacs-lisp/faceup.el (faceup-test-explain): * lisp/emacs-lisp/comp.el (comp-curr-allocation-class): (comp-alloc-class-to-container): (comp-add-cstrs): (comp-remove-type-hints-func): (batch-byte+native-compile): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/elec-pair.el (electric-pair--syntax-ppss): * lisp/doc-view.el (doc-view-doc-type): * lisp/cedet/semantic/symref.el (semantic-symref-tool-alist): (semantic-symref-hit-to-tag-via-db): (semantic-symref-hit-to-tag-via-buffer): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function): * lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions): * lisp/cedet/semantic.el (semantic-working-type): * lisp/cedet/ede/files.el (ede-flush-directory-hash): * lisp/calc/calc.el (calc--header-line): * lisp/auth-source.el (auth-source-pick-first-password): (auth-source--decode-octal-string): * etc/themes/modus-themes.el (modus-themes--paren): (modus-themes--agenda-habit): * admin/cus-test.el (cus-test-vars-with-changed-state): Fix quoting in doc strings. In code examples, the ' character is quoted with \\=, and regularize 'foo to `foo', and quote strings like "foo" instead of 'foo'.
* * lisp/tab-bar.el (tab-bar-undo-close-tab): Update tab-bar-lines (bug#54684)Juri Linkov2022-04-031-2/+3
|
* * lisp/tab-bar.el (tab-bar-new-tab-to): Don't funcall const values.Juri Linkov2022-03-201-1/+2
| | | | | Filter out the values 'clone' and 'window' of 'tab-bar-new-tab-choice' from function call.
* * lisp/tab-bar.el: Create new unique windows with 'C-x t n' (bug#54038).Juri Linkov2022-02-231-11/+18
| | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-new-tab-choice): Replace the value 'nil' with explicit 'clone'. (tab-bar-move-window-to-tab): Ignore possible side/atom window parameters with ignore-window-parameters while deleting window. (tab-bar-new-tab-to): When 'tab-bar-new-tab-choice' is 'clone', create new unique windows with the same layout using window-state-get and window-state-put. Do the same after deleting other windows when 'tab-bar-new-tab-choice' is 'window'. (tab-bar-duplicate-tab): Replace the value 'nil' with 'clone' for 'tab-bar-new-tab-choice'.
* * lisp/tab-bar.el (tab-bar-new-tab-choice): Add const 'window'. Update doc.Juri Linkov2022-02-061-5/+14
| | | | | | (tab-bar-new-tab-to): Remove window parameters 'window-side' and 'window-atom' from the old window. Move split-window/delete-window inside ignore-window-parameters (bug#53662).
* * lisp/tab-bar.el (tab-bar-menu-bar-button): New variable (bug#51648).Juri Linkov2022-01-291-1/+5
| | | | (tab-bar-format-menu-bar): Use it.
* 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
| |
* | * lisp/tab-bar.el (tab-bar-history-mode-map): New defvar-keymap.Juri Linkov2021-12-271-0/+4
| |
* | Merge from origin/emacs-28Stefan Kangas2021-12-131-1/+1
|\| | | | | | | | | | | | | | | 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