diff --git a/.gitignore b/.gitignore index a09b3e0..f01faf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /emacs-flycheck-31.tar.gz +/emacs-flycheck-32.tar.gz +/emacs-flycheck-34.1.tar.gz +/emacs-flycheck-35.0.tar.gz diff --git a/emacs-flycheck.spec b/emacs-flycheck.spec index 51bd6ae..6f9f1b5 100644 --- a/emacs-flycheck.spec +++ b/emacs-flycheck.spec @@ -1,13 +1,13 @@ %global pkg flycheck Name: emacs-%{pkg} -Version: 31 -Release: 4%{?dist} +Version: 35.0 +Release: 2%{?dist} Summary: On the fly syntax checking for GNU Emacs -License: GPLv3+ +License: GPL-3.0-or-later URL: https://www.flycheck.org/ -Source0: https://github.com/%{pkg}/%{pkg}/archive/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/%{pkg}/%{pkg}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{pkg}-init.el BuildRequires: emacs @@ -49,6 +49,40 @@ install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.e %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 35.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jul 12 2025 Mohamed El Morabity - 35.0-1 +- Update to 35.0 + +* Thu Jan 16 2025 Fedora Release Engineering - 34.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 17 2024 Fedora Release Engineering - 34.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Mar 01 2024 Mohamed El Morabity - 34.1-1 +- Update to 34.1 +- Migrate to SPDX license + +* Wed Jan 24 2024 Fedora Release Engineering - 32-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 32-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 32-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 32-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 32-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Mar 30 2022 Mohamed El Morabity - 32-1 +- Update to 32 + * Thu Jan 20 2022 Fedora Release Engineering - 31-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/flycheck-init.el b/flycheck-init.el index 6249193..df7016f 100644 --- a/flycheck-init.el +++ b/flycheck-init.el @@ -1,27 +1,55 @@ (autoload 'flycheck-manual "flycheck" "\ -Open the Flycheck manual. +Open the Flycheck manual." t) -\(fn)" t nil) +(autoload 'flycheck-quick-help "flycheck" "\ +Display brief Flycheck help." t) (autoload 'flycheck-mode "flycheck" "\ -Minor mode for on-the-fly syntax checking. - -When called interactively, toggle `flycheck-mode'. With prefix -ARG, enable `flycheck-mode' if ARG is positive, otherwise disable -it. - -When called from Lisp, enable `flycheck-mode' if ARG is omitted, -nil or positive. If ARG is `toggle', toggle `flycheck-mode'. -Otherwise behave as if called interactively. +Flycheck is a minor mode for on-the-fly syntax checking. In `flycheck-mode' the buffer is automatically syntax-checked using the first suitable syntax checker from `flycheck-checkers'. Use `flycheck-select-checker' to select a checker for the current buffer manually. -\\{flycheck-mode-map} +If you run into issues, use `\\[flycheck-verify-setup]' to get help. -\(fn &optional ARG)" t nil) +Flycheck supports many languages out of the box, and many +additional ones are available on MELPA. Adding new ones is very +easy. Complete documentation is available online at URL +`https://www.flycheck.org/en/latest/'. Please report issues and +request features at URL `https://github.com/flycheck/flycheck'. + +Flycheck displays its status in the mode line. In the default +configuration, it looks like this: + +`FlyC' This buffer has not been checked yet. +`FlyC*' Flycheck is running. Expect results soon! +`FlyC:0' Last check resulted in no errors and no warnings. +`FlyC:3|5' This buffer contains three errors and five warnings. + Use `\\[flycheck-list-errors]' to see the list. +`FlyC-' Flycheck doesn't have a checker for this buffer. + +You may also see the following icons: +`FlyC!' The checker crashed. +`FlyC.' The last syntax check was manually interrupted. +`FlyC?' The checker did something unexpected, like exiting with 1 + but returning no errors. + +The following keybindings are available in `flycheck-mode': + +\\{flycheck-mode-map} +\(you can change the prefix by customizing +`flycheck-keymap-prefix') + +If called interactively, enable Flycheck mode if ARG is positive, +and disable it if ARG is zero or negative. If called from Lisp, +also enable the mode if ARG is omitted or nil, and toggle it if +ARG is ‘toggle’; disable the mode otherwise. + +\(fn &optional ARG)" t) + +(put 'global-flycheck-mode 'globalized-minor-mode t) (defvar global-flycheck-mode nil "\ Non-nil if Global Flycheck mode is enabled. @@ -36,14 +64,18 @@ or call the function `global-flycheck-mode'.") (autoload 'global-flycheck-mode "flycheck" "\ Toggle Flycheck mode in all buffers. With prefix ARG, enable Global Flycheck mode if ARG is positive; -otherwise, disable it. If called from Lisp, enable the mode if -ARG is omitted or nil. +otherwise, disable it. + +If called from Lisp, toggle the mode if ARG is `toggle'. +Enable the mode if ARG is nil, omitted, or is a positive number. +Disable the mode if ARG is a negative number. + +Flycheck mode is enabled in all buffers where `flycheck-mode-on-safe' +would do it. -Flycheck mode is enabled in all buffers where -`flycheck-mode-on-safe' would do it. See `flycheck-mode' for more information on Flycheck mode. -\(fn &optional ARG)" t nil) +\(fn &optional ARG)" t) (autoload 'flycheck-define-error-level "flycheck" "\ Define a new error LEVEL with PROPERTIES. @@ -53,7 +85,8 @@ The following PROPERTIES constitute an error level: `:severity SEVERITY' A number denoting the severity of this level. The higher the number, the more severe is this level compared to other - levels. Defaults to 0. + levels. Defaults to 0; info is -10, warning is 10, and + error is 100. The severity is used by `flycheck-error-level-<' to determine the ordering of errors according to their levels. @@ -79,23 +112,31 @@ The following PROPERTIES constitute an error level: property for error level categories is `priority', to influence the stacking of multiple error level overlays. -`:fringe-bitmap BITMAP' +`:fringe-bitmap BITMAPS' A fringe bitmap symbol denoting the bitmap to use for fringe - indicators for this level. See Info node `(elisp)Fringe - Bitmaps' for more information about fringe bitmaps, - including a list of built-in fringe bitmaps. + indicators for this level, or a cons of two bitmaps (one for + narrow fringes and one for wide fringes). See Info node + `(elisp)Fringe Bitmaps' for more information about fringe + bitmaps, including a list of built-in fringe bitmaps. `:fringe-face FACE' A face symbol denoting the face to use for fringe indicators for this level. +`:margin-spec SPEC' + A display specification indicating what to display in the + margin when `flycheck-indication-mode' is `left-margin' or + `right-margin'. See Info node `(elisp)Displaying in the + Margins'. If omitted, Flycheck generates an image spec from + the fringe bitmap. + `:error-list-face FACE' A face symbol denoting the face to use for messages of this level in the error list. See `flycheck-list-errors'. -\(fn LEVEL &rest PROPERTIES)" nil nil) +\(fn LEVEL &rest PROPERTIES)") -(function-put 'flycheck-define-error-level 'lisp-indent-function '1) +(function-put 'flycheck-define-error-level 'lisp-indent-function 1) (autoload 'flycheck-define-command-checker "flycheck" "\ Define SYMBOL as syntax checker to run a command. @@ -167,6 +208,21 @@ of command checkers is `flycheck-sanitize-errors'. If this property is given and has a non-nil value, send the contents of the buffer on standard input. + Some checkers that support reading from standard input have + a separate flag to indicate the name of the file whose + contents are being passed on standard input (typically + `stdin-filename'). In that case, use the `(option)' form in + `:command' to pass the value of variable `buffer-file-name' + when the current buffer has a file name (that is, + use `option \"--stdin-file-name\" buffer-file-name'). + + For buffers not backed by files, checkers that support input + on stdin typically report a file name like `-' or `'. + Make sure your error parser or patterns expect these file + names (for example, use `(or \"\" (file-name))') or + call `flycheck-remove-error-file-names' in a custom + `:error-filter'. + Defaults to nil. Note that you may not give `:start', `:interrupt', and @@ -174,11 +230,11 @@ Note that you may not give `:start', `:interrupt', and `:verify' function, though, whose results will be appended to the default `:verify' function of command checkers. -\(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil nil) +\(fn SYMBOL DOCSTRING &rest PROPERTIES)") -(function-put 'flycheck-define-command-checker 'lisp-indent-function '1) +(function-put 'flycheck-define-command-checker 'lisp-indent-function 1) -(function-put 'flycheck-define-command-checker 'doc-string-elt '2) +(function-put 'flycheck-define-command-checker 'doc-string-elt 2) (autoload 'flycheck-def-config-file-var "flycheck" "\ Define SYMBOL as config file variable for CHECKER, with default FILE-NAME. @@ -196,7 +252,7 @@ argument to `flycheck-define-checker'. \(fn SYMBOL CHECKER &optional FILE-NAME &rest CUSTOM-ARGS)" nil t) -(function-put 'flycheck-def-config-file-var 'lisp-indent-function '3) +(function-put 'flycheck-def-config-file-var 'lisp-indent-function 3) (autoload 'flycheck-def-option-var "flycheck" "\ Define SYMBOL as option variable with INIT-VALUE for CHECKER. @@ -213,9 +269,9 @@ Use this together with the `option', `option-list' and \(fn SYMBOL INIT-VALUE CHECKERS DOCSTRING &rest CUSTOM-ARGS)" nil t) -(function-put 'flycheck-def-option-var 'lisp-indent-function '3) +(function-put 'flycheck-def-option-var 'lisp-indent-function 3) -(function-put 'flycheck-def-option-var 'doc-string-elt '4) +(function-put 'flycheck-def-option-var 'doc-string-elt 4) (autoload 'flycheck-define-checker "flycheck" "\ Define SYMBOL as command syntax checker with DOCSTRING and PROPERTIES. @@ -226,8 +282,12 @@ SYMBOL with `flycheck-def-executable-var'. \(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil t) -(function-put 'flycheck-define-checker 'lisp-indent-function '1) +(function-put 'flycheck-define-checker 'lisp-indent-function 1) -(function-put 'flycheck-define-checker 'doc-string-elt '2) +(function-put 'flycheck-define-checker 'doc-string-elt 2) -(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "flycheck" '("flycheck-" "list-flycheck-errors" "help-flycheck-checker-d"))) +(register-definition-prefixes "flycheck" '("flycheck-" "help-flycheck-checker-d" "list-flycheck-errors")) + +(register-definition-prefixes "flycheck-buttercup" '("flycheck-buttercup-format-error-list")) + +(register-definition-prefixes "flycheck-ert" '("flycheck-er")) diff --git a/sources b/sources index 47f5ed5..e4558b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (emacs-flycheck-31.tar.gz) = e7b3707f38a913d483109cf0e581d41053363e6fc0b849805d13076cc30eca19ec875c44590c3ffb383b73670c6763582f54a2df5502f287ec04b80a542182ec +SHA512 (emacs-flycheck-35.0.tar.gz) = 56b9bd231a711b05b87dac1bb191a796957edfc1ea9e0db63cccff9ba2259044097b489d660e0171483bfbef788ae4eeb3f78210730304fc0f50ce22f2199ddb