summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * ; * admin/MAINTAINERS: Note what I maintainPhilip Kaludercic2024-07-271-0/+1
| |
* | Merge from origin/emacs-30Eli Zaretskii2024-07-272-4/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88e1ec22f27 Update to Org 9.7.9 1ae2f004473 Fix edge-case with 'which-key-dont-use-unicode' setter 68a5f1f7d18 NS: prevent makeKeyWindow warnings (bug#69525) 59a895ec499 ; * .gitignore: Add lisp/eshell/esh-groups.el. 5c08cd4e7c3 ; * doc/emacs/cmdargs.texi (Initial Options): Fix last ch... 309d0a71864 Add PROBLEMS entry for bug#72303 87389f9ff90 ; Improve documentation of 'line-prefix' and 'wrap-prefix'. 268a2d10fc9 Improve documentation of '--init-directory' command-line ... c27055a938a ; cperl-mode.el: Fix fontification of flip-flop (Bug#72296) fcd4e4c895d ; * admin/MAINTAINERS: Add myself for maintaining some ar... fdc133e97f6 Fix bug in server.el introduced by 0d7d835902df af527051cd3 ; * admin/MAINTAINERS: Remove Nicolas Petton. 7170282a59a lisp/minibuffer.el (completion--sifn-requote): Fix bug#72176 68906f184cb * admin/notes/spelling: Update note. 9eea6be5abf Don't produce invalid XML with multi-line commenting style b97786d9f6e ; * etc/NEWS: Entry for 'gnus-summary-limit-to-age' (bug#... a7996615663 Standardize possessive apostrophe usage in manuals, docs,... 67faaead754 Don't refer to obsolete finder group "wp" # Conflicts: # etc/NEWS
| * ; * admin/MAINTAINERS: Remove Nicolas Petton.Stefan Kangas2024-07-252-4/+2
| | | | | | | | Change agreed with Nicolas Petton <nico@petton.fr>.
* | Use timer accessors instead of aref/asetMattias EngdegÄrd2024-07-251-7/+5
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/timer-list.el (list-timers): * lisp/gnus/mail-source.el (mail-source-start-idle-timer): * lisp/play/gamegrid.el (gamegrid-set-timer): * lisp/progmodes/vhdl-mode.el (vhdl-run-when-idle): * lisp/simple.el (analyze-text-conversion): * lisp/time.el (display-time-event-handler): Use timer accessors.
* | Add some basic checking for function type declarationsAndrea Corallo2024-07-241-1/+16
| | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (byte-run--anonymize-arg-list): New function. (byte-run--set-function-type): Add some basic checking for the function type being declared.
* | Merge from origin/emacs-30Stefan Monnier2024-07-191-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a478423d19f * lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#7... 951fb93956d * lisp/transient.el (static-if): Remove duplicated defini... 0218fb21437 Adapt file-remote-p doc 34c1094e607 ; Fix typo in etc/ORG-NEWS (Bug#72186) 5916b172bdc * etc/TODO: Delete item about merging Magit. a6cab228d4d ; Fix typos 41dc28244f2 * doc/man/emacs.1.in: Add "No warranty" notice. b2ac3435867 ; * doc/man/emacs.1.in: Improve wording. 110b3d08d73 Improve emacs man page description of --user flag 4911f08912a Checkdoc fixes in allout-widgets.el 109b592d77b Checkdoc fixes in subr.el 46436720787 Checkdoc fixes in touch-screen.el 9889774c62e Checkdoc fixes in treesit.el # Conflicts: # etc/NEWS
| * ; Fix typosStefan Kangas2024-07-181-1/+1
| |
* | ; fix previous find-function changeRobert Pluim2024-07-181-2/+2
| |
* | Add history variables for find-func entry pointsRobert Pluim2024-07-171-3/+13
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-function--read-history-library): New defvar. (read-library-name): Use it in 'completing-read' calls. (find-function--read-history-function, find-function--read-history-variable, find-function--read-history-face): New defvars. (find-function-read): Use them in 'completing-read' calls.
* | Fix 'comp--type-check-optim-block' it using 'comp-cstr-type-p'Andrea Corallo2024-07-111-4/+1
| | | | | | | | | | * lisp/emacs-lisp/comp.el (comp--type-check-optim-block): Better condition.
* | Generalize 'comp-cstr-symbol-p'Andrea Corallo2024-07-111-9/+4
| | | | | | | | | | * lisp/emacs-lisp/comp-cstr.el (comp-cstr-symbol-p): Make use of 'comp-cstr-type-p'.
* | Add 'comp-type-check-optim' passAndrea Corallo2024-07-111-0/+66
| | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-passes): Add 'comp--type-check-optim'. (comp--type-check-optim-block, comp--type-check-optim): New functions.
* | Split 'comp--ssa' codeAndrea Corallo2024-07-111-19/+22
| | | | | | | | | | * lisp/emacs-lisp/comp.el (comp--ssa-function): New function. (comp--ssa): Update.
* | Support interpreted functions as input for 'native-compile' (bug#71934)Andrea Corallo2024-07-091-19/+26
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp--spill-lap-single-function): New function. (comp--spill-lap-function): Make use of and do not accept '(closure ...' as input. (comp--spill-lap-function): Specialize on interpreted functions as well. (native-compile): Update doc. * test/src/comp-tests.el (compile-interpreted-functions): New test.
* | Merge from savannah/emacs-30Po Lu2024-07-096-7/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dce31372a60 editorconfig-core-handle.el: Fix regressions in fnmatch h... ed2986494c7 Checkdoc fixes in `url/*.el` 846c0e10ffa Checkdoc fixes in `term/*.el` 3977aa07568 Checkdoc fixes in `mh-e/*.el` 521f740d013 Checkdoc fixes in `calc/*.el` 336aa6ab17a Checkdoc fixes in `textmodes/*.el` e19fd6a22de Checkdoc fixes in `gnus/*.el` 7350457c793 Checkdoc fixes in `eshell/*.el` 23c1ba81ddd Checkdoc fixes in `emulation/*.el` c85f67a66df Checkdoc fixes in `erc/*.el` e392382e2e2 Checkdoc fixes in `vc/*.el` ef7364b070e Checkdoc fixes in `emacs-lisp/*.el` 5fe1ae0e843 Checkdoc fixes in `mail/*.el` e43e9d09986 Checkdoc fixes in `net/*.el` 4c6e9f5b004 Improve `use-package-vc-valid-keywords` docstring format 928180f32be ; * etc/TODO: New item on installing Magit. c193a702dc2 ; Improve a recent change to the documentation 6ebc5d5c278 ; Delete fixed item from etc/TODO: "proced on macOS" 7b2778e3a3d ; Delete fixed NS bug from etc/TODO 84552ff395c Revert "Fix link to major mode variable in docstring" 198063ba643 * etc/TODO: Add item to convert documentation to 'setopt'. 92de67829ca Prefer 'setopt' in browse-url docs 76683853905 ; Improve 'native-comp-debug' documentation
| * Checkdoc fixes in `emacs-lisp/*.el`Stefan Kangas2024-07-084-5/+5
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-free-vars-warn) (byte-compile-out): * lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): * lisp/emacs-lisp/find-func.el (find-ert-deftest-regexp): * lisp/emacs-lisp/macroexp.el (byte-compile-form-stack): Checkdoc fixes.
| * ; Improve a recent change to the documentationEli Zaretskii2024-07-081-2/+2
| | | | | | | | | | | | * lisp/emacs-lisp/comp.el (native-comp-debug): * doc/lispref/compile.texi (Native-Compilation Variables): Improve wording.
| * Revert "Fix link to major mode variable in docstring"Stefan Kangas2024-07-081-1/+1
| | | | | | | | | | | | | | | | This reverts commit 73c1252bb6b7cc61d9f992818568d3c57de4ff67. This will sometimes say "the variable `(default-value 'global-auto-revert-mode)'". Problem reported by Eshel Yaron <me@eshelyaron.com>.
| * ; Improve 'native-comp-debug' documentationAndrea Corallo2024-07-081-1/+3
| | | | | | | | | | * lisp/emacs-lisp/comp.el (native-comp-debug): Improve doc. * doc/lispref/compile.texi (Native-Compilation Variables): Likewise.
* | Make checkdoc recognize "U.S." acronymStefan Kangas2024-07-081-1/+1
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Recognize "U.S." acronym.
* | Merge from savannah/emacs-30Po Lu2024-07-081-8/+9
|\| | | | | | | | | | | | | | | | | f4c0459ed3e Fix Tramp parser 47c79b62dd0 Checkdoc fixes in progmodes 6757f8e67d3 Checkdoc fixes in Org Mode 9fcee3c1d1e Clarify `checkdoc-max-keyref-before-warn` docstring b249f022f12 * lisp/files.el (insert-directory): Quote switches in wil... 8911d53ce5d Fix uses of 'dired-omit-mode' (bug#71905)
| * Clarify `checkdoc-max-keyref-before-warn` docstringStefan Kangas2024-07-071-8/+9
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-max-keyref-before-warn): Clarify and reflow docstring. Fix warning about overly long docstring.
* | Make `checkdoc-verb-check-experimental-flag` default to nilStefan Kangas2024-07-071-2/+4
| | | | | | | | | | | | | | | | | | | | This user option leads to a very large amount of false positives in practice. In my personal experience, almost all occurrences that are flagged are false positives. Flipping the default to something less intrusive should hopefully encourage more use of checkdoc. * lisp/emacs-lisp/checkdoc.el (checkdoc-verb-check-experimental-flag): Switch the default to nil.
* | checkdoc: Flag formatting mistakes in warningsStefan Kangas2024-07-071-2/+17
| | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-next-string) (checkdoc-message-text-engine): Flag formatting mistakes in warnings. (checkdoc--warning-function-re): New variable.
* | checkdoc: Minor code cleanupsStefan Kangas2024-07-071-34/+31
| | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-search): Use 'while-let'. (checkdoc-message-text-engine): Use 'when' and 'unless'.
* | ; checkdoc: More interactive mode taggingStefan Kangas2024-07-071-3/+3
| |
* | ; Avoid byte-compiler warning in package.elEli Zaretskii2024-07-071-0/+1
| | | | | | | | * lisp/emacs-lisp/package.el (lm-package-needs-footer-line): Declare.
* | Merge from savannah/emacs-30Po Lu2024-07-072-3/+3
|\| | | | | | | | | | | 48f4c9cbbc1 ; Reflow "Commentary" in lisp-mnt.el 22155753a46 ; * lisp/emacs-lisp/comp-run.el (native--compile-async): ... 235b9e85a67 package-buffer-info: Move 'require' earlier
| * ; Reflow "Commentary" in lisp-mnt.elStefan Kangas2024-07-061-2/+2
| | | | | | | | * lisp/emacs-lisp/lisp-mnt.el: Reflow "Commentary" section.
| * ; * lisp/emacs-lisp/comp-run.el (native--compile-async): Improve warning.Eli Zaretskii2024-07-061-1/+1
| |
| * package-buffer-info: Move 'require' earlierStefan Kangas2024-07-061-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-buffer-info): Move 'require' earlier, before it is needed.
* | checkdoc: Relax footer line check for recent EmacsStefan Kangas2024-07-061-15/+24
| | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Don't require a footer line unless 'lm-package-needs-footer-line' returns true.
* | Make `lm-homepage` into an obsolete alias for 'lm-website'Stefan Kangas2024-07-061-1/+1
| | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-homepage): Make into an obsolete function alias for 'lm-website'.
* | Make `lm-verify` obsolete in favor of checkdocStefan Kangas2024-07-062-3/+2
| | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-verify): Make obsolete in favor of checkdoc.
* | Add new function `lm-package-needs-footer-line`Stefan Kangas2024-07-062-18/+38
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-package-needs-footer-line): Factor out new function... * lisp/emacs-lisp/package.el (package-buffer-info): ...from here. * lisp/emacs-lisp/lisp-mnt.el (lm-verify): Use above new function. * test/lisp/emacs-lisp/lisp-mnt-tests.el (lm-tests--lm-package-needs-footer-line/empty-dependencies) (lm-tests--lm-package-needs-footer-line/old-version) (lm-tests--lm-package-needs-footer-line/new-version): New tests.
* | Merge from origin/emacs-30Eli Zaretskii2024-07-063-10/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | f910514721e Fix treesit range rule for jsdoc de3fa00a614 Fix documentation of 'balance-windows' c986387c79f nnatom: Ensure some parsed values are one line 2fb6a98ecfa nnfeed: (Mostly) fix group descriptions 74b82e6802e Eglot: support deprecated MarkedString (bug#71353) a6a588ccf10 ; * doc/lispref/strings.texi (Creating Strings): Followup... a3e57a29bec ; Fix doc string of 'string-fill' 1b5cf29431a Fix returning to original TTY frame after 'rmail-reply' 814710067f0 Improve warnings from native compiler cefec59df7b Document adding package dependency on Emacs version d190cb0e886 Fix file-name detection in Dired under -F
| * ; Fix doc string of 'string-fill'Eli Zaretskii2024-07-061-6/+6
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-fill): Rename LENGTH to WIDTH and update the doc string accordingly. (Bug#71856)
| * Improve warnings from native compilerEli Zaretskii2024-07-052-4/+4
| | | | | | | | | | | | | | | | | | | | * src/comp.c (syms_of_comp) <native-compiler>: Rename from 'comp'. * src/lread.c (maybe_swap_for_eln): * lisp/emacs-lisp/comp.el (comp--fwprop): * lisp/emacs-lisp/comp-run.el (comp--accept-and-process-async-output, native--compile-async): Adjust to the new symbol.
* | Merge from savannah/emacs-30Po Lu2024-07-052-3/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 334d5132207 (edebug--called-interactively-skip): Fix bug#71934 6e8b9ccaec2 ; * lisp/ibuffer.el (ibuffer-mode): Doc fix. 3eaf1abbff8 Fix MS-Windows build with native-compilation fc375359edd Tag dbus-test05-register-signal-with-nils as unstable 99230d7080f ; * src/w32fns.c (funhook): Restore mistakenly lost line. 81a7358a33b Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... b085d683962 Fix treesit test (bug#71907) f39cf0beb74 Focus more on MS-Windows than MS-DOS in FAQ d64396b8e42 Autoload some string functions bd482b745aa Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... b5341831353 * etc/NEWS: Fix typos. 850fc68481a ; (grep-read-files): Fix completion table 28532599358 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... 921d40759e5 Remove a reference to a non-existant variable from a doc-... 5d2a115ab03 ; * src/fns.c (value_cmp): ASCIIfy.
| * (edebug--called-interactively-skip): Fix bug#71934Stefan Monnier2024-07-041-3/+2
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): Adjust to new interpreted functions.
| * Autoload some string functionsStefan Kangas2024-07-031-0/+4
| | | | | | | | | | | | | | | | | | These functions are documented in both `(elisp) Creating Strings' and 'M-x shortdoc RET string RET', so users will expect them to be available without having to require 'subr-x'. * lisp/emacs-lisp/subr-x.el (string-fill, string-limit, string-pad) (string-chop-newline): Autoload.
* | Merge from savannah/emacs-30Po Lu2024-06-303-6/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 72cf9964f3c Inaccuracy in efaq.texi fc48e9e8ed5 ; Fix typos in DOS Makefile scripts 9b8d754579f ; * etc/NEWS: Explain Nextstep. 8819e5a45d5 Fix treesit crash (bug#71681) eaf2dc96c1f ; Fix SHR test on MS-Windows 57880f597c5 Delete redundant mention of `with-eval-after-load' ea8ce984342 * doc/misc/efaq.texi (New in Emacs 30): Fix typos. 45a20d781a9 ; Fix typos in symbols d95f039af43 Document security fixes in FAQ d063af203c8 Add "New in Emacs 30" to FAQ ca6b484162b ; * etc/NEWS: Move "Minibuffer and Completions" 35c46663e49 ; * etc/NEWS: Move item to "Lisp Changes". 0515b38d289 ; * etc/NEWS: Move keyboard macro items closer together. 22af3a71039 ; * etc/NEWS: More copy-edits. 000ef8876ae ; * etc/NEWS: Move items to "Incompatible Lisp Changes". 4088dc8e4ce ; * etc/NEWS: Rearrange "Incompatible Lisp Changes". 179800f36bb ; * lisp/epg.el (epg--start): Add commentary about encoding. 73898f0214c Fix non-ASCII filename operatiion on EasyPG (bug#71500) a65b6aac6b5 Silence warning with global minor mode :predicate f5f7343ac41 ; * etc/NEWS: Move an item to "Startup Changes" c95066bf188 ; * etc/NEWS: Move some Lisp items to better place. bf7db88ce1f ; * etc/NEWS: Rearrange "Editing Changes in Emacs 30.1" 000424eb9eb ; * etc/NEWS: Make touch screen support more prominent. 5b5671587fb ; * etc/NEWS: Rearrange "Changes in Emacs 30.1". 31124abdefe ; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777). 44f269d6e60 Fix: make 'xwidget-webkit-scroll-backward' scroll backwards 358085997c6 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... 736b7cad406 Add jsdoc support to php-ts-mode in <script> element 5f3d964e397 Update to Transient v0.7.2-4-gf75bc48d # Conflicts: # etc/NEWS
| * ; Fix typos in symbolsStefan Kangas2024-06-292-5/+4
| |
| * Silence warning with global minor mode :predicateStefan Kangas2024-06-291-1/+2
| | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Silence byte-compiler warning when :predicate is used.
* | Merge from origin/emacs-30Po Lu2024-06-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d8881d5267 Fix typo incurring leaks of face structures 219501dd629 ; Fix use of @footnote in cc-mode.texi c7be2dcac44 Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs ... f0a48799756 Sync with Tramp 2.7.1 53dcf2b9492 ; * etc/NEWS: Move the mwheel entry to a better place. a5726782d03 ; Sort tree-sitter modes in NEWS daa89dc939e ; * etc/NEWS: Rearrange "New Modes and Packages in Emacs ... 4ddbf4f70ef ; * etc/NEWS: Move many items. 437b1ced268 ; * etc/NEWS: Copy-edits. 7372b2eb302 Expand docstring of which-key-mode df0eb5be1ea Improve documentation of 'remove-overlays' in ELisp manual 73c1252bb6b Fix link to major mode variable in docstring c4ad54812ac Make `shell-mode' more robust # Conflicts: # etc/NEWS
| * Fix link to major mode variable in docstringStefan Kangas2024-06-281-1/+1
| | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Fix link to major mode variable in docstring. (Bug#71815)
* | Flag checkdoc-package-keywords-flag as a :safe variableJules Tamagnan2024-06-291-0/+1
|/ | | | | * lisp/emacs-lisp/checkdoc.el: Mark 'checkdoc-package-keywords-flag' as a safe local variable. (Bug#71812)
* Correct ommissions in rmc.elPo Lu2024-06-281-3/+10
| | | | | | | | * lisp/emacs-lisp/rmc.el (touch-screen-scroll) (touch-screen-pinch): Declare functions. (read-multiple-choice--short-answers): Call the same functions directly and prevent the on-screen keyboard from being deactivated immedately before it is reopened.
* Don't hide `not` and `null` arity errorsMattias EngdegÄrd2024-06-171-7/+8
| | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize-not): Don't silently convert incorrect `not` and `null` applications to nil.
* Improve treatment of touch screen input by rmc and its callersPo Lu2024-06-171-35/+71
| | | | | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice--short-answers): Run touch screen event translation on touch screen events received, and respond to pinch, tap and scrolling gestures. * lisp/net/nsm.el (nsm-query-user): Disable use-dialog-box in the details window. * lisp/touch-screen.el (touch-screen-translate-touch): Autoload.