summaryrefslogtreecommitdiff
path: root/doc/misc/flymake.texi
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* Document using Flymake together with EglotStefan Kangas2023-09-101-2/+9
| | | | | * doc/misc/flymake.texi (Top, Using Flymake): Document using Flymake together with Eglot. (Bug#60040)
* ; Fix example in the Flymake manualEli Zaretskii2023-06-171-0/+9
| | | | | * doc/misc/flymake.texi (An annotated example backend): Fix the example. (Bug#64070)
* Fix some Texinfo markup in manualsBasil L. Contovounesios2023-06-131-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/macos.texi (Mac / GNUstep Customization): * doc/lispintro/emacs-lisp-intro.texi (condition-case): * doc/lispref/control.texi (pcase Macro): * doc/lispref/debugging.texi (Internals of Debugger): * doc/lispref/internals.texi (Building Emacs): * doc/lispref/modes.texi (Imenu): (Parser-based Font Lock, Parser-based Indentation): * doc/lispref/parsing.texi (Retrieving Nodes, Tree-sitter C API): * doc/lispref/processes.texi (Network, Bindat Types): * doc/lispref/searching.texi (Rx Functions): * doc/lispref/text.texi (Replacing): * doc/lispref/windows.texi (Textual Scrolling): * doc/misc/calc.texi (Killing From Stack, Customizing Calc): * doc/misc/cc-mode.texi (Misc Font Locking, List Line-Up): * doc/misc/ede.texi (ede-cpp-root-project) (ede-proj-target-makefile, ede-sourcecode): * doc/misc/ert.texi (Running Tests in Batch Mode): * doc/misc/eudc.texi (Emacs-only Configuration, The Server Hotlist): * doc/misc/eww.texi (Advanced): * doc/misc/flymake.texi (Starting Flymake) (Proc customization variables): * doc/misc/tramp.texi (File name completion): * doc/misc/gnus.texi (Summary Buffer Lines, Gnus Registry Setup) (Fancy splitting to parent, Customizing the IMAP Connection) (Mail Source Specifiers, Agent as Cache): Consistently mark up nil and t as @code. Also fix the markup and wording of some surrounding text (bug#64016). * doc/lispref/display.texi (SVG Images, Icons): * doc/lispref/modes.texi (Customizing Keywords): Prefer ASCII apostrophe over Unicode right single quotation mark.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* ; Fix typosStefan Kangas2022-12-091-1/+1
|
* ; Fix typos (misspelled symbols)Stefan Kangas2022-11-211-3/+3
|
* ; Fix typosStefan Kangas2022-11-111-1/+1
|
* ; Fix quoting of non-nil in texinfo sourcesStefan Kangas2022-10-271-2/+2
|
* Make a flymake.texi code example more resilientLars Ingebrigtsen2022-09-101-0/+1
| | | | | * doc/misc/flymake.texi (An annotated example backend): Make the example code resilient wrt. narrowed buffers (bug#51437).
* Make some versions in docs match package versionStefan Kangas2022-09-031-2/+2
| | | | | | | | * doc/emacs/misc.texi (Interactive Shell): Bump Emacs version. * doc/misc/ediff.texi: * doc/misc/flymake.texi: * doc/misc/viper.texi: Fix version to match package. * lisp/emulation/viper.el: Make version match variable.
* Add new user option flymake-mode-line-lighterLars Ingebrigtsen2022-04-261-0/+3
| | | | | | | | * doc/misc/flymake.texi (Customizable variables): Document it. * lisp/progmodes/flymake.el (flymake-mode-line-lighter): New user option (bug#55115). (flymake--mode-line-title): Use it.
* 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
| |
| * Revert "Use @pxref when necessary"Eli Zaretskii2021-11-241-1/+1
| | | | | | | | | | | | This reverts commit b4f47d2ee2203a9f22bebeb3d09e0fb3fce2f65e. Cleanups should not be done on the release branch: that's unnecessary risk.
* | * doc/misc/flymake.texi: Correct local variable mode specificationRobert Pluim2021-11-251-1/+1
|/
* Use @pxref when necessaryRobert Pluim2021-11-241-1/+1
| | | | | | | | | | | | | | | | | * doc/lispref/customize.texi (Composite Types): * doc/lispref/edebug.texi (Specification List): * doc/lispref/variables.texi (Local Variables): * doc/misc/efaq.texi (Basic keys): (Informational files for Emacs): * doc/misc/flymake.texi (Locating a master file): * doc/misc/gnus.texi (Don't Panic): (Oort Gnus): * doc/misc/htmlfontify.texi (Non-interactive): * doc/misc/mh-e.texi (More About MH-E): * doc/misc/pcl-cvs.texi (Entering PCL-CVS): * doc/misc/tramp.texi (Remote processes): * doc/misc/vhdl-mode.texi (Indentation Calculation): (Custom Indentation Functions): Use @pxref when inside parens.
* ; Fix typosStefan Kangas2021-11-121-2/+2
|
* Fix flymake example backend conditions in the manualLars Ingebrigtsen2021-10-251-1/+1
| | | | | * doc/misc/flymake.texi (An annotated example backend): Also react to `signal' process statuses (bug#51380).
* * doc/misc/flymake.texi: Fix @include docstyle.texiJoão Távora2021-09-151-1/+1
|
* * doc/misc/flymake.texi: Avoid xrefs in @copying.Glenn Morris2021-09-141-17/+20
| | | | | This isn't really what @copying is for, and doesn't work with makeinfo 4.13.
* Fix recent changes in Flymake manualEli Zaretskii2021-09-141-23/+23
| | | | | | | * doc/misc/flymake.texi: Fix typos. Downcase the first word of each index entry, for more reliable sorting. (Starting Flymake, Finding diagnostics, Troubleshooting): Fix typos.
* Re-organize and rewrite parts of the Flymake manualJoão Távora2021-09-141-92/+125
| | | | | | | | | | | bug#50244 * doc/misc/flymake.texi (Starting Flymake): New section. (Finding diagnostics): New section, now contains info previously in "Listing diagnostics" (Mode line status): Renamed from "Mode-line syntax check status" (Troubleshooting): Renamed from "Backend exceptions". (Flymake error types): Tweak phrasing.
* Add support for project-wide diagnostics in Flymake (bug#50244)João Távora2021-09-141-11/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done with two new concepts: "foreign diagnostics" and "list-only diagnostics". The manual has been updated with a description of these new concepts. * doc/misc/flymake.texi (Flymake utility functions): Explain creation of foreign diagnostics. (Foreign and list-only diagnostics): New subsection. (Listing diagnostics): New subsection. * lisp/progmodes/flymake.el (Version): Bump to 1.2.1 (project): Require project. (flymake--diag): Add new slots 'orig-beg' and 'orig-end'. Rename 'buffer' slot to 'locus'. (flymake-make-diagnostic): Rework docstring. Accept stringp LOCUS arg. (flymake-diagnostic-beg, flymake-diagnostic-end) (flymake-diagnostic-buffer): Simplify definition. (flymake--equal-diagnostic-p): New helper (flymake--highlight-line): Rework. Accept FOREIGN arg. (flymake--state): Work docstring. Add new slot 'foreign-diags' (flymake--handle-report): Call flymake--update-diagnostics-listings. (flymake--handle-report): New helper. (flymake--mode): Forward declare. (flymake--handle-report): Rework for foreign diagnostics. (flymake-mode): When turning on, notice any Flymake diagnostics for current buffer. When turning off update diagnostics listings. (flymake-kill-buffer-hook): Turn off flymake explicitly before killing. (flymake--mode-line-counter): Use flymake-diagnostics to collect diagnostics. (flymake-show-diagnostic): Visit buffer of file-specific diagnostic. (flymake--tabulated-entries-1): New helper extracted from flymake--diagnostic-buffer-entries. (flymake--diagnostics-buffer-entries): Rework. (flymake--diagnostics-base-tabulated-list-format): New helper. (flymake--diagnostics-buffer-name): Adjust. (flymake-list-only-diagnostics): New variable. (flymake--project-diagnostic-list-project): New variable. (flymake--clear-list-only-diagnostics): New helper. (flymake-project-diagnostics-mode): New major mode. (flymake--project-diagnostics) (flymake--project-diagnostics-entries) (flymake--project-diagnostics-buffer): New helpers. (flymake-show-project-diagnostics): New command. (flymake--update-diagnostics-listings): New helper. (flymake-show-buffer-diagnostics): Renamed from flymake-diagnostics-buffer. * etc/NEWS: Mention change.
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Make Flymake mode-line indicator customizable (bug#33740)João Távora2020-12-311-0/+7
| | | | | | | | | | | | | | | | | | | * lisp/progmodes/flymake.el (flymake-mode): Use flymake-mode-line-format. (flymake--mode-line-format): Remove. (flymake-mode-line-counter-format, flymake-mode-line-format): New defcustom. (flymake-mode-line-title, flymake-mode-line-exception) (flymake-mode-line-counters, flymake-error-counter) (flymake-warning-counter, flymake-note-counter): New variables. (flymake--mode-line-title, flymake--mode-line-exception) (flymake--mode-line-counters, flymake--mode-line-counter): New helpers. * doc/misc/flymake.texi (Customizable variables): Mention flymake-mode-line-format and flymake-mode-line-counter-format * etc/NEWS: Mention Flymake's customizable mode-line.
* Revert "Allow the flymake mode line indicator to be customized"João Távora2020-12-291-3/+0
| | | | | | | | This reverts commit 37049ee78c4576d340781179317e6cbaaf73b6c3. It's not ready to be used, contains some fundamental errors. See bug#33740.
* Allow the flymake mode line indicator to be customizedLars Ingebrigtsen2020-12-291-0/+3
| | | | | | | | * doc/misc/flymake.texi (Customizable variables): Mention it. * lisp/progmodes/flymake.el (flymake-mode-line-indicator-format): New variable (bug#33740). (flymake--mode-line-format): Use it.
* ; Fix @pxref in last change to flymake.texiBasil L. Contovounesios2020-12-181-1/+2
|
* Document that flymake-diag-region saves match dataJoão Távora2020-12-181-1/+1
| | | | | | | | | | | | The typical use of this function (which is parsing compiler diagnostic messages), lends itself too easily to one the problems in bug#29193. Make it a friendlier API. * doc/misc/flymake.texi (Flymake utility functions): Document that flymake-diag-region saves match data. * lisp/progmodes/flymake.el (flymake-diag-region): Document that this saves match data.
* * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug#43758)Eli Zaretskii2020-10-021-1/+1
|
* ; Fix some trivial typosStefan Kangas2020-09-211-1/+1
|
* Revert "* doc/misc/flymake.texi (An annotated example backend): Typo fix."Andrea Corallo2020-07-111-1/+1
| | | | This reverts commit b1ad0380d2372b8df35ff603b8918d22c27ad964.
* * doc/misc/flymake.texi (An annotated example backend): Typo fix.Andrea Corallo2020-07-111-1/+1
|
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Spelling fixesPaul Eggert2019-12-091-1/+1
|
* Allow flymake diagnostic types to have shorter namesJoão Távora2019-11-021-0/+5
| | | | | | | | | | | | | | | | Eglot, a third-party package which uses Flymake, has its own diagnostic types such as 'eglot-error', 'eglot-warning', etc... While not being too long, they will not fit in the type column of the "list all diagnostics" buffer. This commit allows diagnostic types to have user-defined names and also assigns names to the default categories. * doc/misc/flymake.texi (Flymake error types): Describe flymake-type-name prop. * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Use type names. (flymake-error, flymake-warning, flymake-note): Give these diagnostic categories default type names.
* Clarify consequences of mismatching Flymake diagnostic buffersJoão Távora2019-11-021-1/+3
| | | | | | | | | | Fix bug#34418. * doc/misc/flymake.texi (Flymake utility functions): Add note to flymake-make-diagnostic. * lisp/progmodes/flymake.el (flymake--handle-report): Discard diagnostics from other buffers.
* * lisp/progmodes/flymake.el: Obsolete variable flymake-start-on-newlineJuri Linkov2019-05-071-8/+0
| | | | | | | | | (flymake-start-syntax-check-on-newline): Mark it obsolete. (flymake-after-change-function): Remove obsolete variable flymake-start-syntax-check-on-newline (temporarily renamed to flymake-start-on-newline). (Bug#34294) * doc/misc/flymake.texi: Remove obsolete variable.
* * lisp/progmodes/flymake.el: Rename flymake-start-on-newline (bug#34294)Juri Linkov2019-05-051-2/+2
| | | | | | | | | * lisp/progmodes/flymake.el (flymake-start-on-newline): Rename from flymake-start-syntax-check-on-newline. (flymake-start-syntax-check-on-newline): Define obsolete alias. (flymake-no-changes-timeout): Add customization option nil. * doc/misc/flymake.texi (Using Flymake): Rename variable.
* Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Fix copyright years by handPaul Eggert2019-01-011-1/+1
| | | | | | | | | | These are dates that admin/update-copyright did not update, or updated incorrectly.
* | Fix @include directive in Flymake doc againJoão Távora2018-07-281-1/+1
| | | | | | | | | | | | | | Problem was reintroduced by commit titled: "Mention use of C-h . (display-local-help) in Flymake manual" * doc/misc/flymake.texi: Don't @include a relative path.
* | Mention use of C-h . (display-local-help) in Flymake manualJoão Távora2018-06-251-2/+8
| | | | | | | | | | | | Fixes: Bug#31921 * doc/misc/flymake.texi (Using Flymake): Mention display-local-help.
* | Flymake and backends exchange hints abouts changed regionsJoão Távora2018-06-151-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/flymake.el (flymake--delete-own-overlays): Accept BEG and END. Rename from flymake-delete-own-overlays. (flymake-diagnostic-functions): Describe :region, :recent-changes in docstring. (flymake--handle-report): Accept REGION. (flymake--run-backend): Accept optional ARGS to pass to backend fn. (flymake--recent-changes): New buffer-local variable. (flymake-start): Call flymake--run-backend with recent changes. (flymake-mode): Initialize flymake--recent-changes. Call flymake--delete-own-overlays. (flymake-after-change-function): Collect recent changes. * doc/misc/flymake.texi (Backend functions): Describe :recent-changes and :region. * etc/NEWS (Flymake): Mention improvements in backend communication.
* | Describe flymake-start-on-save-buffer in manual and NEWSJoão Távora2018-06-081-0/+8
| | | | | | | | | | | | | | | | | | Fixes: bug#31738 * doc/misc/flymake.texi (Using Flymake, Customizable variables): Mention flymake-start-on-save-buffer. * etc/NEWS: Mention flymake-start-on-save-buffer.
* | Obsolete Flymake's flymake-diagnostic-types-alistJoão Távora2018-06-051-75/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That varaiable was an association between symbols and properties, effecively duplicating symbol's property lists. It is simpler to just put properties on symbols. Backward compatibility to the old variable has been kept. * doc/misc/flymake.texi (Flymake error types): Don't mention flymake-diagnostic-types-alist. (Flymake error types): Rework section. (Backend functions): Refill a paragraph. (Flymake utility functions): Don't mention flymake-diagnostic-types-alist. (Proc customization variables): Don't mention flymake-diagnostic-types-alist. * etc/NEWS: Mention obsoletion of flymake-diagnostic-types-alist. * lisp/progmodes/flymake-proc.el (flymake-proc--diagnostics-for-pattern): Don't use flymake-diagnostic-types-alist. * lisp/progmodes/flymake.el: Rewrite commentary. (flymake-make-diagnostic, flymake-mode, flymake-goto-next-error) (flymake-goto-prev-error): Don't mention flymake-diagnostic-types-alist in docstring. (flymake-diagnostic-types-alist): Make obsolete. (:error, :warning, :note): Put flymake-category in these symbols. (flymake-error, flymake-warning, flymake-note): Put `flymake-bitmap', not `bitmap' in these symbols. (flymake--lookup-type-property, flymake--highlight-line): Rewrite. Honor flymake-diagnostic-types-alist for backward compatibility. * lisp/progmodes/python.el (python-flymake-msg-alist): Don't mention flymake-diagnostic-types-alist.
* | Update version information for Flymake package and manualJoão Távora2018-06-051-3/+3
|/ | | | | | | | | | * doc/misc/flymake.texi: Update date and version. Make myself the first author. * lisp/progmodes/flymake.el: Update Maintainer and Version fields. * lisp/progmodes/flymake-proc.el (flymake-proc--diagnostics-for-pattern): Update Maintainer and Version fields.
* Fix copyright years by handPaul Eggert2018-01-011-1/+1
| | | | | These are dates that admin/update-copyright did not update, or updated incorrectly.
* Fix some duplicate word typosGlenn Morris2017-10-281-1/+1
| | | | | | * doc/misc/ede.texi (ede-target): * doc/misc/flymake.texi (Using Flymake): * doc/misc/gnus.texi (The namazu Engine): Fix typos.