aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Make 'M-x battery RET' work out-of-box for UPower users.Zajcev Evgeny2020-02-061-52/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * battery.el (battery-upower-prop): Removed in favor for 'battery-upower-device-property'. (battery-upower-device): Can be nil, meaning autodetect the battery device. (battery-upower-line-power-device): New. line-power device. Can be nil, meaning autodetect line-power device. (battery-status-function): Check UPower service is available to use 'battery-upower' as status function. (battery-upower): Speedup. Request D-Bus only once, fetching all the properties at once. Provide string for "%b" format spec. (battery-upower-device-list, battery-upower-device-all-properties, battery-upower-device-property): New functions to work with UPower devices. (battery-upower-dbus-service, battery-upower-dbus-interface, battery-upower-dbus-path, battery-upower-dbus-device-interface, battery-upower-dbus-device-path): New constants describing UPower D-Bus service.
| * | * lisp/wid-edit.el (widget-choose): Use read-char-from-minibuffer (bug#17272)Juri Linkov2020-02-061-29/+12
| | |
| * | Eval macro arg just onceTino Calancha2020-02-051-3/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--push-clause-loop-body): Use `macroexp-let2' (Bug#39428).
| * | Add ':extend t' to mm-uu-extract faceTassilo Horn2020-02-051-4/+8
| | | | | | | | | | | | | | | * lisp/gnus/mm-uu.el (mm-uu-extract): Add ':extend t' to mm-uu-extract face.
| * | Silence byte-compiler warningStefan Kangas2020-02-051-2/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header): Silence byte-compiler warning about "Unused lexical variable".
| * | Don't use obsolete function in package-tests.elStefan Kangas2020-02-051-4/+4
| | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/package-tests.el (package-test-update-archives, package-test-signed): Use 'revert-buffer' instead of obsolete 'package-menu-refresh'.
| * | Add new filter commands to Package Menu (Bug#38424)Stefan Kangas2020-02-054-94/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-filter-by-version) (package-menu-filter-by-status, package-menu-filter-by-archive): New filter commands. (package-menu--filter-by): New helper function. (package-menu-filter-by-keyword, package-menu-filter-by-name): Use the above helper function. (package-menu-mode-menu): (package-menu-mode-map): Update menu to include new filter commands. * doc/emacs/package.texi (Package Menu): Document the new commands and re-arrange the sort order of commands to be closer to the one in describe-major-mode. * etc/NEWS: Announce the new commands. * lisp/emacs-lisp/package.el (package-menu--display): New function extracted from.... (package-menu--generate): ...here. * test/lisp/emacs-lisp/package-tests.el (with-package-menu-test): New macro. (package-test-update-listing, package-test-list-filter-by-name) (package-test-list-filter-clear): Use above macro. (package-test-list-filter-by-archive) (package-test-list-filter-by-keyword) (package-test-list-filter-by-status) (package-test-list-filter-by-version-=) (package-test-list-filter-by-version-<) (package-test-list-filter-by-version->): New tests. (package-test-filter-by-version): New helper function.
| * | Minor fix in tramp-test32-shell-commandMichael Albinus2020-02-051-1/+2
| | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test32-shell-command): Set `default-directory'.
| * | Handle problem with *BSD libedit in TrampMichael Albinus2020-02-051-2/+19
| | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add "-noediting" as bash arg. (tramp-open-shell): Provide proper "~/.editrc" if needed. (Bug#39399)
| * | * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-system-info): Fix error.Michael Albinus2020-02-051-4/+5
| | |
| * | * lisp/gnus/gnus-sum.el (gnus-read-move-group-name): Use user-errorStefan Monnier2020-02-041-1/+1
| | |
| * | * lisp/emacs-lisp/map.el: Add keyword-only pattern abbreviationAdam Porter2020-02-043-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/map.el: Update version to 2.1. ((pcase-defmacro map)): Update docstring. (map--make-pcase-bindings): Match keyword pattern. * test/lisp/emacs-lisp/map-tests.el (test-map-plist-pcase): Add test.
| * | Silence byte-compiler warningStefan Kangas2020-02-041-0/+1
| | | | | | | | | | | | | | | * lisp/dired.el (grep-read-files-function): Add defvar to silence byte-compiler warning.
| * | Provide default for describe-keymap promptStefan Kangas2020-02-042-6/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-keymap): Provide a reasonable default for prompt. (Bug#30660) (help-fns-find-keymap-name) (help-fns--most-relevant-active-keymap): New functions. * test/lisp/help-fns-tests.el (help-fns-test-find-keymap-name): New test.
| * | Add new help command describe-keymapStefan Kangas2020-02-045-2/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-keymap): New command to show key bindings for a given keymap. (Bug#30660) * doc/emacs/help.texi (Misc Help): Document the new command. * doc/lispref/keymaps.texi (Scanning Keymaps): Add a cross-reference to the above documentation. * etc/NEWS: Announce the new command. * test/lisp/help-fns-tests.el (help-fns-test-describe-keymap/symbol) (help-fns-test-describe-keymap/value) (help-fns-test-describe-keymap/not-keymap) (help-fns-test-describe-keymap/let-bound) (help-fns-test-describe-keymap/dynamically-bound-no-file): New tests. Co-authored-by: Drew Adams <drew.adams@oracle.com>
| * | * lisp/progmodes/sh-script.el: Remove old non-SMIE indentation codeStefan Monnier2020-02-032-1430/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (sh-learn-basic-offset, sh-blink, sh-use-smie): Remove config vars. (sh-kw-alist, sh-learned-buffer-hook): Remove var. (sh-must-support-indent, sh-mark-init, sh-mark-line): Remove function. (sh-kw, sh-special-keywords): Remove constant. (sh-help-string-for-variable, sh-read-variable, sh-goto-matching-if) (sh-handle-prev-if, sh-handle-this-else, sh-handle-prev-else) (sh-handle-this-fi, sh-handle-prev-fi, sh-handle-this-then) (sh-handle-prev-then, sh-handle-prev-open, sh-handle-this-close) (sh-goto-matching-case, sh-handle-prev-case, sh-handle-this-esac) (sh-handle-prev-esac, sh-handle-after-case-label) (sh-handle-prev-case-alt-end, sh-safe-forward-sexp) (sh-goto-match-for-done, sh-handle-this-done, sh-handle-prev-done) (sh-handle-this-do, sh-handle-prev-do, sh-find-prev-switch) (sh-handle-this-rc-case, sh-handle-prev-rc-case, sh-check-rule) (sh-get-indent-info, sh-get-indent-var-for-line, sh-prev-line) (sh-prev-stmt, sh-get-word, sh-prev-thing, sh-this-is-a-continuation) (sh-get-kw, sh-find-prev-matching, sh-set-var-value) (sh-calculate-indent, sh-indent-line, sh-blink, sh-guess-basic-offset): Remove functions. (sh-show-indent, sh-set-indent, sh-learn-line-indent) (sh-learn-buffer-indent): Redefine as obsolete aliases.
| * | ; Fix docstring in TrampMichael Albinus2020-02-021-1/+2
| | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test32-shell-command-dont-erase-buffer): Fix docstring.
| * | ; Merge from origin/emacs-27Glenn Morris2020-02-010-0/+0
| |\ \ | | |/ | | | | | | | | | | | | The following commit was skipped: 42c1e60657 (origin/emacs-27, emacs-27) ; Auto-commit of loaddefs files.
| | * ; Auto-commit of loaddefs files.Glenn Morris2020-02-011-2/+71
| | |
| * | Merge from origin/emacs-27Glenn Morris2020-02-011-2/+2
| |\ \ | | |/ | | | | | | cdf8c31844 Extend workaround for Cygwin O_PATH bug
| | * Extend workaround for Cygwin O_PATH bugKen Brown2020-01-311-2/+2
| | | | | | | | | | | | | | | * configure.ac (HAVE_CYGWIN_O_PATH_BUG): Extend to Cygwin versions 3.1.0 through 3.1.2. (Bug#39371)
| * | ; Merge from origin/emacs-27Glenn Morris2020-02-010-0/+0
| |\ \ | | |/ | | | | | | | | | | | | The following commit was skipped: 0223a1577c * lisp/emacs-lisp/debug.el (debug): Merge the non-interact...
| | * * lisp/emacs-lisp/debug.el (debug): Merge the non-interactive casesPaul Pogonyshev2020-01-311-150/+142
| | | | | | | | | | | | | | | | | | bug#38927 (cherry picked from commit 502059433ce0e9699eb73d21656ce6e9e127d63b)
| * | Merge from origin/emacs-27Glenn Morris2020-02-018-16/+81
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5bf2ef3871 Add more blackboard bold characters to TeX input method c362a624d8 ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix comme... 2b1e18ae85 Protect against errors in gdb-mi.el handlers baceb8e84d Allow exiting the Python interpreter of a GDB session 2e66013dcf Ensure minibuffer input is added to history in read_minibuf de41161534 Tab-bar related fixes. 247f2cfa02 ; ChangeLog.3 fixes. e1a712bb3f * admin/authors.el: Add missing entries.
| | * Add more blackboard bold characters to TeX input methodAnsgar Burchardt2020-01-311-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds all capital blackboard bold letters and those for "1" and "2". Most characters are in common use in mathematics, but it does not seem useful to exclude the few not widely used. Reference: https://en.wikipedia.org/wiki/Blackboard_bold * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Add all the blackboard bold commands from AMSTeX. (Bug#21103)
| | * ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary.Eli Zaretskii2020-01-311-1/+1
| | |
| | * Protect against errors in gdb-mi.el handlersYuan Fu2020-01-311-1/+4
| | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Handle errors in 'handler-function' so the cleanup code after it runs safely. (Bug#39178)
| | * Allow exiting the Python interpreter of a GDB sessionEli Zaretskii2020-01-311-2/+4
| | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-delchar-or-quit): Send EOF to GDB if we are in an embedded interpreter. This allows to exit from "pi" cleanly. (Bug#39140)
| | * Ensure minibuffer input is added to history in read_minibufFederico Tedin2020-01-311-4/+4
| | | | | | | | | | | | | | | | | | * src/minibuf.c (read_minibuf): Parse input string after saving the string to the history list instead of before, in case parsing signals an error or is interrupted by C-g. (Bug#39291)
| | * Tab-bar related fixes.Juri Linkov2020-01-303-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-start.el (tab-bar-mode): Use dedicated group 'tab-bar'. * lisp/tab-bar.el (tab-bar-history-mode): Add :group 'tab-bar'. (tab-bar-get-buffer-tab): Add optional arg 'ignore-current-tab'. * lisp/desktop.el (desktop-buffers-not-to-save-function): Add docstring.
| | * ; ChangeLog.3 fixes.Nicolas Petton2020-01-291-1/+1
| | |
| | * * admin/authors.el: Add missing entries.Nicolas Petton2020-01-291-0/+27
| | |
| * | ; Auto-commit of loaddefs files.Glenn Morris2020-02-011-22/+88
| | |
| * | Implement `shell-command-dont-erase-buffer' in Tramp. (Bug#39067)Michael Albinus2020-02-012-55/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-shell-command): Handle `shell-command-dont-erase-buffer'. (Bug#39067) * test/lisp/net/tramp-tests.el (shell-command-dont-erase-buffer): Declare. (tramp-test10-write-region, tramp-test21-file-links): Use function symbols. (tramp--test-async-shell-command): Don't assume that `async-shell-command' returns the process object. (tramp-test32-shell-command): Rework `async-shell-command-width' test. (tramp-test32-shell-command-dont-erase-buffer): New test.
| * | Remove compatibility hack in TrampMichael Albinus2020-01-313-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-process-running-p): Remove. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Use `tramp-process-running-p'. * lisp/net/lisp/net/tramp.el (with-tramp-progress-reporter): Simplify. (tramp-process-running-p): New defun.
| * | * etc/NEWS: Move M-x suggest-key-bindings to "Editing Changes" section.Juri Linkov2020-01-312-3/+8
| | | | | | | | | | | | | | | * doc/emacs/m-x.texi (M-x): Mention effect of suggest-key-bindings on the completion list of M-x (bug#39035).
| * | prune the overly cavalier "kill all gnus buffers exit"Sam Steingold2020-01-308-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mail-source.el (mail-source-call-script): Require gnus for `gnus-get-buffer-create', following the pattern in the file. * lisp/gnus/message.el: Autoload `gnus-get-buffer-create'. * lisp/gnus/mm-archive.el: Likewise. * lisp/gnus/mml2015.el: Likewise (the file autoloads other gnus functions). * lisp/gnus/nnheader.el: Likewise. * lisp/gnus/mml1991.el (mml1991-mailcrypt-sign, mml1991-mailcrypt-encrypt): Revert the patch, use `get-buffer-create' instead of `gnus-get-buffer-create'. * lisp/gnus/smime.el (smime-new-details-buffer, smime): smime-certificate-info): Likewise. * lisp/gnus/spam-stat.el (spam-stat-store-current-buffer): Likewise.
| * | Give fuller support for obsolete ---12 dates in iso8601Lars Ingebrigtsen2020-01-302-3/+10
| | | | | | | | | | | | | | | | | | * lisp/calendar/iso8601.el (iso8601--outdated-reduced-precision-date-match): New constant. (iso8601--date-match): Use it.
| * | Make iso8601.el understand two obsolete formsLars Ingebrigtsen2020-01-302-0/+14
| | | | | | | | | | | | | | | | | | * lisp/calendar/iso8601.el (iso8601-parse-date): Understand some obsolete formats to provide compatibility with the vCard RFC (bug#39347).
| * | Show key bindings on M-x completion (bug#39035)Juri Linkov2020-01-302-10/+26
| | | | | | | | | | | | | | | * lisp/simple.el (read-extended-command--annotation): New function. (read-extended-command): Use annotation-function to show key-bindings.
| * | fix bug#39344Sam Steingold2020-01-291-1/+1
| | | | | | | | | | | | | | | * gnus.el (gnus-add-buffer): Use `cl-pushnew' instead of `push' to avoid duplicate entries.
| * | Revert "Fix MS-Windows build broken by "Install C source code""Eli Zaretskii2020-01-281-4/+0
| | | | | | | | | | | | | | | | | | This reverts commit 31efd1cea8d692a0b77101ec161a8cf290471ade, since the commit a02b179242a55aba20158aa245e5643a04d07576, which triggered the former commit, has been reverted.
| * | Merge branch 'scratch/ns/draw-to-bitmap'Alan Third2020-01-283-407/+484
| |\ \
| | * | Draw to offscreen buffer on macOSAlan Third2020-01-243-252/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nsfns.m (x_set_background_color): Clear the frame after changing the background color, not before. * src/nsterm.h (drawingBuffer): New variable. ([EmacsView focusOnDrawingBuffer]): ([EmacsView copyRect:to:]): ([EmacsView createDrawingBufferWithRect:]): New methods. * src/nsterm.m (ns_update_begin): (ns_update_end): (ns_focus): (ns_unfocus): Handle drawing to offscreen buffer. (ns_clip_to_row): Use ns_row_rect. (ns_copy_bits): Remove unused function. (ns_scroll_run): (ns_shift_glyphs_for_insert): Use new scrolling method. (ns_draw_fringe_bitmap): (ns_dumpglyphs_image): When drawing to the offscreen buffer, flip images so they appear the right way up. (ns_dumpglyphs_stretch): Remove unnecessary code. (ns_draw_window_cursor): Don't disable screen updates. ([EmacsView updateFrameSize:]): Update the size of the offscreen buffer. ([EmacsView initFrameFromEmacs:]): Create offscreen buffer. ([EmacsView windowDidChangeBackingProperties:]): ([EmacsView createDrawingBufferWithRect:]): ([EmacsView focusOnDrawingBuffer]): ([EmacsView copyRect]): New methods. ([EmacsView viewWillDraw]): Remove method as it no longer does anything useful. ([EmacsView drawRect:]): Handle drawing from offscreen buffer.
| | * | Revert "Make all NS drawing be done from drawRect"Alan Third2020-01-241-255/+320
| | | | | | | | | | | | | | | | This reverts commit 7946445962372c4255180af45cb7c857f1b0b5fa.
| | * | Revert "Ensure NS frame is redrawn correctly after scroll"Alan Third2020-01-241-1/+0
| | | | | | | | | | | | | | | | This reverts commit a6ab8db3a3dc5ec107ef023c6659620584309c97.
| | * | Revert "Fix some NS drawing issues (bug#32932)"Alan Third2020-01-241-46/+63
| | | | | | | | | | | | | | | | This reverts commit 7e8eee60a9dbb0c59cf26f237b21efe7fd1043c9.
| * | | Merge from origin/emacs-27Glenn Morris2020-01-2817-62/+91
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bcac29b2f (origin/emacs-27) dns-mode-soa-auto-increment-serial: safe... abf0f8666d * lisp/wdired.el: Clean out isearch-filter-predicate (bug#... c31c31e57f ; Spelling and URL fixes 066aad7b9d Finish the documentation for c-noise-macro-{,with-parens-}... c8fcabf245 Correct regexp for flags in `format' doc string 2e9a153b26 Moderate recommendation to escape '(' in doc strings d7cd4ab7d9 Objective C Mode: Make c-forward-type work with "unsigned ... 1705e32ebc Fix help text about configure module support baca81e641 * doc/lispref/streams.texi (Output Functions): Improve ind... 568a560fce Improve doc string of 'newline' 7f50698505 Improve doc of eq on bignums etc. e5327a569c Do not refer to obsolete alias fd09196781 ; Clarify what time-stamp-active enables # Conflicts: # etc/NEWS
| | * | dns-mode-soa-auto-increment-serial: safe if symbolpStephen Gildea2020-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-soa-auto-increment-serial): Mark variable as safe as a file local variable when symbolp.
| | * | * lisp/wdired.el: Clean out isearch-filter-predicate (bug#37496)Juri Linkov2020-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/wdired.el (wdired-change-to-dired-mode): Use remove-function to remove wdired-isearch-filter-read-only (whose value was added in wdired-change-to-wdired-mode) from local value of isearch-filter-predicate.