aboutsummaryrefslogtreecommitdiffstats
path: root/etc/compilation.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add Rust panic message pattern (bug#80403)Jacek Świerk2026-03-011-1/+4
| | | | | | | | | | * etc/compilation.txt: Add example. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): New rule. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data) (compile-test-error-regexps): Add test case. Copyright-paperwork-exempt: yes
* ; Add 2026 to copyright years.Sean Whitton2026-01-011-1/+1
|
* Support Rust compiler messages in compile mode (bug#70794).Vincenzo Pupillo2025-05-221-0/+11
| | | | | | | | | | | * etc/compilation.txt: Add examples of Rust compiler error, warning and note messages. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add Rust regexps for error, warning and note messages. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add new test cases. (compile-test-error-regexps): Increase expected errors.
* Update copyright year to 2025Paul Eggert2025-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Make Compilation mode recognize non-legacy Kotlin/Gradle errorsRudolf Adamkovič2024-06-221-2/+11
| | | | | | | | | | | | | | | | | The Compilation mode recognizes Kotlin/Gradle errors but only in the now legacy format. The current format, which has been in wide use for about a year, is not supported. This change adds support for the current format. * etc/compilation.txt: (symbols): Add examples of non-legacy Kotlin/Gradle warnings and errors. * lisp/progmodes/compile.el: (compilation-error-regexp-alist-alist): Rename 'gradle-kotlin' to 'gradle-kotlin-legacy' and add 'grade-kotlin' that matches the errors and warnings outputted by the current (non-legacy) Kotlin/Gradle. (Bug#70797) * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Rename 'gradle-kotlin' to 'gradle-kotlin-legacy' and add two test cases for the newly added, non-legacy Kotlin/Gradle warnings and errors.
* Revert "Add support for Rust compilation messages"Mattias Engdegård2024-06-031-39/+0
| | | | | This reverts commit 2e862f81a355435fb7e837ffebee2f657c26ff23. It had serveral problems; see bug#70794.
* Add support for Rust compilation messagesErgus2024-05-181-0/+39
| | | | | | | | * etc/compilation.txt (Rust): Add Rust/cargo examples. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add rust/cargo error and warning patterns. (Bug#70794)
* Make Compilation mode recognize Lua errorsRudolf Adamkovič2024-01-101-0/+13
| | | | | | | | | | | | | | | | | Emacs comes with built-in support for the Lua programming language in the form of the Lua mode and now also the Lua Tree-sitter mode. This patch further improves Lua support in Emacs by making the Compilation mode recognize Lua errors and stack traces. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexps to aid Lua development, namely the 'lua' regexp that matches Lua errors and the 'lua-stack' regexp that matches Lua stack frames. (Bug#60830) * etc/compilation.txt (Lua): Add an example of a Lua error message with a stack trace. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Test the new 'lua' and 'lua-stack' regexps added to the 'compilation-error-regexp-alist-alist'.
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* Tighten and simplify typescript compilation-mode regexps (bug#61104)Mattias Engdegård2023-02-061-0/+14
| | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Tighten regexps and simplify. Translate to rx. * etc/compilation.txt: Add examples. In collaboration with Jostein Kjønigsen.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* Add test for the gradle-android compilation message patternMattias Engdegård2022-07-111-0/+9
| | | | | | * etc/compilation.txt (symbol): Add example. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Add test case (bug#56249).
* Quote configure.ac arguments more consistentlyPaul Eggert2022-07-051-1/+1
| | | | | | | | | This should help avoid further Autoconf portability gotchas such as the one recently fixed in 2022-06-27T04:26:01Z!meyering@fb.com. * autogen.sh (autoconf_min): Adjust pattern to match updated configure.ac. * configure.ac: Quote arguments more consistently, as per the Autoconf manual.
* Merge from origin/emacs-28Stefan Kangas2022-07-031-1/+1
|\ | | | | | | | | | | | | dc3d01a5af CC Mode: Fix a c-backward-token-2 call wrongly jumping bac... e390396e68 Doc fixes; don't use obsolete names c85f7c2e8a Don't refer to obsolete alias for insert-char 60ad45c5d2 Don't use obsolete face name in manoj-dark-theme
| * Doc fixes; don't use obsolete namesStefan Kangas2022-07-021-1/+1
| | | | | | | | | | | | * etc/compilation.txt: * lisp/mh-e/mh-funcs.el (mh-kill-folder): Don't use obsolete names.
* | Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | Add sample of -fanalyzer output (bug#51882)Mattias Engdegård2021-11-241-0/+3
|/ | | | | * etc/compilation.txt (file): Add fragment of GCC diagnostics from -fanalyzer (from Philip Kaludercic).
* Remove outline-cycle-minor-mode and outline-cycle-highlight-minor-modeJuri Linkov2021-03-071-1/+3
| | | | | | | | | | | | | | | * lisp/outline.el (outline-font-lock-keywords): Use OVERRIDE or LAXMATCH depending on outline-minor-mode-highlight in outline-minor-mode. (outline-minor-mode-cycle, outline-minor-mode-highlight): Promote defvar to defcustom. (outline-minor-mode-highlight-buffer): Don't override existing faces. (outline-cycle-minor-mode, outline-cycle-highlight-minor-mode): Remove minor modes. * etc/compilation.txt: * etc/grep.txt: Enable outline-minor-mode-cycle and outline-minor-mode-highlight with outline-minor-mode. https://lists.gnu.org/archive/html/emacs-devel/2021-03/msg00144.html
* New mode outline-cycle-minor-mode with Orgmode-like TAB cycling on headingsJuri Linkov2021-03-031-0/+6
| | | | | | | | | | | | | | | | | * lisp/outline.el (outline-mode-cycle-map): New keymap from outline-mode-map. (outline-mode-map): Inherit from outline-mode-cycle-map. (outline-font-lock-keywords): Append keymap and face depending on 'outline-minor-mode-cycle' and 'outline-minor-mode-highlight'. (outline-minor-mode-cycle, outline-minor-mode-highlight): New variables. (outline-minor-mode-highlight-buffer): New function. (outline-minor-mode): Handle 'outline-minor-mode-cycle' and 'outline-minor-mode-highlight'. (outline-cycle-minor-mode, outline-cycle-highlight-minor-mode): New minor modes (bug#45147). * etc/compilation.txt: * etc/grep.txt: Enable outline-cycle-highlight-minor-mode.
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* ; Fix more typosStefan Kangas2020-10-031-1/+1
|
* Support shellcheck in compilation-modeStefan Kangas2020-09-221-0/+8
| | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add shellcheck regexp. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Add test for shellcheck. * etc/compilation.txt: Add shellcheck example. * etc/NEWS: Announce the change. foo
* Add support for parsing column numbers in Visual Studio messagesDaniel Martín2020-08-281-0/+1
| | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Extend regular expression to match optional column numbers. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add a test. * test/lisp/progmodes/compile-tests.el (compile-test-error-regexps): Update the total number of compilation errors in a test. * etc/compilation.txt: Update compilation.txt with the newly supported message format. * etc/NEWS: Advertise the feature.
* javac support in compilation-parse-errors rulesFilipp Gunbin2020-04-011-0/+14
| | | | | | | | | | | * etc/compilation.txt: Add doc and example. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add javac rule. (compilation-parse-errors): Fix file/line/col test, so that lambda/closure (which are valid values) don't match. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data, compile-test-error-regexps): Add test.
* Make OMake support slightly less expensive (bug#39595)Mattias Engdegård2020-02-171-0/+16
| | | | | | | | | | | | | | | | | When run with -p or -P, OMake regurgitates error messages that prevented further progress, indented by 6 spaces. Use that fact to ameliorate the modification done to other error message regexps. * lisp/progmodes/compile.el (compilation-parse-errors): When 'omake' is enabled, allow error messages to be indented by 0 or 6 spaces instead of any number of spaces, to avoid pathological behaviour. (compilation-error-regexp-alist-alist): Anchor the 'omake' pattern to bol for performance. Repair the 'ruby-Test::Unit' pattern, which relied on the previously over-generous 'omake' hack. * etc/compilation.txt (OMake): Add examples. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data) (compile-test-error-regexps): Add test for OMake (indented error).
* Speed up 'maven' compilation error message regexpMattias Engdegård2020-02-171-0/+2
| | | | | | | | | | | | | Anchor the regexp at line-start to prevent quadratic behaviour when it doesn't match (bug#39595). It's unclear whether the type tag, like [ERROR], is always present; we keep it optional just in case. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Rewrite 'maven' regexp, using rx for clarity. * etc/compilation.txt (maven): More examples. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): No leading spaces; they seems to stem from a misunderstanding in bug#11517.
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Make ant regexp in compilation-error-regexp-alist-alist more laxFilipp Gunbin2019-11-011-4/+5
| | | | | | | * lisp/progmodes/compile.el: Make ant regexp accept filenames that may occur on Cygwin (like c:/test) and optional additional severity level after task name. * etc/compilation.txt: Add sample.
* Add gradle-kotlin to compilation-error-regexp-alist-alistFilipp Gunbin2019-10-291-0/+8
| | | | | | * lisp/progmodes/compile.el: Add gradle-kotlin to compilation-error-regexp-alist-alist. * etc/compilation.txt: Add samples for it.
* Fix error in gnu compilation-mode regexp (bug#37582)Mattias Engdegård2019-10-041-0/+1
| | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Fix a mistake introduced when the regexp was translated to rx. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data) (compile-test-error-regexps): Add test case. * etc/compilation.txt: Add example.
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | ; Spelling and quoting fixesPaul Eggert2016-05-011-2/+2
| |
* | Regexps for matching CMake outputJö Fahlke2016-04-231-0/+26
|/ | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexps for matching CMake output. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add CMake test cases. * etc/compilation.txt (CMake): Add CMake examples. Copyright-paperwork-exempt: yes
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Restore blank line before next section, erroneously erased in my previous commitVincent Belaïche2015-10-041-0/+1
| | | | * etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section
* Support MSW filename style for ant compilation error regexpVincent Belaïche2015-10-041-1/+1
| | | | | * etc/compilation.txt (symbol ant): * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style
* Prefer straight quoting in some etc text filesPaul Eggert2015-08-261-4/+5
| | | | | These files are plain text and might be used by non-Emacs apps. They’re mostly ASCII, so just use straight quotes.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Support Guile backtraces in compilation mode.Jan Nieuwenhuizen2014-08-131-0/+20
| | | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add Guile regexpses. * etc/compilation.txt (file): Add Guile backtrace example. * test/automated/compile-tests.el (compile--test-error-line): Grok FILE being nil. Allows for Guile tests to pass. (compile-tests--test-regexps-data): Add Guile tests.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Adapt compile.el to changes in MSVC diagnostics format.Eli Zaretskii2012-10-141-0/+7
| | | | | | | | | | | | | | lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Adjust the msft regexp to the output of Studio 2010, and move msft before edg-1. See the discussion on emacs-devel, http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html, for the details. etc/compilation.txt (msft): Add error messages in new Studio 2010 format. test/automated/compile-tests.el (compile-tests--test-regexps-data): Add data for msft's new format.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* * etc/compilation.txt: Add more samples of output and non-output switches ↵Juri Linkov2011-08-221-2/+4
| | | | (bug#9319).
* * lisp/progmodes/compile.el (compilation-mode-font-lock-keywords):Juri Linkov2011-08-221-3/+12
| | | | | Revert regexp that highlights output switches to its old pre-2010-10-28 value and remove one `?' from it (bug#9319).