summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * comp.el: late-load support optional as `native-compile' parameterAndrea Corallo2020-03-191-4/+8
|
* * comp.el: Have the compiler generates 'late_top_level_run'Andrea Corallo2020-03-191-16/+27
|
* Trigger native compilation when loading bytecodeAndrea Corallo2020-03-161-0/+5
| | | | | Introduce a first mechanism to trigger compilation when lex elc files are loaded. This is off by default and has to be better tested.
* * comp.el: (native-compile-async) do not duplicate queue entriesAndrea Corallo2020-03-161-1/+2
|
* * comp.el: Estimate async worker number using system CPU numberAndrea Corallo2020-03-161-4/+17
| | | | This only when `comp-async-jobs-number' is 0 (default).
* * comp.el: Make compilation logic to be dynamically controllableAndrea Corallo2020-03-161-48/+63
| | | | | | | | Introduce `comp-async-jobs-number' to control async job number, this can be now adjusted dynamically. Also make `native-compile-async' able to dynamically queue new compilations.
* Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-03-151-1/+1
|\
| * * lisp/emacs-lisp/package.el (package-activate-1): Avoid duplicatesStefan Monnier2020-03-141-1/+1
| | | | | | | | in `Info-directory-list`.
* | * comp.el: Fix missing rx requireAndrea Corallo2020-03-151-2/+3
| |
* | comp.el: Minor improvementsAdam Porter2020-03-151-117/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change: (comp-start-async-worker) Refactor slightly Change: (comp-start-async-worker) Inline (comp-to-file-p) Change: (comp-source-files) Rename from comp-src-pool Add: (comp-start-async-worker) Assertion Change: (comp-async-processes) Rename from comp-prc-pool Tidy: (native-compile) Rename variables, improve docstring, adjust log message, simplify filename code. Tidy: (batch-native-compile) Docstring Tidy: whitespace-cleanup Tidy: (comp-start-async-worker) Use () instead of nil Tidy: (comp-files-queue) Rename from comp-source-files Change: (native-compile-async) Improve paths support Tidy: Comment Save a line for one word. :) Change: (comp-log) Rewrite without macro, follow tail Change: (native-compile-async) Use end-of-string in filename regexps Change: (native-compile-async) Use cl-loop instead of dotimes Add/Change: (comp-log-to-buffer) And use in comp-log Comment: Tidy comment Fix: (configure.ac) Option description Fix: (comp-log) Argument Fix: (comp-start-async-worker) Variable name Change: Undo whitespace changes Some of them included incorrect indentation because the macros' (declare (indent)) forms were not loaded. The whitespace-cleanup should be run from Emacs 27+ with the file loaded.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-03-142-3/+3
|\|
| * Merge from origin/emacs-27Glenn Morris2020-03-131-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a2b07f9f11 (origin/emacs-27) ; * etc/NEWS: Explain how to get back ol... b468b3d1ff Fix a recent documentation change 1ab766fd58 Fix last change ecfe633993 * lisp/tab-bar.el: Last-minute changes. c1ce9fa7f2 * lisp/subr.el (cancel-change-group): Fix bug#39680 ef5744a988 Improve docs for horizontal scrolling with mouse and touch... 1bc3fa0bd0 * lisp/emacs-lisp/package.el (package-install): Fix typo i... 4537976afd Port .gdbinit to clang with -gdwarf-4 0883c800a0 Simplify rx example in manual a695189248 ; * etc/NEWS: Fix typo. # Conflicts: # etc/NEWS
| | * * lisp/emacs-lisp/package.el (package-install): Fix typo in docstring.Juri Linkov2020-03-101-1/+1
| | |
| * | * lisp/emacs-lisp/package.el (package-menu--generate): Fix doc string.Pieter van Oostrum2020-03-131-0/+1
| | | | | | | | | | | | Add REMEMBER-POS to docstring (bug#39861).
| * | Make cl-equalp a bit more efficient at comparing stringsNoam Postavsky2020-03-121-2/+1
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-equalp): Use compare-strings with the IGNORE-CASE argument, rather than creating downcased copies of the strings to be compared.
* | | Prefix native compilation folders with "eln-"Andrea Corallo2020-03-131-0/+1
| | |
* | | * Do not produce .eln files when a byte compilation error happenAndrea Corallo2020-03-131-0/+3
| | | | | | | | | | | | | | | Have the byte compiler signal an error when compilation fails to stop native compilation too.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-03-122-72/+76
|\| |
| * | * lisp/emacs-lisp/eldoc.el: Remove redundant `:group` argumentsStefan Monnier2020-03-121-35/+23
| | |
| * | * lisp/emacs-lisp/eldoc.el (eldoc--supported-p): Understand the "old" APIStefan Monnier2020-03-121-1/+10
| | |
| * | * lisp/emacs-lisp/cl-macs.el: More care with `eval` and with `cl-typep`Stefan Monnier2020-03-101-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | (cl-eval-when, cl--compile-time-too, cl-load-time-value): Obey lexical-binding. (cl-check-type): Prefer the predicate rather than the type in the error signal when it's easy to do (as is done outside of CL). (cl-deftype-satisfies): Add definitions for standard types.
| * | * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Simplify resultStefan Monnier2020-03-101-16/+6
| | | | | | | | | | | | | | | | | | | | | | | | It used to return a pair (EXP . LAMBDA-CDR) but EXP was always nil, so just return the LAMBDA-CDR instead. (cl-defun, cl-iter-defun, cl-defmacro, cl-function, cl-macrolet): Adjust callers accordingly.
* | | * Set relocation class as ephemeral in `comp-limplify-top-level'AndreaCorallo2020-03-101-2/+2
| | |
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-03-097-150/+139
|\| |
| * | Simplify run-at-timePaul Eggert2020-03-081-3/+0
| | | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el (run-at-time): Remove unnecessary test (Bug#39944).
| * | Merge from origin/emacs-27Paul Eggert2020-03-083-7/+11
| |\| | | | | | | | | | | | | | | | | | | | | | 0a3682a566 * src/timefns.c: Add comments. b16ba4041d ; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib ... 3cbf4cb796 Eliminate use of cl-concatenate in 'seq' package 363d927086 Fix bug with JIT stealth timers 818333c85a * doc/lispref/os.texi (time-subtract): Doc fix.
| | * ; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib hereNoam Postavsky2020-03-071-0/+4
| | |
| | * Eliminate use of cl-concatenate in 'seq' packageAndrew Eggenberger2020-03-072-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes (Bug#39761) by making cl-extra dependent on seq rather than vice versa. * lisp/emacs-lisp/seq.el (seq-concatenate): Move cl-concatenate's code here instead of calling it. * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use cl-concatenate. Copyright-paperwork-exempt: yes
| | * Fix bug with JIT stealth timersPaul Eggert2020-03-071-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el (run-at-time): Don’t assume that Lisp time values must be conses (Bug#39944).
| * | * lisp/emacs-lisp/bytecomp.el: Drop warning for loading into Emacs<23Stefan Monnier2020-03-071-53/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stash the major version of the compiling Emacs such that the loading Emacs can later detect when loading a file compiled by a too-new Emacs. (byte-compile-fix-header): Remove. (byte-compile-from-buffer): Don't call it any more. (byte-compile-insert-header): Stash the emacs-major-version in it. Don't leave space for `byte-compile-fix-header`.
| * | Merge from origin/emacs-27Glenn Morris2020-03-071-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 72f87f8873 (origin/emacs-27) NS port documentation updates 5b19db98ad ; * etc/NEWS: correctly describe what fido-mode is fc47e3ad99 Let fido-mode users force a minibuffer-exit e734961d4c icomplete-fido-exit: New command for the M-j binding 335a9bd215 minibuffer-force-complete-and-exit: Allow input with no ma... 34132d4bf6 ; * etc/NEWS: Mark 2 entries as fully documented. d28b73841b ; * etc/NEWS: Fix the 'mml-secure-openpgp-sign-with-sender... d1d56a9fd9 ; * etc/NEWS: 'thunk-let' and 'thunk-let*' are fully docum... fc4f4efabf ; * etc/NEWS: No need to document vc-hg and mergebase chan... 9e8456cf0f ; * etc/NEWS: No need to document changes in Octave mode. 25b4d6fa28 ; * etc/NEWS: No need to document changes in map.el and se... fc4d0f86da ; * etc/NEWS: No need to document Ido news. d4ac478cb3 ; * etc/NEWS: No need to document news of doc-view.el. 08c042bd26 Document that 'byte-compile-dynamic' is obsolete 512b66abd7 ; * etc/NEWS: No need to document 'goto-address-uri-scheme... 3103c01c3e ; * etc/NEWS: Formatting fixes. 98306fdfb8 ; * etc/NEWS: No need to document deprecation of 'cl'. 6281ed58be ; * etc/NEWS: No need to document the change in 'list-proc... e252341e11 ; * etc/NEWS: 'backup-by-copying-when-privileged-mismatch'... ec5a267ddc ; * etc/NEWS: Mark 'byte-count-to-string-function' as undo... 89307ebccd ; * etc/NEWS: Mark 'completion-common-part' face entry as ... fdbe7cacfb Document the changes in 'read-answer' 10c58356e4 Document changes in lexical-binding 5cb312b5b9 Update ERC mailing list address cb1877321b Use regexp-opt to define bibtex-autokey-transcriptions. (... 3f9c340de0 Improve documentation of 'table-generate-source' 33b31dc314 Attempt to avoid rare segfaults in show_mouse_face 88c6db9196 Avoid crashes when a fontset has strange entries 1814c7e158 Fix rx error with ? and ?? 40fb20061e * lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix err... 08d7d28d35 Fix args in 'window-text-pixel-size' call in 'fit-window-t... cb1e30910e Have pulse.el preserve existing overlay priorities # Conflicts: # etc/NEWS
| | * Fix rx error with ? and ??Mattias Engdegård2020-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The ? and ?? rx operators are special in that they can be written as characters (space and '?' respectively). This confused the definition look-up mechanism in rare cases. * lisp/emacs-lisp/rx.el (rx--expand-def): Don't look up non-symbols. * test/lisp/emacs-lisp/rx-tests.el (rx-charset-or): Test.
| | * * lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix error string.Mattias Engdegård2020-03-051-1/+1
| | |
| * | Merge from origin/emacs-27Glenn Morris2020-03-041-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | a3c2d186eb (origin/emacs-27) CC Mode: Fix the handling of two adjacen... a1abf73c76 Fix combine-change-calls-1 for when buffer-undo-list is t db37dd2e84 Don't misinterpret doc string as initial value 40b217c2bf Bump checkdoc-version to match library header 60418a1ab2 Explain how to unset mode bindings (Bug#39802) 7cafbbe964 Fix describe-variable on values with circular syntax (Bug#... 592b1cfee9 Improve documentation of next-error-highlight-no-select (b...
| | * Bump checkdoc-version to match library headerStefan Kangas2020-03-041-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-version): Bump version.
| * | Merge from origin/emacs-27Glenn Morris2020-03-042-30/+54
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4e4510ccd Fix handling MS-Windows keyboard input above the BMP a38bebb0c1 * etc/NEWS: More complete description of rx 'not' changes. d373647e8f ; * doc/emacs/mini.texi (Yes or No Prompts): Fix last change. 1ca6d15656 * doc/emacs/mini.texi (Yes or No Prompts): 'y-or-n-p' now ... fe1a447d52 Don't attempt to cache glyph metrics for FONT_INVALID_CODE b42b894d1d Fix fit-frame-to-buffer for multi-monitor setup 366fd4fd07 (emacs-27) ; * etc/NEWS: Fix typo. 49d3cd90bd rx: Improve 'or' compositionality (bug#37659) 6b48aedb6b * lisp/tab-line.el: Fix auto-hscrolling (bug#39649) c5f255d681 (tag: emacs-27.0.90) ; Update lisp/ldefs-boot.el 60c84ad992 ; * etc/TODO: Fix last change. 5af9e5baad ; Add an entry to TODO d424195905 Fix rx charset generation 9908b5a614 Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/e... 6dc2ebe00e Fix overquoting in mule.el 5cca73dd82 * src/timefns.c (time_arith): Omit incorrect comment. d767c357ca Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/e... 4dec693f70 * lisp/vc/vc-cvs.el (vc-cvs-ignore): Copy-edit doc string ff729e3f97 ; bug#39779: Fix some typos in documentation. 696ee02c3a checkdoc: Don't mistake "cf." for sentence end # Conflicts: # etc/NEWS
| | * rx: Improve 'or' compositionality (bug#37659)Mattias Engdegård2020-03-011-28/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perform 'regexp-opt' on nested 'or' forms, and after expansion of user-defined and 'eval' forms. Characters are now turned into strings for wider 'regexp-opt' scope. This preserves the longest-match semantics for string in 'or' forms over composition. * doc/lispref/searching.texi (Rx Constructs): Document. * lisp/emacs-lisp/rx.el (rx--normalise-or-arg) (rx--all-string-or-args): New. (rx--translate-or): Normalise arguments first, and check for strings in subforms. (rx--expand-eval): Extracted from rx--translate-eval. (rx--translate-eval): Call rx--expand-eval. * test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-def-in-or): Add tests. * etc/NEWS: Announce.
| | * Fix rx charset generationMattias Engdegård2020-02-291-1/+5
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx--charset-p): Don't overquote. (rx--generate-alt): Generate '.' for negated newline. * test/lisp/emacs-lisp/rx-tests.el (rx-any, rx-charset-or): Test.
| | * checkdoc: Don't mistake "cf." for sentence endŠtěpán Němec2020-02-281-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine): Recognize "cf." as an abbreviation, not a sentence end.
| * | Merge from origin/emacs-27Glenn Morris2020-03-041-55/+57
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b7d226779 * etc/AUTHORS: Update. 4aa758e53d ; ChangeLog.3 update 9261b1ed49 * admin/authors.el (authors-ignored-files): Fix entries. 86e4da6eaf ; ChangeLog.3 update 009c6a1767 ; ChangeLog.3 fixes f9e53947c7 Fix documented slot name of eieio-instance-tracker class 999d75c0c1 Range-check width passed to define-fringe-bitmap 29e415d6b0 ; ChangeLog.3 fixes 4653baa6a5 ; ChangeLog.3 update & fixes. a95ec6e060 * admin/authors.el: Add missing entries af519a6348 Define libgnutls-version properly 9ec6eb1065 vc-dir-ignore: More accurately choose base directory e74fb4688b * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect)... 3bce7ec382 CC Mode: Protect against consecutive calls to before-chang...
| | * * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Change last fixStefan Monnier2020-02-241-55/+57
| | | | | | | | | | | | Make sure we always work in the selected-window's buffer.
* | | * Fix regexp instroduced by f055f52321Andrea Corallo2020-03-091-1/+1
| | |
* | | * Fix two find function functions for native compilationAndrea Corallo2020-03-081-2/+9
| | | | | | | | | | | | | | | `find-function-library' and `find-library-name' gets fixed for new eln compilation directory layout.
* | | * Do not crash if the output directory is created in the meanwhileAndreaCorallo2020-03-031-1/+3
| | |
* | | Hash eln ABI once and add it to the output compilation pathAndreaCorallo2020-03-031-1/+1
| | |
* | | * ; Clean-up out of date commentAndreaCorallo2020-03-011-4/+0
| | |
* | | Add system-configuration in the compilation output pathAndreaCorallo2020-02-061-6/+17
| | |
* | | * Reorganize passesAndrea Corallo2020-03-011-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Make propagate responsible for keeping SSA up to date. - Run propagate-alloc as very last before final not to risk bothering with mvar array allocation during previous tranformations. - Fix SSA if TCO modify the CFG.
* | | * Allow for multiple SSA runsAndrea Corallo2020-03-011-13/+38
| | | | | | | | | | | | | | | Add function ssa-status as `comp-func' slot and have `comp-clean-ssa' to run when necessary.
* | | Remove relocation index form LIMPLE setimmAndreaCorallo2020-03-011-4/+4
| | | | | | | | | | | | Given that every object identify a relocation class simplify setimm too.