From b45916d83a52271553fd4af194fd365cf060b706 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Wed, 30 Mar 2022 11:48:37 +0200 Subject: [PATCH] Update to 32 --- .gitignore | 1 + emacs-flycheck.spec | 7 +++-- flycheck-init.el | 66 ++++++++++++++++++++++++++++++++------------- sources | 2 +- 4 files changed, 55 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index a09b3e0..eaaee0c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /emacs-flycheck-31.tar.gz +/emacs-flycheck-32.tar.gz diff --git a/emacs-flycheck.spec b/emacs-flycheck.spec index 8c48f34..5d5b75c 100644 --- a/emacs-flycheck.spec +++ b/emacs-flycheck.spec @@ -1,8 +1,8 @@ %global pkg flycheck Name: emacs-%{pkg} -Version: 31 -Release: 3%{?dist} +Version: 32 +Release: 1%{?dist} Summary: On the fly syntax checking for GNU Emacs License: GPLv3+ @@ -49,6 +49,9 @@ install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.e %changelog +* Wed Mar 30 2022 Mohamed El Morabity - 32-1 +- Update to 32 + * Wed Jul 21 2021 Fedora Release Engineering - 31-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/flycheck-init.el b/flycheck-init.el index 6249193..7559b78 100644 --- a/flycheck-init.el +++ b/flycheck-init.el @@ -1,28 +1,52 @@ (autoload 'flycheck-manual "flycheck" "\ -Open the Flycheck manual. - -\(fn)" t nil) +Open the Flycheck manual." t nil) (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. +If you run into issues, use `\\[flycheck-verify-setup]' to get help. + +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 doesn't have a checker for this buffer. +`FlyC*' Flycheck is running. Expect results soon! +`FlyC:3|2' This buffer contains three warnings and two errors. + Use `\\[flycheck-list-errors]' to see the list. + +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 nil) +(put 'global-flycheck-mode 'globalized-minor-mode t) + (defvar global-flycheck-mode nil "\ Non-nil if Global Flycheck mode is enabled. See the `global-flycheck-mode' command @@ -79,16 +103,24 @@ 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'. @@ -229,5 +261,3 @@ SYMBOL with `flycheck-def-executable-var'. (function-put 'flycheck-define-checker 'lisp-indent-function '1) (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"))) diff --git a/sources b/sources index 47f5ed5..4e7f610 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (emacs-flycheck-31.tar.gz) = e7b3707f38a913d483109cf0e581d41053363e6fc0b849805d13076cc30eca19ec875c44590c3ffb383b73670c6763582f54a2df5502f287ec04b80a542182ec +SHA512 (emacs-flycheck-32.tar.gz) = 3e89238ee6d2bd3e51cd5df805969366fbb77c3df470a12e697282535e372cbea1d3e907f1c33952e5821c05c62ce758103d6421a2add9be5347f839806f831b