aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Mention `M-n' for VALUE in the `set-variable' commandLars Ingebrigtsen2019-07-131-1/+6
| | | | | | | | | | | | | | | * lisp/simple.el (set-variable): Mention that the current variable is accessible in `M-n' (bug#36586).
* | | Mark the new vc-dir-delete command as documentedLars Ingebrigtsen2019-07-131-0/+1
| | |
* | | Add a new command in vc-dir mode to delete filesLars Ingebrigtsen2019-07-133-2/+31
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Document it. * lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and keystroke (bug#31732).
* | | Add more spook.linesLars Ingebrigtsen2019-07-131-0/+0
| | | | | | | | | | | | | | | * etc/spook.lines: Add Black Cube (bug#32309) (https://en.wikipedia.org/wiki/Black_Cube).
* | | Document fix for cl-defstructLars Ingebrigtsen2019-07-131-1/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can have a doc string (bug#32340).
* | | Allow using wdired in all dired-derived modesLars Ingebrigtsen2019-07-131-1/+1
| | | | | | | | | | | | | | | * lisp/wdired.el (wdired-change-to-wdired-mode): Allow using in dired derived modes (bug#32392). Suggested by James Nguyen.
* | | Add some indices for regexp character classesLars Ingebrigtsen2019-07-131-0/+4
| | | | | | | | | | | | | | | * doc/lispref/searching.texi (Char Classes): Add some concept index entries for a handful of character classes (bug#32430).
* | | End predicate `dired-in-this-tree' with '-p'Tino Calancha2019-07-132-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired.el(dired-in-this-tree-p): Rename from `dired-in-this-tree'. Add docstring. (dired-in-this-tree): Define an alias to `dired-in-this-tree-p'. (dired-buffers-for-dir) * lisp/dired-aux.el (dired-tree-down, dired-kill-tree) (dired-insert-subdir, dired-rename-subdir): Update all callers (bug#32892).
* | | Document format-spec and expand the modifiers it supportsLars Ingebrigtsen2019-07-134-7/+157
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): New section. * lisp/format-spec.el (format-spec--parse-modifiers) (format-spec--pad): New functions. (format-spec): Support more format modifiers (bug#32931).
* | | Use the gpg --sender optionTeemu Likonen2019-07-133-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/epg.el (epg-start-encrypt) * lisp/gnus/mml-sec.el (mml-secure-epg-encrypt): When 'mml-secure-openpgp-sign-with-sender' is non-nil message sender's email address (in addition to its old behaviour) will also be used to set gpg's "--sender email@domain" option.
* | | * lib-src/make-docfile.c: Fix comment typo.Paul Eggert2019-07-121-1/+1
| | |
* | | Always include the number of unexpected ert testsLars Ingebrigtsen2019-07-131-8/+2
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Always include the number of failed tests, because absence of the text is not reassuring (bug#36616).
* | | Fix long credentials when using auth in nnimap.elLars Ingebrigtsen2019-07-131-2/+4
| | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-login): When base64-ing credentials, don't let bsae64-encode-string split the result into several lines, because servers do not understand that (bug#34458).
* | | Fix long credentials when using auth in url.elLars Ingebrigtsen2019-07-131-3/+4
| | | | | | | | | | | | | | | | | | * lisp/url/url-auth.el (url-basic-auth): When base64-ing credentials, don't let bsae64-encode-string split the result into several lines, because servers do not understand that (bug#36619).
* | | Fold rfc2047 headers correctly when narrowed to header valueLars Ingebrigtsen2019-07-131-6/+13
| | | | | | | | | | | | | | | * lisp/mail/rfc2047.el (rfc2047-fold-region): Fold headers correctly if narrowed to the header value.
* | | * test/lisp/replace-tests.el (replace-tests-with-undo): OverrideJuri Linkov2019-07-121-3/+8
| | | | | | | | | | | | replace-highlight to emulate clobbering match-data (bug#36328).
* | | * lisp/progmodes/compile.el (compilation-filter): `compilation--ensure-parse'Juri Linkov2019-07-122-3/+7
| | | | | | | | | | | | | | | | | | | | | is used instead of `font-lock-ensure' (bug#36564). * test/lisp/progmodes/compile-tests.el (compile-test-error-regexps) (compile-test-grep-regexps): Check the number of errors.
* | | Remove initial and trailing whitespace in message-fetch-fieldLars Ingebrigtsen2019-07-121-1/+5
| | | | | | | | | | | | | | | * lisp/gnus/message.el (message-fetch-field): Remove initial and trailing whitespace.
* | | Fix breaking of rfc2047 headers with long wordsLars Ingebrigtsen2019-07-122-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/rfc2047.el (rfc2047-fold-region): Don't break lines right after the Header: field, but wait until the next whitespace. (This only makes a difference for words that are very long (i.e., longer than, say, 60 characters, depending on the header name length.)
* | | Refactor rfc2047-fold-region slightly and add a couple of testsLars Ingebrigtsen2019-07-122-26/+66
| | | | | | | | | | | | | | | | | | * lisp/mail/rfc2047.el (rfc2047--break-line): Refactor out to avoid code repetition... (rfc2047-fold-region): ... from this function.
* | | Add comments to rfc2047Lars Ingebrigtsen2019-07-121-0/+13
| | | | | | | | | | | | | | | * lisp/mail/rfc2047.el (rfc2047-fold-region): Add comments to the function.
* | | Merge from origin/emacs-26Michael Albinus2019-07-122-2/+4
|\ \ \ | |/ / | | | | | | | | | 305abae50e Raise required librsvg version so as to match the current use c6775bc9ca * lisp/net/tramp-sh.el (tramp-inline-compress-start-size):...
| * | Raise required librsvg version so as to match the current useYAMAMOTO Mitsuharu2019-07-121-1/+1
| | | | | | | | | | | | | | | * configure.ac: Set RSVG_REQUIRED to 2.14.0 as rsvg_handle_get_dimensions needs it.
| * | * lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32.Michael Albinus2019-07-101-1/+3
| | |
* | | Check directory in Tramp's {copy,rename}-fileMichael Albinus2019-07-127-54/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file) (tramp-smb-handle-rename-file): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Check, that NEWNAME is not a directory given as file name. * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) (tramp-test12-rename-file): Extend tests.
* | | Re-add tramp-autoload cookie for all defcustomsMichael Albinus2019-07-126-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-program) (tramp-adb-connect-if-not-connected, tramp-adb-prompt): * lisp/net/tramp-cache.el (tramp-persistency-file-name): * lisp/net/tramp-gvfs.el (tramp-gvfs-zeroconf-domain): * lisp/net/tramp-rclone.el (tramp-rclone-program): * lisp/net/tramp-sh.el (tramp-copy-size-limit, tramp-histfile-override) (tramp-use-ssh-controlmaster-options): * lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program) (tramp-smb-conf, tramp-smb-winexe-program) (tramp-smb-winexe-shell-command) (tramp-smb-winexe-shell-command-switch): Re-add tramp-autoload cookie for all defcustoms. * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file) (tramp-smb-handle-rename-file): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Check, that NEWNAME is not a directory given as file name.
* | | * doc/misc/tramp.texi (Inline methods): Precise about used external programs.Michael Albinus2019-07-121-11/+14
| | |
* | | Change Tramp version to 2.4.3-preMichael Albinus2019-07-123-4/+4
| | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3-pre". * lisp/net/tramp.el: Bump version to 2.4.3-pre.
* | | Tweak builtin symbol order for speedPaul Eggert2019-07-111-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | * lib-src/make-docfile.c (compare_globals): Make symbols 1 through 4 be t, unbound, error, lambda. This is in addition to symbol 0 being nil. This change improved ‘make compile-always’ performance by 0.6% on my platform.
* | | Avoid duplicate comparison in describe_map_comparePaul Eggert2019-07-113-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | * src/fns.c (string_version_cmp): New function. This has most of the old Fstring_version_lessp, with an assertion to make things a bit clearer. * src/fns.c (Fstring_version_lessp): * src/keymap.c (describe_map_compare): Use it (Bug#33237).
* | | * lisp/progmodes/compile.el (compilation-filter): Use font-lock-ensureJuri Linkov2019-07-121-0/+2
| | | | | | | | | | | | | | | to update the number of errors in compilation-mode-line-errors displayed in the mode-line. (Bug#36564)
* | | Better match-data handling in perform-replaceJuri Linkov2019-07-121-19/+20
| | | | | | | | | | | | | | | | | | * lisp/replace.el (perform-replace): Don't wrap replace-highlight in save-match-data. Use `(nth 0 real-match-data)' instead of `(match-beginning 0)' after replace-highlight. (Bug#36328)
* | | Remove lisp/obsolete/xesam.elMichael Albinus2019-07-112-912/+3
| | |
* | | * test/lisp/format-spec-tests.el (test-format-unknown): Use `should-error'.Michael Albinus2019-07-111-4/+1
| | |
* | | Allow passing unknown specs to format-specLars Ingebrigtsen2019-07-112-28/+53
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/format-spec.el (format-spec): Allow passing through format strings that have no specs (to be able to act as a filter). Also add an example. * test/lisp/format-spec-tests.el (test-format-spec): Add tests for the new functionality.
* | | Add tests for format-specLars Ingebrigtsen2019-07-111-0/+33
| | |
* | | Add test to time-stamp.elLars Ingebrigtsen2019-07-111-0/+36
| | |
* | | Support program switches in 'comint-run' commandPhil Sainty2019-07-113-5/+18
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: * doc/emacs/misc.texi: Describe new behaviour (bug#33037). * lisp/comint.el (comint-run): Add optional SWITCHES argument. With prefix argument C-u, prompt for SWITCHES.
* | | Clarify the expand-file-name doc stringLars Ingebrigtsen2019-07-111-10/+16
| | | | | | | | | | | | | | | | | | * src/fileio.c (Fexpand_file_name): Clarify that "~" in NAME is expanded, and not just "~/". Also clarify that ~USER is not expanded if USER doesn't exist (bug#36490).
* | | Tweak the order keystrokes are sorted in keymap listingsLars Ingebrigtsen2019-07-111-2/+4
| | | | | | | | | | | | | | | | | | * src/keymap.c (describe_map_compare): Change the sorting order of keystrokes, so that we get the order <f1> <f2> <f11> instead of <f1> <f11> <f2> (bug#33237).
* | | Tweak misterioso header line background colorLars Ingebrigtsen2019-07-111-1/+1
| | | | | | | | | | | | | | | | | | * etc/themes/misterioso-theme.el (class): Make the header line background darker so that cedet function names and parameters are legible (bug#33061).
* | | Remove misleading message in customizeStefan Kangas2019-07-111-2/+0
| | | | | | | | | | | | | | | * lisp/cus-edit.el (custom-buffer-create-internal): Remove misleading message about "Resetting customization items" (bug#22451).
* | | Fix C-x C-e with defvars in comments precedingLars Ingebrigtsen2019-07-111-1/+5
| | | | | | | | | | | | | | | | | | * lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): When collecting defvars in the current buffer, ignore the ones that are in comments or strings (bug#34233).
* | | Resurrect SVG support on MS-WindowsEli Zaretskii2019-07-112-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (syms_of_image) <Qgio> [HAVE_NTGUI]: New DEFSYM. (init_svg_functions) [LIBRSVG_CHECK_VERSION >= 2.32.0]: Load g_file_new_for_path and g_memory_input_stream_new_from_data from libgio, not from libglib. (Bug#35548) * lisp/term/w32-win.el (dynamic-library-alist): Add the libgio DLL.
* | | Avoid assertion violations when resize-mini-windows is nilEli Zaretskii2019-07-111-5/+5
| | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (resize_mini_window): Always reset the mini-window's start point to the beginning of the buffer, even if resizing is not needed. This avoids assertion violations when resize-mini-windows is nil. (Bug#36595)
* | | Avoid functions deprecated in librsvg 2.45.1Paul Eggert2019-07-101-28/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (init_svg_functions) [WINDOWSNT]: Load the pre-2.32 or 2.32 functions, depending on LIBRSVG_CHECK_VERSION. (svg_load_image): In librsvg 2.32 or later, use g_memory_input_stream_new_from_data, g_file_new_for_path and rsvg_handle_new_from_stream_sync rather than the deprecated-in-2.45 rsvg_handle_write and rsvg_handle_close. From a patch by YAMAMOTO Mitsuharu (Bug#35548#11).
* | | Fix trig simplification crash (bug#33052)Mattias Engdegård2019-07-102-6/+42
| | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-alg.el (calcFunc-sec, calcFunc-csc, calcFunc-cot): Check that `math-known-sin' and `math-known-tan' succeeded before using their value in arithmetic. * test/lisp/calc/calc-tests.el (calc-test-trig): Add regression tests.
* | | ; Update asm-mode docstring after last changeBasil L. Contovounesios2019-07-101-1/+1
| | | | | | | | | | | | | | | | | | * lisp/progmodes/asm-mode.el (asm-mode): Display binding for newline-and-indent instead of its obsolete alias asm-newline (bug#36540).
* | | Small cleanups in asm-mode.el (Bug#36540)Stefan Kangas2019-07-101-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/asm-mode.el: Remove "tools" from "Keywords" header. Doc fixes. (asm-comment-char, asm-comment): Doc fixes. (asm-newline): Redefine as an obsolete function alias for 'newline-and-indent' instead of using a defalias.
* | | Add recursion check for comint password promptingLars Ingebrigtsen2019-07-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/comint.el (comint--prompt-recursion-depth): New variable (bug#33252). (comint-watch-for-password-prompt): Use it to avoid bugging out and making Emacs unusable when a shell script is prompting for passwords in an infloop.