[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint f6d0fed 15/21: Describe the new file-specific wa
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/relint f6d0fed 15/21: Describe the new file-specific warnings |
Date: |
Sun, 3 May 2020 11:13:38 -0400 (EDT) |
branch: externals/relint
commit f6d0fedd9bd876c741de17b7bb3db29983c338ab
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Describe the new file-specific warnings
---
README | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/README b/README
index f816349..34a7b5b 100644
--- a/README
+++ b/README
@@ -147,6 +147,22 @@ skip-syntax-backward.
A pattern that only matches a non-empty string occurs right after
an end-of-text anchor (\'). This combination can never match.
+ - Use \` instead of ^ in file-matching regexp
+ - Use \' instead of $ in file-matching regexp
+
+ In a regexp used for matching a file name, newlines are usually
+ not relevant. Line-start and line-end anchors should therefore
+ probably be replaced with string-start and string-end,
+ respectively. Otherwise, the regexp may fail for file names that
+ do contain newlines.
+
+ - Possibly unescaped '.' in file-matching regexp
+
+ In a regexp used for matching a file name, a naked dot is usually
+ more likely to be a mistake (missing escaping backslash) than an
+ actual intent to match any character except newline, since literal
+ dots are very common in file name patterns.
+
- Uncounted repetition
The construct A\{,\} repeats A zero or more times which was
- [elpa] externals/relint 96e26a5 02/21: Check keyword arguments :regexp and :regex, (continued)
- [elpa] externals/relint 96e26a5 02/21: Check keyword arguments :regexp and :regex, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint ba7b747 01/21: Display the number of files found in relint-directory, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint b694c09 07/21: Check split ASCII-raw ranges in rx correctly, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 12a2b0f 08/21: Use regexp in suppression comments, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 9259a5c 03/21: Check some :value parameters in defcustom :type clauses, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint ac75b62 04/21: Check rx-to-string, and the 'regexp' and 'eval' subforms, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 09ef3df 05/21: Describe the new xr wrapped subsumption warning, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint eb178d5 06/21: Check assignments to imenu-generic-expression, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 2eba4d7 09/21: Describe new bol/eol/eos warnings, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint cf2a2ae 14/21: Do file-specific checks on arguments to known functions, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint f6d0fed 15/21: Describe the new file-specific warnings,
Mattias Engdegård <=
- [elpa] externals/relint 1bf7f25 13/21: Check auto-mode-alist with file-specific checks, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 4fcc322 16/21: Delay call to file-relative-name until needed, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 326cfe2 11/21: Check calls to directory-files(-and-attributes), Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 5d3f78d 19/21: Update xr messages ("repetition" changed to "option"), Mattias Engdegård, 2020/05/03
- [elpa] externals/relint a50ed0b 20/21: Don't escape printable chars in rx warnings, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint cdd65ae 10/21: Add section about how relint works, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 636e172 12/21: Add filename-specific checks (unused so far), Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 008fad0 17/21: Repair relint-current-buffer after thunking file parameter, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 8f49686 18/21: Move file-specific checks to xr, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint a001a05 21/21: Increment version to 1.16, Mattias Engdegård, 2020/05/03