emacs/etc
João Távora 44824d616b Add support for project-wide diagnostics in Flymake (bug#50244)
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.
2021-09-13 19:03:38 +01:00
..
charsets Update copyright year to 2021 2021-01-01 01:13:56 -08:00
e Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
forms Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gnus
images Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
nxml Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
org Update copyright year to 2021 2021-01-01 01:13:56 -08:00
refcards ; Fix typos 2021-09-03 13:05:32 +02:00
schema Update rnc to use Open Document's Relax-NG schema to version 1.3 2021-03-25 11:49:18 -04:00
srecode Update copyright year to 2021 2021-01-01 01:13:56 -08:00
themes Change the `region' face in the Wombat theme 2021-08-12 15:34:36 +02:00
tutorials ; * etc/tutorials/TUTORIAL.sv: Fix typo in last change. 2021-05-27 14:36:33 +02:00
AUTHORS Prepare the Emacs 27.2 release. 2021-03-18 08:43:54 -04:00
CALC-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
compilation.txt Remove outline-cycle-minor-mode and outline-cycle-highlight-minor-mode 2021-03-07 20:52:39 +02:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
DEBUG Update copyright year to 2021 2021-01-01 01:13:56 -08:00
DEVEL.HUMOR Remove an unfunny joke from DEVEL.HUMOR 2019-11-01 13:54:51 +01:00
DISTRIB * etc/DISTRIB: Refer to gnu.org instead of the deleted file etc/GNU. 2021-09-04 09:08:54 +02:00
edt-user.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-buffer.gdb Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-mail.desktop Hide emacs-mail.desktop, emacsclient-mail.desktop from menus 2021-07-02 13:09:18 +02:00
emacs.desktop Drop redundant keywords in .desktop files. 2021-08-11 14:05:25 +02:00
emacs.icon
emacs.metainfo.xml Rename emacs.appdata.xml to emacs.metainfo.xml and add more data 2021-05-29 04:15:28 +02:00
emacs.service * etc/emacs.service: 2020-12-14 17:59:58 +01:00
emacsclient-mail.desktop Hint that emacsclient.desktop should match a search for “emacsclient” 2021-08-11 14:05:14 +02:00
emacsclient.desktop Drop redundant keywords in .desktop files. 2021-08-11 14:05:25 +02:00
enriched.txt Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ERC-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ETAGS.EBNF Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ETAGS.README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
future-bug
gnus-tut.txt Update copyright year to 2021 2021-01-01 01:13:56 -08:00
grep.txt Remove outline-cycle-minor-mode and outline-cycle-highlight-minor-mode 2021-03-07 20:52:39 +02:00
HELLO Add input methods for Lakota 2021-06-20 14:04:21 +03:00
HISTORY Prepare the Emacs 27.2 release. 2021-03-18 08:43:54 -04:00
JOKES
MACHINES * etc/MACHINES: Document that we support AArch64 with macOS. 2021-01-31 19:50:42 +01:00
MH-E-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS Add support for project-wide diagnostics in Flymake (bug#50244) 2021-09-13 19:03:38 +01:00
NEWS.1-17 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.18 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.19 * etc/NEWS.19: Add entry for 'easy-menu-define'. 2021-02-21 10:49:07 +01:00
NEWS.20 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.21 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.22 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.23 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.24 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.25 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.26 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.27 Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
NEXTSTEP Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NXML-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ORG-NEWS Fix typos 2021-02-18 16:50:55 +01:00
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS Mention problems with synthetic fonts on macOS 2021-08-21 15:03:27 +02:00
ps-prin0.ps Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ps-prin1.ps Update copyright year to 2021 2021-01-01 01:13:56 -08:00
publicsuffix.txt Update publicsuffix.txt from upstream 2021-09-03 10:40:57 +02:00
README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rgb.txt
ses-example.ses Update copyright year to 2021 2021-01-01 01:13:56 -08:00
spook.lines Add more spook.lines 2019-07-13 05:09:45 +02:00
TERMS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
TODO ; * etc/TODO: Fix typo. 2021-08-21 10:37:26 +01:00
w32-feature.el Allow evaluation of tests from local source repository 2021-01-10 21:51:58 +00:00
yow.lines Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2021 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)