aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Implement tab close undo feature for tab-bar.Juri Linkov2019-10-231-3/+48
| | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-closed-tabs): New variable. (tab-bar-close-tab): Add closed tab to tab-bar-closed-tabs. Disable tab-bar-mode on closing the last tab. (tab-bar-close-other-tabs): Add all closed tabs to tab-bar-closed-tabs. (tab-bar-undo-close-tab): New command. (tab-undo): Alias to tab-bar-undo-close-tab.
* | * lisp/cedet/semantic/analyze/complete.el: Fix completion-at-pointStefan Monnier2019-10-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Completion tables are not supposed to signal errors: emacs -q M-x semantic-mode ; visit a file supported by semantic, such as a C file ; put cursor in a blank space M-x completion-at-point It will error with: "Nothing to complete" (semantic-analyze-possible-completions): Return nil instead of signaling errors.
* | Ensure that the prompt is kept on the final lineLars Ingebrigtsen2019-10-232-0/+16
| | | | | | | | | | | | | | | | | | * lisp/erc/erc-goodies.el (erc-possibly-scroll-to-bottom): New function. (scrolltobottom): Add to erc-insert-done-hook. * lisp/erc/erc.el (erc-insert-done-hook): New hook (bug#11697). (erc-display-line-1): Use it.
* | Make erc-cmd-CLEAR do what its doc string saysLars Ingebrigtsen2019-10-231-1/+2
| | | | | | | | | | * lisp/erc/erc.el (erc-cmd-CLEAR): Delete the buffer contents instead of recentering (bug#31743).
* | Make display of S/MIME signatures slightly betterLars Ingebrigtsen2019-10-231-1/+1
| | | | | | | | | | * lisp/epg.el (epg-signature-to-string): Decode percent escapes (bug#36101).
* | Make Gnus recognise "git am" diffs in all groupsLars Ingebrigtsen2019-10-231-3/+2
| | | | | | | | | | * lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Recognise diffs in all groups (bug#32730).
* | Add version tag to gnutls-min-prime-bitsStefan Kangas2019-10-231-1/+2
| | | | | | | | * lisp/net/gnutls.el (gnutls-min-prime-bits): Add version tag.
* | Avoid extra lines in python-shell font lock buffer (Bug#33959)memeplex2019-10-221-12/+13
| | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-font-lock-comint-output-filter-function): Avoid writing a newline to the font lock buffer when receiving an empty string.
* | Tab-line horizontal scrolling with UI buttons and commands (bug#37667)Juri Linkov2019-10-231-43/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/images/tabs/left-arrow.xpm: * etc/images/tabs/right-arrow.xpm: New images. * lisp/tab-line.el (tab-line-left-map, tab-line-right-map): New keymaps. (tab-line-left-button, tab-line-right-button): New variables. (tab-line-tab-name-function): Turn defvar into defcustom. (tab-line-tab-name-buffer): New function. (tab-line-tab-name-truncated-buffer): Rename from tab-line-tab-name. (tab-line-tabs-limit): Default to nil. (tab-line-tabs): Behavior depends on tab-line-tabs-limit. (tab-line-format): Use window-parameter tab-line-hscroll. Add left/right buttons. (tab-line-hscroll): New function. (tab-line-hscroll-right, tab-line-hscroll-left): New commands bound to mouse-wheel. Rebind tab-switching commands to mouse-wheel with Ctrl-modifier.
* | Fix "make bootstrap" build warning in tab-bar.elLars Ingebrigtsen2019-10-221-1/+3
| | | | | | | | | | | | * lisp/tab-bar.el (require): Require seq when compiling to avoid a compilation warning. The function it uses is autoloaded, but autoloads aren't loaded when this is built (on "make bootstrap").
* | Various doc fixes for auto-insert-modeStefan Kangas2019-10-221-1/+1
| | | | | | | | | | | | * doc/misc/autotype.texi (Autoinserting): Various doc fixes. * lisp/autoinsert.el (top-level): Recommend 'auto-insert-mode' over 'add-hook'.
* | rx doc string tweaksMattias Engdegård2019-10-221-3/+4
| | | | | | | | | | * lisp/emacs-lisp/rx.el (rx--translate-seq, rx--translate-or, rx): Say "zero or more" instead of "one or more" where applicable.
* | Make edebug-eval-last-sexp interactively take a zero prefixLars Ingebrigtsen2019-10-221-10/+29
| | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-eval-last-sexp): Make the zero prefix work analogously to in eval-last-sexp (bug#28895). (edebug-eval-print-last-sexp): Ditto.
* | Show stash counts in button in vc-dirRobert Pluim2019-10-221-16/+37
| | | | | | | | | | | | | | | | | | | | | | | | Based on suggestions from Mattias Engdegård. * lisp/vc/vc-git.el (vc-git--make-button-text): New function to generate text for stash button. (vc-git-make-stash-button): Show stash counts. Delete and recreate button when toggling. (vc-git-dir-extra-headers): Pass counts to vc-git-make-stash-button. Treat stash count <= vc-git-show-stash as equivalent to showing entire list.
* | Move entry for \Ref into LaTeX coreArash Esbati2019-10-221-2/+2
| | | | | | | | | | | | | | * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Move entry for \Ref from "Varioref" into "Default" as this macro is part of LaTeX 2019-10-01 kernel. Rearrange entries for "Varioref".
* | Remove XEmacs compat code from speedbar.elStefan Kangas2019-10-221-69/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/speedbar.el (speedbar-frame-plist, speedbar-frame-mode) (speedbar-make-overlay, speedbar-overlay-put, speedbar-delete-overlay) (speedbar-mode-line-update, speedbar-frame-reposition-smartly) (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps) (speedbar-add-localized-speedbar-support, speedbar-check-vc) (speedbar-highlight-one-tag-line) (speedbar-unhighlight-one-tag-line): Remove XEmacs compat code. * doc/misc/speedbar.texi (Frames and Faces): Remove documentation for XEmacs.
* | * lisp/vc/vc-annotate.el (vc-annotate-lines): Use set-face-extend (bug#37774)Juri Linkov2019-10-221-0/+1
| |
* | Try to not put SMTP passwords in the *Messages* bufferLars Ingebrigtsen2019-10-211-2/+8
| | | | | | | | | | | | | | * lisp/mail/smtpmail.el (smtpmail--sanitize-error-message): New function. (smtpmail-send-it): Use it. (smtpmail-send-queued-mail): Ditto.
* | * lisp/emacs-lisp/cursor-sensor.el: Make it possible to reveal invisible textStefan Monnier2019-10-211-8/+18
| | | | | | | | | | (cursor-sensor-mode): Hook into post-command-hook as well. (cursor-sensor--detect): Make argument optional.
* | Tiny clean-up of previous edebug patchLars Ingebrigtsen2019-10-211-1/+1
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): Clean up code slightly.
* | Ensure we always remove the breakpoint overlaysLars Ingebrigtsen2019-10-211-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--display-1): Remove the overlays here -- this cleans up after exiting no matter how we exited.
* | Add fringe markers to edebug breakpointsLars Ingebrigtsen2019-10-211-5/+18
| | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): Set a fringe element to mark the breakpoint. (edebug-breakpoint): Fringe marker.
* | Clean up previous icalendar.el changeStefan Kangas2019-10-211-6/+2
| | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--rris): Redefine as obsolete function alias.
* | Remove more XEmacs compat code from viper-*.elStefan Kangas2019-10-214-52/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/viper-cmd.el (viper-submit-report): * lisp/emulation/viper-init.el (viper-set-insert-cursor-type) (viper-restore-cursor-type, viper-use-replace-region-delimiters) (viper-has-face-support-p, viper-window-display-p) (viper-color-display-p, viper-device-type): * lisp/emulation/viper-mous.el (viper-mouse-click-search-word) (viper-mouse-click-insert-word, viper-mouse-click-get-word) (viper-mouse-click-posn, viper-mouse-click-window): * lisp/emulation/viper-util.el (viper-abbreviate-file-name) (viper-set-replace-overlay, viper-maybe-checkout): Remove XEmacs compat code.
* | Remove XEmacs compat code from icalendar.el (Bug#37816)Stefan Kangas2019-10-211-25/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--convert-string-for-export) (icalendar--convert-string-for-import) (icalendar--parse-summary-and-rest) (icalendar--convert-ordinary-to-ical) (icalendar--convert-weekly-to-ical) (icalendar--convert-yearly-to-ical) (icalendar--convert-block-to-ical) (icalendar--convert-cyclic-to-ical) (icalendar--convert-anniversary-to-ical) (icalendar--format-ical-event) (icalendar--convert-recurring-to-diary): Remove XEmacs compat code. (icalendar--rris): Declare obsolete.
* | Avoid false indications from Flymake in .dir-locals.el filesEli Zaretskii2019-10-211-2/+14
| | | | | | | | | | | | | | * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Don't install 'elisp-flymake-checkdoc' and 'elisp-flymake-byte-compile' hooks for .dir-locals.el files. Reported by Clément Pit-Claudel <cpitclaudel@gmail.com>.
* | Add button to vc-dir to toggle visibility of stash listRobert Pluim2019-10-211-18/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el: Move cl-lib require outside 'eval-when-compile'. * lisp/vc/vc-git.el (vc-git-show-stash):New user option. (vc-git-make-stash-button): Create button that allows hiding the stash list. (vc-git-dir-extra-headers): Split stash list into hideable and non-hideable parts depending on value of vc-git-show-stash. Add button to toggle visibility of hideable part. * etc/NEWS: Announce it.
* | * lisp/tab-line.el: Bind mouse commands to [tab-line].Juri Linkov2019-10-211-18/+25
| | | | | | | | | | | | | | | | | | * lisp/tab-line.el: Bind mouse-4/mouse-5, wheel-up/wheel-down globally to [tab-line]. (tab-line-tab-map): Remove local bindings of mouse-4/mouse-5. (tab-line-new-tab, tab-line-switch-to-prev-tab) (tab-line-switch-to-next-tab, tab-line-close-tab): Turn commands into mouse-free (can be used without mouse).
* | Don't try to add nil packages on refreshStefan Kangas2019-10-211-1/+4
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-read-archive-contents): Don't try to add nil entries. Warn instead. (Bug#28502) * test/lisp/emacs-lisp/package-tests.el (package-test-update-archives/ignore-nil-entry): New test. * test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents: New file.
* | Add a command to toggle an edebug breakpointLars Ingebrigtsen2019-10-201-4/+39
| | | | | | | | | | | | | | | | | | | | * doc/lispref/edebug.texi (Breakpoints): Document this. * lisp/emacs-lisp/edebug.el (edebug-disabled-breakpoint): New face (bug#23472). (edebug-enabled-breakpoint): Rename. (edebug--overlay-breakpoints): Use the new face. (edebug-toggle-disable-breakpoint): New command and keystroke.
* | Remove XEmacs compat code from decipher.elStefan Kangas2019-10-201-7/+1
| | | | | | | | | | * lisp/play/decipher.el (decipher-last-command-char) (decipher-keypress): Remove XEmacs compat code.
* | * lisp/tab-bar.el: Use autoloaded seq-position.Juri Linkov2019-10-201-43/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar--current-tab-index) (tab-bar--tab-index, tab-bar--tab-index-by-name): Use seq-position. (tab-bar-select-tab, tab-bar-new-tab, tab-bar-close-tab) (tab-bar-close-other-tabs, tab-bar-rename-tab) (tab-bar-list-execute): Call force-mode-line-update unconditionally independent from tab-bar-mode. (tab-bar-rename-tab, tab-bar-rename-tab-by-name): Use read-from-minibuffer instead of read-string to be able to enter empty string.
* | Remove XEmacs compat code from meta-mode.elStefan Kangas2019-10-201-9/+3
| | | | | | | | | | * lisp/progmodes/meta-mode.el (meta-mode-menu): (meta-mode-load-hook): Remove XEmacs compat code.
* | Remove last XEmacs compat code from tree-widget.elStefan Kangas2019-10-201-28/+8
| | | | | | | | | | | | | | | | * lisp/tree-widget.el (tree-widget-image-properties-xemacs) (tree-widget-set-theme, tree-widget--cursors) (tree-widget-image-properties, tree-widget-button-keymap) (tree-widget-icon, tree-widget-value-create): Remove XEmacs compat code.
* | Remove leftover XEmacs compat code from dig.elStefan Kangas2019-10-201-4/+0
| | | | | | | | * lisp/net/dig.el (top-level): Remove leftover XEmacs compat code.
* | Add missing rx symbols `bow' and `eow' to documentationMattias Engdegård2019-10-201-2/+2
| | | | | | | | | | * doc/lispref/searching.texi (Rx Constructs): * lisp/emacs-lisp/rx.el (rx): Add missing synonyms.
* | * lisp/tab-bar.el (tab-bar-swap-tabs): Use cl-rotatef instead of rotatef.Juri Linkov2019-10-201-2/+2
| |
* | * lisp/tab-bar.el (tab-bar-swap-tabs, tab-bar-move-tab): New commands.Juri Linkov2019-10-201-7/+29
| | | | | | | | (tab-swap, tab-move): New aliases to new commands.
* | Disable pause/resume from menu in snake and tetrisStefan Kangas2019-10-202-12/+22
| | | | | | | | | | | | * lisp/play/tetris.el (tetris--menu-def): * lisp/play/snake.el (snake--menu-def): Disable pause/resume from menu.
* | Optimize c-crosses-statement-barrier-p for large blocks of comment.Alan Mackenzie2019-10-201-1/+5
| | | | | | | | | | | | | | | | This fixes bug #18134. * lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Give a limit to the c-backward-syntactic-ws which is searching for a virtual semicolon. In the main loop, Use c-forward-syntactic-ws to skip blocks of comments.
* | Provide default value for tab-name/frame-name reading minibufferJuri Linkov2019-10-203-15/+33
| | | | | | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-rename-tab, tab-bar-rename-tab-by-name): Provide default value for read-string. (tab-bar-select-tab-by-name): Alias for tab-bar-switch-to-tab. * lisp/frame.el (set-frame-name): Provide default value for read-string in interactive spec. * lisp/cus-start.el (tab-bar-position): Use choice instead of boolean.
* | Make edebug-mode-map take precedenceLars Ingebrigtsen2019-10-201-2/+6
| | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--recursive-edit): Bind minor-mode-overriding-map-alist to avoid other minor modes hiding the edebug commands (bug#11018).
* | Fix internal-lisp-face-attributes to match face.Jimmy Aguilar Mena2019-10-201-3/+5
| | | | | | | | | | * lisp/face-remap.el (internal-lisp-face-attributes): Updated the vector members to match the real member names. (Bug#37806) (Bug#37824)
* | In xref-location-marker, handle deleted file or outdated xref location nicelyStephen Leake2019-10-201-2/+7
| | | | | | | | * lisp/progmodes/xref.el (xref-location-marker): Add ignore-errors.
* | Improve doc string of eshell and eshell-buffer-nameStefan Kangas2019-10-201-8/+21
| | | | | | | | | | | | * lisp/eshell/eshell.el (eshell-buffer-name, eshell): Improve doc strings, by clarifying how buffers are named. Also refer users to the Info manual. (Bug#37178)
* | Fix edebug--restore-breakpoints re-instrumentinging bug-outLars Ingebrigtsen2019-10-201-17/+18
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--restore-breakpoints): Don't bug out when instrumenting/de-instrumenting/re-instrumenting.
* | Add a new edebug-breakpoint faceLars Ingebrigtsen2019-10-201-1/+4
| | | | | | | | | | | | * doc/lispref/edebug.texi (Breakpoints): Mention it. * lisp/emacs-lisp/edebug.el (edebug-breakpoint): New face.
* | New command to clear all breakpoints in a functionLars Ingebrigtsen2019-10-201-0/+12
| | | | | | | | | | | | | | * doc/lispref/edebug.texi (Breakpoints): Mention it. * lisp/emacs-lisp/edebug.el (edebug-unset-breakpoints): New command and keystroke.
* | Preserve breakpoints when Edebug-reinstrumenting functionsLars Ingebrigtsen2019-10-202-6/+28
| | | | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints): New function (bug#23470). * lisp/emacs-lisp/seq.el (seq-position): Autoload.
* | Fix docstrings in tramp.elMichael Albinus2019-10-201-3/+4
| | | | | | | | | | * lisp/net/tramp.el (tramp-antispoof-regexp) (tramp-file-name-handler): Fix docstring.