Andrea Corallo
bab36619fb
Fix deferred-compilation for double compilation (bug#40838).
...
* lisp/emacs-lisp/comp.el (native-compile-async): Prevent double
compilation (bug#40838).
2020-04-25 15:12:37 +01:00
Andrea Corallo
e208de9d25
Store ongoing compilations processes as hash table.
...
* 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.
2020-04-25 15:12:37 +01:00
Andrea Corallo
b380451c6a
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Fix non late load.
2020-04-24 19:02:55 +01:00
Andrea Corallo
81389d5f2d
* lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Add comp.eln
2020-04-23 08:54:46 +01:00
Andrea Corallo
301cf0d278
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-23 08:41:15 +01:00
Glenn Morris
477b9eaf45
Merge from origin/emacs-27
...
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
2020-04-20 07:50:19 -07:00
Štěpán Němec
067b070598
; Fix some typos and doc issues (bug#40695)
2020-04-18 17:10:02 +02:00
Andrea Corallo
65cc8efa33
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Better doc fix
2020-04-16 19:06:08 +01:00
Andrea Corallo
d432cbeb27
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-16 17:35:35 +01:00
Andrea Corallo
886ded1b70
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-p
2020-04-16 18:59:40 +01:00
Glenn Morris
97e48510ad
Merge from origin/emacs-27
...
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
2020-04-15 07:50:15 -07:00
Andrea Corallo
8db8c851ad
Always set load-true-file-name' where
load-file-name' is set too.
...
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.
2020-04-14 19:58:41 +01:00
Mattias Engdegård
4acdd7fe58
Fix edge case errors in filename-matching regexps
...
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.
2020-04-14 12:25:16 +02:00
Andrea Corallo
8decfbe4d7
* lisp/emacs-lisp/comp.el (native-compile-async): Better error message.
2020-04-14 08:48:24 +01:00
Andrea Corallo
b7678cf10e
* lisp/emacs-lisp/comp.el (comp-finalize-relocs): Better commentary.
2020-04-13 20:44:09 +01:00
Andrea Corallo
9f42f35418
* Fix native-compile-async for bug#40602.
...
* lisp/emacs-lisp/comp.el (native-compile-async): Relax coherency condition.
2020-04-13 20:44:09 +01:00
Andrea Corallo
517c123fd4
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-13 18:11:12 +01:00
Glenn Morris
0a4b992c42
Merge from origin/emacs-27
...
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
2020-04-13 09:02:29 -07:00
Štěpán Němec
188bd80a90
gnus-shorten-url: Improve and avoid args-out-of-range error
...
'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'.
2020-04-13 12:12:00 +02:00
Andrea Corallo
f9a1d4b3f7
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-12 16:53:36 +01:00
Philipp Stephani
36873ef2b2
Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
...
* lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious
format specifiers.
2020-04-12 15:12:16 +02:00
Philipp Stephani
aed427ece5
Also use named functions for the ‘gv’ declare forms (Bug#40491)
...
* lisp/emacs-lisp/gv.el (gv--expander-defun-declaration)
(gv--setter-defun-declaration): New helper functions; use them.
2020-04-12 14:27:33 +02:00
Philipp Stephani
4f197a5e79
Use named functions in {defun,macro}-declarations-alist (Bug#40491)
...
* 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.
2020-04-12 13:18:43 +02:00
Andrea Corallo
4abb8c822c
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-06 18:06:29 +01:00
Andrea Corallo
32a079aef2
* lisp/emacs-lisp/comp.el (comp-c-func-name): Fix for M-x disassemble
2020-04-06 20:03:34 +01:00
Andrea Corallo
37a9d1e42b
* lisp/emacs-lisp/comp.el (native-compile): Better documentation.
2020-04-05 21:10:49 +01:00
Glenn Morris
333f63d537
Merge from origin/emacs-27
...
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
2020-04-05 07:50:15 -07:00
Stefan Monnier
a32c55bd9f
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Avoid known cl-defsubst breakage
2020-04-05 09:54:53 -04:00
Noam Postavsky
7e78f0d1b2
Fix void-variable n-reb in re-builder (Bug#40409)
...
* 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.
2020-04-04 20:06:54 -04:00
Andrea Corallo
fcce8dd361
Merge remote-tracking branch 'savannah/master' into HEAD
2020-04-03 19:06:57 +01:00
Štěpán Němec
2c45091791
load-library, locate-library: Use read-library-name
...
* 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)
2020-04-03 14:54:49 +03:00
Andrea Corallo
00ee320a62
Merge remote-tracking branch 'savannah/master' into HEAD
2020-03-29 12:31:24 +01:00
Andrea Corallo
530faee275
Fix free function compilation
2020-03-29 12:30:33 +01:00
Andrea Corallo
53f9bc6908
* comp.el (comp-output-base-filename): Handle src being a symbol
2020-03-29 12:30:33 +01:00
Andrea Corallo
d5f6dc131b
Prevent collisions in C namespace and function shadowing
...
This rework make functions being indexed by their unique C symbol name
preventing multiple lisp function with the same name colliding.
2020-03-29 12:30:33 +01:00
Stefan Monnier
09d67716e5
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Declare the type immediately
2020-03-27 17:14:34 -04:00
Eli Zaretskii
74489bdcb6
Improve the UI of 'list-timers'
...
* 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.
2020-03-25 16:18:37 +02:00
Andrea Corallo
4acc4ac667
* comp.el (native-compile-async): Fix excessive messaging
2020-03-24 19:10:20 +00:00
Andrea Corallo
f7e10297d1
Merge remote-tracking branch 'savannah/master' into HEAD
2020-03-24 16:22:06 +00:00
Noam Postavsky
78f76fe16e
Make cl-concatenate an alias of seq-concatenate
...
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use defalias instead
of apply. This is simpler and more efficient.
2020-03-23 18:58:21 -04:00
Andrea Corallo
73ced8c23e
* comp.el : Fix typo introduced by f8b07ff4f3
2020-03-23 22:27:17 +00:00
Andrea Corallo
8cc8adb04d
Merge remote-tracking branch 'savannah/master' into HEAD
2020-03-23 20:38:07 +00:00
Andrea Corallo
f8b07ff4f3
Guard against function redefinition during deferred load
2020-03-23 20:37:59 +00:00
Glenn Morris
5d5d5d492c
Merge from origin/emacs-27
...
d66331aea4
(origin/emacs-27) Don't build the Gnulib 'utimens' module ...
f2351a689b
Add Harfbuzz dependency
8944310d7c
Don't signal during backtrace unrewind (Bug#40088)
8709aaddd8
Fix a couple of problems in changelog generating functions
9ab85f087f
Fix cl-concatenate (Bug#40180)
561e9fb91b
Improve documentation of project.el commands
b28a9a6cc3
Make svg images with links valid
7515252cce
* lisp/tab-line.el (tab-line-new-button-show): New defcustom.
# Conflicts:
# etc/NEWS
# nt/gnulib-cfg.mk
2020-03-23 09:48:15 -07:00
Noam Postavsky
9ab85f087f
Fix cl-concatenate (Bug#40180)
...
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use apply, to avoid
adding extra nesting of args.
* test/lisp/emacs-lisp/cl-extra-tests.el (cl-concatenate): New test.
2020-03-22 23:06:31 -04:00
Andrea Corallo
eb1d22b136
Merge remote-tracking branch 'savannah/master' into HEAD
2020-03-22 16:11:53 +00:00
Andrea Corallo
ef30feb554
* comp.el: Add missing require
2020-03-22 15:57:00 +00:00
Andrea Corallo
e05a62a968
Have a fast build option triggered by env var NATIVE_FAST_BOOT
2020-03-22 15:50:58 +00:00
Stefan Kangas
813478c855
Revert "Signal user-error on duplicate package refresh" (Bug#39187)
...
This reverts commit a6d87ea045
.
2020-03-22 12:16:11 +01:00
Stefan Kangas
271f9a6aed
Remove obsolete XEmacs comment
...
* lisp/emacs-lisp/edebug.el (edebug--display-1): Remove comment
regarding an XEmacs exclusive variable.
2020-03-21 07:38:44 +01:00