summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | * Add a warning for missing write privilegeAndrea Corallo2020-05-031-1/+10
| | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (native-compile-async): Check for write privilege and raise a warning in case.
* | | * Introduce `comp-output-directory'Andrea Corallo2020-05-031-3/+9
| | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-output-directory): New function. (comp-output-base-filename): Use `comp-output-directory'.
* | | * Fix async compilation non respecting `comp-always-compile' nil value.Andrea Corallo2020-04-291-1/+2
| | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fix missing `comp-output-filename' usage.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-292-2/+2
|\| |
| * | Add new tests to bindat-tests.elStefan Kangas2020-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/bindat-tests.el (bindat-test-format-vector) (bindat-test-vector-to-dec, bindat-test-vector-to-hex) (bindat-test-ip-to-string): New tests. * lisp/emacs-lisp/bindat.el (bindat-vector-to-hex): Fix typo.
| * | Use lexical-binding in float-sup.el and add testsStefan Kangas2020-04-291-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/float-sup.el: Use lexical-binding. * test/lisp/emacs-lisp/float-sup-tests.el: New file.
* | | Rework spill LAP mechanism in preparation of compiling lambdas.Andrea Corallo2020-04-262-38/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-spill-lap-function): No need anymore to have `byte-native-compiling' bound to free-func. (comp-spill-lap-function): Make use of `byte-to-native-lap-h' and clean-up. (comp-spill-lap-function): Likewise. * lisp/emacs-lisp/bytecomp.el (byte-to-native-function): Add lap slot. (byte-to-native-lap): Rename into byte-to-native-lap-h. (byte-compile-lapcode): Spill lap after having int assembled and store it into `byte-to-native-lap-h'. (byte-compile-not-top-level): Remove. (byte-compile-file-form-defmumble): Fill directly lap slot. (byte-compile-lambda): Remove `byte-compile-not-top-level'. (byte-compile-out-toplevel): Restore original code. (byte-compile-form): Remove `byte-compile-not-top-level'. (byte-compile-function-form): Likewise. (byte-compile-flush-pending): No need anymore to set `byte-compile-current-form' so restore orignal code.
* | | Convert before final function doc hash into a vector.Andrea Corallo2020-04-261-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-finalize-relocs): Convert doc hash table into vector befor final. (comp-emit-for-top-level): Rename `comp-ctxt-doc-index-h' -> `comp-ctxt-function-docs'. (comp-ctxt): Likewise. * src/comp.c (native_function_doc): Update logic for documentation being a vector. (emit_ctxt_code): Update for 'comp-ctxt-doc-index-h' slot rename. * src/comp.h (struct Lisp_Native_Comp_Unit): Rename 'data_fdoc_h' into data_fdoc_v. * src/pdumper.c (dump_native_comp_unit): Likewise.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-251-1/+3
|\| |
| * | Merge from origin/emacs-27Glenn Morris2020-04-251-1/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45a64c97c7 (origin/emacs-27) Clarify semantics of trace-function CONT... 821760fdc4 Don't let a code literal get modified in mml parsing (Bug#... 74a92be16d * lisp/simple.el (kill-ring-save): Doc fix. (Bug#40797) 3d0e859692 Minor doc clarification regarding fringe bitmaps 4d86c7f822 Fix documentation of fringe bitmaps a76af88dd8 Tweak mutability doc a bit more f7e488d206 Calc: fix autoload errors (bug#40800) 369761b36d ; * src/xdisp.c: Improve the introductory commentary. a92ca1f177 Improve indexing of ELisp manual 5a25d17760 * lisp/image-mode.el (image-transform-resize): Remove FIXM... 37ebec3a95 Improve the default value of 'doc-view-ghostscript-program'. ba6104d1e8 Change doc-view-mode-map prefix key 's' to 'c'. 400ff5cd19 Improve wording about constants d2836fe71b Improve the default value of 'doc-view-ghostscript-program'. fc55f65305 Minor improvements in documentation of the last change a64da75961 Add image-auto-resize defcustoms to image-mode.el 692ad40539 Improve the documentation of tab-bar and tab-line # Conflicts: # etc/NEWS
| | * Clarify semantics of trace-function CONTEXT argumentNoam Postavsky2020-04-251-1/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/trace.el (trace-function-foreground): Explain that CONTEXT should be a function, when called from Lisp.
* | | Store function documentations in a hash table.Andrea Corallo2020-04-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/pdumper.c (dump_subr): Update Lisp_Subr hash. (dump_subr): Update for new compilation unit layout. (dump_vectorlike): Update pvec_type hash. * src/lisp.h (struct Lisp_Subr): Remove 'native_doc' index. (DEFUN): Update macro for new compilation unit layout. * src/doc.c (Fdocumentation): Update for new compilation unit layout. * src/comp.h (struct Lisp_Native_Comp_Unit): Add 'data_fdoc_h' field. * src/comp.c (TEXT_FDOC_SYM): New macro. (emit_ctxt_code): Emit function documentations. (load_comp_unit): Load function documentation. (Fcomp__register_subr): Rename parameter. (Fcomp__register_subr): Update for new compilation unit layout. * src/alloc.c (mark_object): Update for new compilation unit layout. (syms_of_alloc): Likewise. * lisp/emacs-lisp/comp.el (comp-ctxt): Add doc-index-h slot. (comp-emit-for-top-level): Emit doc index as 'comp--register-subr' doc parameter.
* | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Use `clrhash'.Andrea Corallo2020-04-251-1/+1
| | |
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-251-4/+1
|\| |
| * | Fix bug #40766, an error in edebug spec handlingAlan Mackenzie2020-04-241-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove some debris. * lisp/emacs-lisp/edebug.el (edebug-spec): Move the entry for edebug-spec-list to before that for vector in the &or form. This assures that in a dotted list of vectors, that list gets handled correctly by edebug-spec-list rather than wrongly by (vector ...). (def-edebug-spec &key): Remove, since it is ill formed and superfluous.
* | | Fix deferred-compilation for double compilation (bug#40838).Andrea Corallo2020-04-251-1/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (native-compile-async): Prevent double compilation (bug#40838).
* | | Store ongoing compilations processes as hash table.Andrea Corallo2020-04-251-7/+12
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-async-processes): Rename as `comp-async-compilations'. (comp-async-runnings): Make use as `comp-async-compilations'. (comp-run-async-workers): Likewise.
* | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fix non late load.Andrea Corallo2020-04-241-1/+1
| | |
* | | * lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Add comp.elnAndrea Corallo2020-04-231-2/+3
| | |
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-237-27/+23
|\| |
| * | Merge from origin/emacs-27Glenn Morris2020-04-207-27/+23
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 05089a4d65 (origin/emacs-27) Tweak wording re constant variables a1040861f1 Tweak setcar-related wording 751510f865 * lisp/image-mode.el: Add prefix key 's' and reduce depend... 9261a219ec * doc/emacs/windows.texi (Window Convenience): Decribe mor... e1d42da0d6 Fix mutability glitches reported by Drew Adams 5805df74f5 Improve mutability doc dca35b31d0 Improve mutability documentation 81e7d7f111 Document that quoting yields constants 5734339f40 * doc/lispref/keymaps.texi (Extended Menu Items, Easy Menu... 14a570afae Remove #' and function quoting from lambda forms in manual d5ec18c66b * src/regex-emacs.c (re_match_2_internal): Rework comment ... 4df8a61117 Add new node "Image Mode" to Emacs Manual. d7d5ee6c57 ; Fix a typo in cmdargs.texi (bug#40701) 5e9db48fbe * doc/lispref/display.texi (Customizing Bitmaps): Fix typo. eebfb72c90 Document constant vs mutable objects better 6c187ed6b0 Improve documentation of 'sort-lines' 52288f4b66 Mention 'spam-stat-process-directory-age' in the documenta... 067b070598 ; Fix some typos and doc issues (bug#40695) # Conflicts: # etc/NEWS
| | * ; Fix some typos and doc issues (bug#40695)Štěpán Němec2020-04-187-27/+23
| | |
* | | * lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Better doc fixAndrea Corallo2020-04-161-2/+2
| | |
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-162-2/+3
|\| |
| * | Merge from origin/emacs-27Glenn Morris2020-04-152-2/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5f7c26907 (origin/emacs-27) * admin/authors.el: Add an author alias. d87a4d1f4e Limit RLIMIT_NOFILE to FD_SETSIZE on macOS e5ca8e5e73 Fix Elisp manual entry on 'set-window-configuration' 485f24223f ; Update ChangeLog.3 8f200254fb ; Update etc/AUTHORS c7adc851ad * admin/authors.el: Add missing author aliases. 4acdd7fe58 Fix edge case errors in filename-matching regexps 5f36e21fe5 Clarify the doc string of 'yank' 13301d4266 New function erc-track-switch-buffer-other-window 38f7538d8f New function erc-switch-to-buffer-other-window # Conflicts: # etc/NEWS
| | * Fix edge case errors in filename-matching regexpsMattias Engdegård2020-04-142-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes fix actual or latent bugs in regexps that match file names, such as PATTERN arguments to 'directory-files'. See https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html * admin/authors.el (authors-obsolete-files-regexps) (authors-renamed-files-regexps): * lisp/auth-source-pass.el (auth-source-pass-entries): * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file) (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string) (todo-reset-comment-string, todo-reset-highlight-item): * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches): * lisp/cedet/semantic/texi.el (semantic-texi-associated-files): * lisp/cedet/srecode/map.el (srecode-map-update-map): * lisp/dired.el (dired-re-no-dot): * lisp/emacs-lisp/autoload.el (update-directory-autoloads): * lisp/emacs-lisp/shadow.el (load-path-shadows-find): * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp): * lisp/finder.el (finder-compile-keywords): * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode) (resolve-conf-generic-mode, etc-modules-conf-generic-mode): * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview) (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for): * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group): * lisp/gnus/gnus-score.el (gnus-score-search-global-directories): * lisp/gnus/gnus-util.el (gnus-delete-directory): * lisp/gnus/gnus-uu.el (gnus-uu-dir-files): * lisp/gnus/nndraft.el (nndraft-request-group): * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group): (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads): * lisp/gnus/nnspool.el (nnspool-request-group): * lisp/gnus/spam-stat.el (spam-stat-process-directory) (spam-stat-test-directory): * lisp/help-fns.el (help-fns--first-release): * lisp/help.el (view-emacs-news): * lisp/international/quail.el (quail-update-leim-list-file): * lisp/international/titdic-cnv.el (batch-titdic-convert): * lisp/mail/mspools.el (mspools-set-vm-spool-files) (mspools-get-spool-files): * lisp/mail/rmail.el (rmail-secondary-file-regexp) (rmail-speedbar-match-folder-regexp): * lisp/net/ange-ftp.el (ange-ftp-delete-directory): * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names): * lisp/obsolete/gulp.el (gulp-send-requests): * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib): * lisp/org/ob-core.el (org-babel-remove-temporary-directory): * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database): * lisp/progmodes/executable.el (executable-command-find-posix-p): * lisp/startup.el (command-line): * lisp/textmodes/refer.el (refer-get-bib-files): * lisp/url/url-about.el (url-probe-protocols): * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister): * test/lisp/net/tramp-archive-tests.el (tramp-archive-test19-directory-files-and-attributes): * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes): Replace ^ and $ with \` and \', respectively. Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.", to match anything but "." and "..", instead of several incorrect regexps.
* | | * lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-pAndrea Corallo2020-04-161-2/+5
| | |
* | | Always set `load-true-file-name' where `load-file-name' is set too.Andrea Corallo2020-04-142-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug#40620. * lisp/cus-dep.el (custom-make-dependencies): Set load-true-file-name. * lisp/emacs-lisp/package.el (package-quickstart-refresh): Likewise. * lisp/international/mule.el (load-with-code-conversion): Likewise. * lisp/loadup.el (load-true-file-name): Likewise.
* | | * lisp/emacs-lisp/comp.el (native-compile-async): Better error message.Andrea Corallo2020-04-141-7/+8
| | |
* | | * lisp/emacs-lisp/comp.el (comp-finalize-relocs): Better commentary.Andrea Corallo2020-04-131-2/+2
| | |
* | | * Fix native-compile-async for bug#40602.Andrea Corallo2020-04-131-3/+7
| | | | | | | | | | | | * lisp/emacs-lisp/comp.el (native-compile-async): Relax coherency condition.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-132-1/+10
|\| |
| * | Merge from origin/emacs-27Glenn Morris2020-04-131-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dfc497fac Minor wording change in Introduction to Programming in Ema... ff09b4eeac Fix 'flymake-show-diagnostics-buffer' when line numbers ar... 63e8d0ea87 Fix last changes describing mail commands 01212a762f Do setup Flymake in file-less Elisp buffers 36873ef2b2 Fix error message for ‘cl-struct-unknown-slot’ (bug#39995) 3f9310b0fe Fix and improve documentation of mail-related features 1482a75efa Fix build failure with Fx_gtk_debug cf57663f2a Mention jit-lock deferred as an alternative to fast-but-im... # Conflicts: # etc/NEWS
| | * Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)Philipp Stephani2020-04-121-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious format specifiers.
| * | gnus-shorten-url: Improve and avoid args-out-of-range errorŠtěpán Němec2020-04-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'gnus-shorten-url' (used by 'gnus-summary-browse-url') ignored fragment identifiers and didn't check substring bounds, in some cases leading to runtime errors, e.g.: (gnus-shorten-url "https://some.url.with/path/and#also_a_long_target" 40) ;; => Lisp error: (args-out-of-range "/path/and" -18 nil) This commit makes it account for #fragments and fixes faulty string computation, reusing existing helper function. (bug#39980) * lisp/vc/ediff-init.el (ediff-truncate-string-left): Rename to 'string-truncate-left' and move... * lisp/emacs-lisp/subr-x.el (string-truncate-left): ...here. All callers changed. * lisp/gnus/gnus-sum.el (gnus-shorten-url): Fix args-out-of-range error, don't drop #fragments, use 'string-truncate-left'.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-122-61/+94
|\| |
| * | Also use named functions for the ‘gv’ declare forms (Bug#40491)Philipp Stephani2020-04-121-3/+13
| | | | | | | | | | | | | | | * lisp/emacs-lisp/gv.el (gv--expander-defun-declaration) (gv--setter-defun-declaration): New helper functions; use them.
| * | Use named functions in {defun,macro}-declarations-alist (Bug#40491)Philipp Stephani2020-04-121-58/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (byte-run--set-advertised-calling-convention) (byte-run--set-obsolete, byte-run--set-interactive-only) (byte-run--set-pure, byte-run--set-side-effect-free) (byte-run--set-compiler-macro, byte-run--set-doc-string) (byte-run--set-indent, byte-run--set-debug) (byte-run--set-no-font-lock-keyword): New helper functions. (defun-declarations-alist, macro-declarations-alist): Use them.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-062-12/+23
|\| |
| * | Merge from origin/emacs-27Glenn Morris2020-04-051-9/+8
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6de20c7eab (origin/emacs-27) Fix syntax error in man page. f8607d3c03 Handle filling of indented ChangeLog function entries 7e78f0d1b2 Fix void-variable n-reb in re-builder (Bug#40409) 452d776a5d Fix small bug in copy_string_contents. fa823653ff Fix invocations of gpg from Gnus d4f51d0a2e Don't draw GTK's internal border and tab bar on top of eac... 38731d504e ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc... 44ac9e48bb Tweak htmlfontify's generated output
| | * Fix void-variable n-reb in re-builder (Bug#40409)Noam Postavsky2020-04-041-9/+8
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/re-builder.el (reb-while): Take the current value of the counter instead of its name. (reb-mark-non-matching-parenthesis): Bind n-reb to 0 at the start and don't wrongly treat it as dynamicly bound.
| * | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Avoid known cl-defsubst breakageStefan Monnier2020-04-051-3/+15
| | |
* | | * lisp/emacs-lisp/comp.el (comp-c-func-name): Fix for M-x disassembleAndrea Corallo2020-04-061-8/+12
| | |
* | | * lisp/emacs-lisp/comp.el (native-compile): Better documentation.Andrea Corallo2020-04-051-0/+2
| | |
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-04-031-0/+1
|\| |
| * | load-library, locate-library: Use read-library-nameŠtěpán Němec2020-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/find-func.el (read-library-name): Add autoload cookie. * lisp/files.el (load-library) * lisp/subr.el (locate-library): Use 'read-library-name' when called interactively. (bug#6652 bug#6679)
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-03-292-3/+17
|\| |
| * | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Declare the type immediatelyStefan Monnier2020-03-271-1/+4
| | |
| * | Improve the UI of 'list-timers'Eli Zaretskii2020-03-251-2/+13
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/timer-list.el (list-timers): Display both "Next" and "Repeat" in units of seconds, for consistency. (timer-list-mode): Add help-echo to column headers.
* | | Fix free function compilationAndrea Corallo2020-03-292-4/+6
| | |