summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix messages with plural forms in todo-mode.elEli Zaretskii2020-12-261-12/+15
| | | | | | * lisp/calendar/todo-mode.el (todo-move-item, todo-item-undone) (todo-category-completions): Use 'ngettext' instead of hard-coding plural forms by hand.
* Fix infloop in memory-reportLars Ingebrigtsen2020-12-261-1/+3
| | | | | * lisp/emacs-lisp/memory-report.el (memory-report--object-size-1): Fix infloop on circular lists.
* Fix package reloading problems on systems with symlinksLars Ingebrigtsen2020-12-251-1/+1
| | | | | | * lisp/emacs-lisp/package.el (package--files-load-history): We're comparing the truenames, so ensure that we've using that everywhere. This fixes problems when there's symlinks in the paths.
* Refactor package--list-loaded-files for easier debuggabilityLars Ingebrigtsen2020-12-251-24/+29
| | | | | | | * lisp/emacs-lisp/package.el (package--files-load-history) (package--list-of-conflicts): Factor out from... (package--list-loaded-files): ... this function for easier debuggability.
* Merge from origin/emacs-27Glenn Morris2020-12-251-1/+1
|\ | | | | | | | | | | b242bbb073 (origin/emacs-27) ; lisp/org/org.el: Fix Version header. e0fc939c5f Add more details to the "word processor" section fda9b3e83a * src/Makefile.in (DO_CODESIGN): Fix expected architecture...
| * ; lisp/org/org.el: Fix Version header.Glenn Morris2020-12-251-1/+1
| | | | | | | | This is flagged by the single org test that exists in Emacs.
* | Merge from origin/emacs-27Glenn Morris2020-12-256-37/+34
|\| | | | | | | | | | | | | | | | | | | 5d46593568 Support build of Emacs on ARM Macos machines 7f8793e5f1 Update to Org 9.4.4 7b3367a0b5 * lisp/so-long.el: Decrease use of passive voice. a90836c638 * doc/misc/efaq.texi (New in Emacs 27): Add section. 711fe70dd8 * doc/misc/efaq.texi (Latest version of Emacs): Bump version. 52b30834fb * lisp/face-remap.el (face-remap-set-base): Doc fix. (Bug... b3fe0ac62e Correct argument order in comment
| * Update to Org 9.4.4Bastien Guerry2020-12-224-28/+25
| |
| * * lisp/so-long.el: Decrease use of passive voice.Stefan Kangas2020-12-211-3/+3
| | | | | | | | Suggested by Richard Stallman <rms@gnu.org>.
| * * lisp/face-remap.el (face-remap-set-base): Doc fix. (Bug#45264)Eli Zaretskii2020-12-191-6/+6
| |
| * Update files for the 27.1.90 pretestEli Zaretskii2020-12-181-638/+82
| | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 27.1.90. * lisp/ldefs-boot.el: Update from loaddefs.el
* | Fix last changeEli Zaretskii2020-12-253-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/mule-conf.el (ebcdic-int1, cp256, cp273) (ebcdic-be, cp274, ebcdic-br, cp275, ebcdic-cp-dk, ebcdic-cp-no) (cp277, ebcdic-cp-fi, ebcdic-cp-se, cp278, ebcdic-cp-it, cp280) (ebcdic-jp-e, cp281, ebcdic-cp-es, cp284, ebcdic-cp-gb, cp285) (ebcdic-jp-kana, cp290, ebcdic-cp-fr, cp297): Remove charset aliases, they are not really needed. * lisp/language/english.el (ibm275): Move from here... * lisp/language/european.el (ibm275): ...to here.
* | Add support for more EBCDIC code pages IBM2XXTimo Myyrä2020-12-254-0/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | There was already charset file present in etc/charsets for IBM2XX character sets but there wasn't definitions for them in Emacs. Add character set and coding system definitions for them. * lisp/language/japanese.el (ibm281, ibm290): * lisp/language/european.el (ibm256, ibm273, ibm274, ibm277) (ibm278, ibm280, ibm284, ibm285, ibm297): * lisp/language/english.el (ibm275): New coding systems. * lisp/international/mule-conf.el (ibm256, ibm273, ibm274) (ibm275, ibm277, ibm278, ibm280, ibm281, ibm284, ibm285, ibm290) (ibm297): New charsets.
* | cperl-mode: Correctly syntax highlight index/value array slicesE. Choroba2020-12-251-1/+1
| | | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (cperl-init-faces): %array[0, 1] should use the array face, not the hash one (bug#45373). Copyright-paperwork-exempt: yes
* | Make `remove-hook' interactiveThibault Polge2020-12-251-1/+26
| | | | | | | | | | * lisp/subr.el (remove-hook): Make `remove-hook' interactive (bug#45393).
* | Allow `string-limit' to work on encoded stringsLars Ingebrigtsen2020-12-252-6/+31
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/subr-x.el (string-limit): Allow limiting on encoded strings.
* | Remove `string-slice' -- it's not very well definedLars Ingebrigtsen2020-12-252-16/+0
| | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Ditto. * lisp/emacs-lisp/subr-x.el (string-slice): Remove.
* | CC Mode: introduce a new cache for brace structures. This fixes bug #45248Alan Mackenzie2020-12-242-100/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix three infinite loops. The new cache accelerates backward searches for struct beginnings in c-looking-at-or-maybe-in-bracelist. * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): In the final loop over unary operators, add a check (> (point) lim) to avoid certain infinite loops. (c-beginning-of-decl-1): In the first loop add a similar check on point and lim. (c-laomib-loop): New function extracted from c-looking-at-or-maybe-in-bracelist. (c-laomib-cache): New buffer local variable. (c-laomib-get-cache, c-laomib-put-cache, c-laomib-fix-elt) (c-laomib-invalidate-cache): New functions which implement the cache. (c-looking-at-or-maybe-in-bracelist): Replace two invocations of c-go-up-list-backwards with calls to c-parse-state. Extract the new function c-laomib-loop. Insert code which calls c-laomib-loop minimally, with the help of the new cache. * lisp/progmodes/cc-mode.el (c-basic-common-init): Initialise the new cach (at mode start). (c-before-change): Invalidate the new cache. (c-fl-decl-start): Add an extra check (> (point) bod-lim) to prevent looping. Determine the enclosing brace to pass as arguments to c-looking-at-or-maybe-in-bracelist.
* | * lisp/emacs-lisp/lisp-mnt.el (lm-section-end): Stop at the right headingStefan Monnier2020-12-231-0/+2
| | | | | | | | | | `lisp-outline-level` assumes the match-data is that set by `outline-regexp`.
* | authinfo-mode: add option to not hide any elements (and add font-lock)TEC2020-12-231-8/+37
| | | | | | | | | | | | | | | | | | * lisp/auth-source.el (authinfo-hide-elements): New user option. (authinfo--keywords): New variable. (authinfo-mode): Use it. (authinfo--hide-passwords): Use doc-face instead of warning for the passwords. (authinfo--toggle-display): Ditto.
* | * lisp/tab-line.el: New options, faces, and functionsAdam Porter2020-12-231-6/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tab-line.el: (tab-line-tab-face-functions): New option. (tab-line-tab-inactive-alternate): New face. (tab-line-tab-special): New face. (tab-line-tab-face-inactive-alternating): New function. (tab-line-tab-face-special): New function. (tab-line-format-template): Use them. * etc/NEWS: Update. With thanks to Juri Linkov and Eli Zaretskii for their guidance.
* | Show image as text when trying to search/replace in image buffer (bug#25905)Juri Linkov2020-12-231-0/+11
| | | | | | | | | | | | * lisp/image-mode.el (image-mode-isearch-filter): New function. (image-mode--setup-mode): Use it to add it as :before-while to isearch-filter-predicate.
* | Improve the string-limit doc stringLars Ingebrigtsen2020-12-232-1/+8
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-limit): Mention truncate-string-to-width in the doc string.
* | Allow string-slice to take zero-length matchesLars Ingebrigtsen2020-12-231-13/+10
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-slice): Allow zero-length matches. Code adapted from s.el by Magnar Sveen.
* | Revert recent server.el frame-focus changesLars Ingebrigtsen2020-12-231-3/+3
| | | | | | | | | | | | | | * lisp/server.el (server-switch-buffer, server-execute): Revert 9cef8fc8cdb5e6e18c9cf617eed3808d67ca340e and c5f2eb56c0164e87abc881955552e0b718921186. This change led to regressions in non-new-frame circumstances.
* | Handle gracefully href="" in base tags in shrŁukasz Stelmach2020-12-231-2/+3
| | | | | | | | | | | | * net/shr.el (shr-tag-base): shr-parse-base can't handle empty strings gracefully. Don't call it unless href is a non-empty string (bug#45355).
* | Align the word "Function" in profiler's headers over the actual functionsAlan Mackenzie2020-12-221-2/+2
| | | | | | | | | | * lisp/profiler.el (profiler-report-render-calltree-1): Replace two occurrences of "Function" with " Function".
* | Ensure that Gnus servers are open(able) before searching themEric Abrahamsen2020-12-221-2/+3
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-run-search): Imap servers need to be opened (made into the "current server") before we manipulate the nnimap-buffer. (gnus-search-run-search): Sneakily fix regexp. (gnus-search-indexed-parse-output): We need to pass the server name in here, otherwise nnmaildir won't know how to make this the "current server".
* | Align profiler's header-line-format to column 0, to work correctly on tty'sAlan Mackenzie2020-12-221-2/+6
| | | | | | | | | | * lisp/profiler.el (profiler-report-header-line-format): Propertize the first space with 'display '(space :align-to 0).
* | Re-order the items in `profiler-report' output.Alan Mackenzie2020-12-221-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Putting the usage figures first on the line will eliminate the truncation of function names. lisp/profiler.el (profiler-version): Change to "28.1". (profiler-format): Enhance, so that a width of zero means print the string without padding or truncation. (profiler-report-cpu-line-format, profiler-report-memory-line-format): Amend for the new layout. The number of places for the cpu samples has been reduced from 19 to 12 (enough for ~30 years at 1,000 samples per second). (profiler-report-line-format, profiler-report-describe-entry): Amend for the new order of arguments to profiler-format. etc/NEWS (Specialized Modes): Add an entry documenting this change. doc/lispref/debugging.texi (Profiling): Describe the new ordering of the items in place of the old ordering.
* | Reorganize Tramp header linesMichael Albinus2020-12-222-8/+8
| | | | | | | | | | | | * lisp/net/tramp.el: Move header lines Version, Package-Requires, Package-Type and URL ... * lisp/net/trampver.el: ... here.
* | ; Fix docstrings in last change to subr-x.elBasil L. Contovounesios2020-12-221-3/+3
| |
* | Fix wdired-get-filename when ls -F marks symlinksDaniel Martín2020-12-221-1/+4
| | | | | | | | | | | | | | | | * lisp/wdired.el (wdired-get-filename): In some systems like BSD or macOS, "ls -F" marks symlinks with a trailing "@". Add logic accounting for this so that wdired-get-filename returns the correct filename. This change also fixes test "wdired-test-bug34915" on macOS and BSD systems (bug#34915).
* | Make string-pad take an optional START parameterLars Ingebrigtsen2020-12-222-7/+9
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-pad): Alter the calling convention.
* | Change the string-limit parameter semanticsLars Ingebrigtsen2020-12-222-9/+12
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-limit): Alter the calling convention.
* | Further string-clean-whitespace tweaksLars Ingebrigtsen2020-12-221-1/+1
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-clean-whitespace): Put \r back, which was mistakenly removed.
* | (ruby-mode-set-encoding): Use 'save-restriction'Dmitry Gutov2020-12-221-17/+18
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use 'save-restriction' (bug#45349).
* | Tiny string-clean-whitespace simplificationBasil L. Contovounesios2020-12-211-1/+1
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-clean-whitespace): Streamline by treating replacement string as being literal and having fixed case.
* | Make string-chop-newline more efficientLars Ingebrigtsen2020-12-211-1/+1
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-chop-newline): Make more efficient.
* | Make string-clean-whitespace work on non-ASCII whitespace, tooLars Ingebrigtsen2020-12-211-1/+3
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-clean-whitespace): Also clean up non-ASCII whitespace.
* | Add try-completion to the string shortdocLars Ingebrigtsen2020-12-211-0/+2
| | | | | | | | * lisp/emacs-lisp/shortdoc.el (string): Mention try-completion here.
* | Add string-chop-newlineLars Ingebrigtsen2020-12-212-0/+6
| | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/subr-x.el (string-chop-newline): Add new function.
* | ; Fix recent string utility additionsBasil L. Contovounesios2020-12-211-9/+9
| | | | | | | | | | | | | | | | * etc/NEWS: Fix typo. * lisp/emacs-lisp/subr-x.el (string-limit): Fix typos in docstring. Simplify. (string-slice): Improve docstring wording. (string-pad): Simplify.
* | Fix shorter-than-length case for string-limitLars Ingebrigtsen2020-12-211-1/+1
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-limit): Fix shorter-than-length case.
* | Rename slice-string to string-sliceLars Ingebrigtsen2020-12-212-4/+4
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-slice): Rename from slice-string. * doc/lispref/strings.texi (Creating Strings): Ditto.
* | Add `string-pad'Lars Ingebrigtsen2020-12-212-0/+24
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/shortdoc.el (string): Add example. * lisp/emacs-lisp/subr-x.el (string-pad): New function.
* | Beef up the Emacs string utility set a bitLars Ingebrigtsen2020-12-212-0/+68
| | | | | | | | | | | | | | | | | | * doc/lispref/strings.texi (Modifying Strings): Document them. * lisp/emacs-lisp/shortdoc.el (string): Add examples. * lisp/emacs-lisp/subr-x.el (string-clean-whitespace) (string-fill, string-limit, string-lines, slice-string): New functions.
* | Fix permission problem in Tramp's copy-fileMichael Albinus2020-12-211-1/+1
| | | | | | | | | | * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): Take care of PRESERVE-UID-GID.
* | Drop XEmacs support for EDE ELisp projectsStefan Kangas2020-12-211-1/+2
| | | | | | | | | | | | * lisp/cedet/ede/proj-elisp.el (ede-proj-target-elisp): Remove XEmacs support. (ede-xemacs-compiler): Make obsolete.
* | Fix problem with entering Gnus groups when Gnus isn't runningLars Ingebrigtsen2020-12-211-0/+1
| | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-update-summary-mark-positions): Don't bug out when Gnus isn't running (bug#45330).