branch: externals/relint
commit 9259a5c5e82f75aa4efd20746c6d0887acd64e0f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check some :value parameters in defcustom :type clauses
For example, this catches
:type '(string :value "some bad regexp")
---
relint.el |
branch: externals/relint
commit 09ef3dfa9c31317bf508ab18eb0d8f1e31c0b568
Author: Mattias Engdegård
Commit: Mattias Engdegård
Describe the new xr wrapped subsumption warning
---
README | 11 +++
1 file changed, 11 insertions(+)
diff --git a/README b/README
index 944e665..3ca9499
branch: externals/relint
commit 5d3f78da32b03b8926076c10426366e07fd0f318
Author: Mattias Engdegård
Commit: Mattias Engdegård
Update xr messages ("repetition" changed to "option")
---
README | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/README b/README
branch: externals/relint
commit f6d0fedd9bd876c741de17b7bb3db29983c338ab
Author: Mattias Engdegård
Commit: Mattias Engdegård
Describe the new file-specific warnings
---
README | 16
1 file changed, 16 insertions(+)
diff --git a/README b/README
index f816349..34a7b5b
branch: externals/relint
commit 96e26a5f8f3967cf5b1e181831e94860f2be6c74
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check keyword arguments :regexp and :regex
---
relint.el | 8 +++-
test/2.elisp| 4
test/2.expected | 6 ++
3 files changed, 17 insertions(+),
branch: externals/relint
commit a001a05a1d692be22f7fac9233e8cc0102aebd30
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.16
Require xr 1.19
---
relint.el | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
branch: externals/relint
commit eb178d5f9d529ccc29785e277683faa661e73be4
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check assignments to imenu-generic-expression
---
relint.el | 16 +++-
test/9.elisp| 5 +
test/9.expected | 3 +++
3 files changed, 23
branch: externals/relint
commit cf2a2ae075f132aab97a32fc4d0c8921068217bb
Author: Mattias Engdegård
Commit: Mattias Engdegård
Do file-specific checks on arguments to known functions
This includes directory-files, directory-files-and-attributes,
directory-files-recursively,
branch: externals/relint
commit a50ed0b3c15339ae3979d3aa2ac61bf8bdf7a160
Author: Mattias Engdegård
Commit: Mattias Engdegård
Don't escape printable chars in rx warnings
---
relint.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
index
branch: externals/relint
commit 326cfe24cd110e4cf7686b4a154c7bdb55a727e8
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check calls to directory-files(-and-attributes)
---
relint.el | 4
test/2.elisp| 5 -
test/2.expected | 49
branch: externals/relint
commit b694c091dcb36ed4fd3a1f0d8f4a14cf9d5f9b74
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check split ASCII-raw ranges in rx correctly
Also make sure not to confuse raw bytes and U+0080-U+00FF.
---
relint.el| 44
branch: externals/relint
commit 12a2b0fafdba26526e2b166a322a6171fac19cc4
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use regexp in suppression comments
This adds flexibility, in particular for coping with different quoting
styles.
---
README | 6 +++---
branch: externals/relint
commit ac75b6211e1a9ee0e173641981310550d5193dd3
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check rx-to-string, and the 'regexp' and 'eval' subforms
This includes special treatment for backquoted forms.
---
relint.el| 54
branch: externals/relint
commit 4fcc3220975815471242dff222d9316d58920c53
Author: Mattias Engdegård
Commit: Mattias Engdegård
Delay call to file-relative-name until needed
ENCODE_FILE and DECODE_FILE, present in many file and filename
manipulation primitives, are quite expensive
branch: externals/relint
commit 2eba4d72e8592cd0891ee5652c5bdd323c72f5ea
Author: Mattias Engdegård
Commit: Mattias Engdegård
Describe new bol/eol/eos warnings
---
README | 12
1 file changed, 12 insertions(+)
diff --git a/README b/README
index 7a355c4..777d9d0 100644
---
branch: externals/xr
commit 35dbbebc86385e2d89668f42f4997a355e17ec04
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.19
---
xr.el | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 560cfed..6bbf5e7 100644
--- a/xr.el
+++
branch: externals/relint
commit 1bf7f25a9fff55e177734ba14b41736ce77f9862
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check auto-mode-alist with file-specific checks
This also includes additions to auto-mode-alist via add-to-list or setq.
---
relint.el| 55
branch: externals/relint
commit 008fad0182055fde788b1df8757db49a299291b8
Author: Mattias Engdegård
Commit: Mattias Engdegård
Repair relint-current-buffer after thunking file parameter
---
relint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
branch: externals/relint
commit 8f49686f268dc10e1074f1c344084e3f2bafc7ee
Author: Mattias Engdegård
Commit: Mattias Engdegård
Move file-specific checks to xr
---
relint.el| 48 ++--
test/12.expected | 24
2 files
branch: externals/relint
commit cdd65ae90343eec0774a86741d8104a524b1aad8
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add section about how relint works
---
README | 36 +++-
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/README
branch: externals/relint
commit 636e1725f985c6cf30de04cf1396a413dd89a598
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add filename-specific checks (unused so far)
This includes checks for ^ and $ (use \` and \' instead),
and for . (should probably be \.)
---
relint.el |
mattiase pushed a change to branch externals/relint.
from 83e677d Increment version to 1.15
new ba7b747 Display the number of files found in relint-directory
new 96e26a5 Check keyword arguments :regexp and :regex
new 9259a5c Check some :value parameters in
branch: externals/relint
commit ba7b7474ae08968d5a0341b9ce79757848ef759c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Display the number of files found in relint-directory
---
relint.el | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/relint.el
branch: externals/xr
commit d752aabeae1c5f29fff810f43a3f96f34366603f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use "option" instead of "repetition" in diagnostics for ? and ??
---
xr-test.el | 17
xr.el | 94
branch: externals/xr
commit d0b09e1b49bc47641580604c34369d4fb0875a38
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add filename-specific checks
These were moved from relint since they arguably belong here.
xr-lint now takes an optional PURPOSE argument.
---
xr-test.el |
branch: externals/xr
commit f3b61ef7450afd7726e509509f5b3042af23a051
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix false negative in empty string repetition check
We forgot to check for non-greedy inner repetitions.
---
xr-test.el | 14 ++
xr.el | 4
branch: externals/xr
commit 7160235fe06fdbd8814d9384f4239c9a6e8ad809
Author: Mattias Engdegård
Commit: Mattias Engdegård
Refactor repetition subsumption check to avoid code duplication
---
xr-test.el | 2 +-
xr.el | 52 +---
2 files
branch: externals/xr
commit c98bb7bcf319bca7c42038c51a92ed78f5e439d7
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle whitespace and word syntax subsumption in one place
Use the more elaborate code already in place for charsets.
---
xr.el | 33
branch: externals/xr
commit c6e12b71234c1009395d8b0c013db77d63834269
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle \w and \W in subsumption checks
---
xr-test.el | 8
xr.el | 6 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/xr-test.el
branch: externals/xr
commit 21eab3c0f6593754b03f5d2a2a7c4f44c6744a75
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check for bol, eol and eos in conflict with other expressions
---
xr-test.el | 12 +++
xr.el | 118
mattiase pushed a change to branch externals/xr.
from 434b300 Increment version to 1.18
new e5b51bf Add wrapped subsumption in repeated forms
new 7160235 Refactor repetition subsumption check to avoid code
duplication
new c98bb7b Handle whitespace and word
branch: externals/xr
commit c7e7557db435cd6553c81592394de0358225f079
Author: Mattias Engdegård
Commit: Mattias Engdegård
Broaden anchor check to check more paths
Check both AB, A?B and AB? (but not A?B?) where A and B are an anchor
and conflicting expression, in some order.
---
branch: externals/xr
commit e5b51bf5608720dddac10495950258a9cd07a178
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add wrapped subsumption in repeated forms
This check finds regexps like "\\(?:a*c[ab]*\\)+", where
the first and last item in a repeated sequence are
33 matches
Mail list logo