branch: externals/xr
commit c2ede958dec3e13a28549ae00782bf4f5d11a6fc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Improved errors for bad \s and \c sequences
---
xr.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xr.el b/xr.el
index 5a32a52..3133906 100644
branch: externals/xr
commit 8d052d617f1e604143856b3b2b6657cac707d4c6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check for errors in \_
---
xr-test.el | 1 +
xr.el | 14 +++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/xr-test.el b/xr-test.el
branch: externals/xr
commit 8532df85cc9a65fde2afdfff2c7b8c8c6ec56dd2
Author: Mattias Engdegård
Commit: Mattias Engdegård
Move tests to separate file
Put all tests in a separate file, xr-test.el, and use ert.
Byte-compilation is now clean.
---
xr-test.el | 228
branch: externals/xr
commit 4bf6043ef79024c27149611c09b8b602f4590b5b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Export xr-pp-rx-to-str and fix a typo
Rename xr--pp-rx-to-str to xr-pp-rx-to-str for external use,
and fix a typo in the doc string of xr-pp.
branch: externals/xr
commit f79d50cca60f9ce242a52ac1eac8d9fc9beb282f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add categories L, R, . and SPC
The predefined categories L, R, . and SPC were recently added to rx.
Add them here as well.
---
xr-test.el | 4
xr.el
branch: externals/xr
commit 41474cbc8bcab67c097a8e111de01832b6fd4f97
Author: Mattias Engdegård
Commit: Mattias Engdegård
Accept unknown character categories
New categories can be defined, so an unknown category code is not
necessarily an error. Assume the best and use a raw
branch: externals/xr
commit 37b2bcbe45f6f06c18109ae071567f436c079541
Merge: 4bf6043 4e2bd17
Author: Mattias Engdegård
Commit: Mattias Engdegård
Merge branch 'master' of https://github.com/mattiase/xr
branch: externals/xr
commit 0331e0055f964218d068e99c8aeb09225a8afe41
Author: Mattias Engdegård
Commit: Mattias Engdegård
Recognise \sW as alias for \sw
The syntax class W appears to be an undocumented alternative to w,
and \sW has been spotted at least once in the wild.
---
branch: externals/xr
commit 2a1de75f192e351cd2ea7e4302756dbb9e995384
Author: Mattias Engdegård
Commit: Mattias Engdegård
Correct parsing of group and backref
Parse groups and backrefs more carefully. In particular, there
is no group 0; (?0:) is illegal and \0 means 0.
---
branch: externals/xr
commit 4e2bd17df0e370ab6fd24c29711aa278575ca29b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Export xr-pp-rx-to-str and fix a typo
Rename xr--pp-rx-to-str to xr-pp-rx-to-str for external use,
and fix a typo in the doc string of xr-pp.
branch: externals/xr
commit e1c7734639bf7afe9c848e81d6240d357a9d1242
Merge: f79d50c 7ba1fc6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Merge branch 'externals/xr' of elpa.git (no actual change)
branch: externals/xr
commit 09fe37383ba81358fe9680c1bbf679b00da1d07d
Author: Mattias Engdegård
Commit: Mattias Engdegård
More careful error handling of \s and \c
\s and \c without a character following is an error, and should
not result in a literal s or c.
---
xr-test.el | 10
branch: externals/xr
commit 139ed8481389eb029d867119543f99ddc4dec641
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version number to 1.2
---
xr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index a779f1b..a430cf2 100644
--- a/xr.el
+++
mattiase pushed a change to branch externals/xr.
from e77aa97 Postfix ops are literal after ^ but not after \(?:^\)
new 74cc24c Simplify: use preceding-char instead of buffer-substring
new 2cfd98f Add xr-lint, a regexp linting tool
new 139ed84 Increment
branch: externals/xr
commit 2cfd98ff44d194901c0d3370a5e2dc6675f21745
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add xr-lint, a regexp linting tool
Since we are already parsing the regexp, we can easily detect uses
of questionable or obsolete syntax; `xr-lint' does
branch: externals/xr
commit 74cc24ca64016316ed669c4a42e4a76a05c6a2de
Author: Mattias Engdegård
Commit: Mattias Engdegård
Simplify: use preceding-char instead of buffer-substring
---
xr.el | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/xr.el b/xr.el
index
branch: externals/xr
commit e77aa97e184525fea4fdcb4aa365a73418d4d1b7
Author: Mattias Engdegård
Commit: Mattias Engdegård
Postfix ops are literal after ^ but not after \(?:^\)
^* means (seq bol "*"), but \(?:^\)* means (zero-or-more bol).
---
xr-test.el | 12
xr.el
mattiase pushed a change to branch externals/xr.
from 2aec9fd Increment version to 1.10; add News section
new 4b8d3bc Detect `-' not first or last in [...]
new 6c1c713 Strengthen ad-hoc [...] check in skip-set parser
new 0b9979e Use doc strings instead of
branch: externals/xr
commit 6c1c7138d70c59251185c65d900d55e8d6e36d29
Author: Mattias Engdegård
Commit: Mattias Engdegård
Strengthen ad-hoc [...] check in skip-set parser
Catch common mistakes like "[a-z]+".
---
xr-test.el | 2 ++
xr.el | 5 -
2 files changed, 6
branch: externals/xr
commit a49b9b7f4af99f50e3cbbf678a6aa0a254b2e89e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check for repetition of empty-matching expression
Add check for repetition of expressions that may match an empty string,
and repetition of zero-width
branch: externals/relint
commit c315148e489f3191fa32524431a3bdc6fa791a76
Author: Mattias Engdegård
Commit: Mattias Engdegård
Treat #' and ,@ correctly when finding position
---
relint.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
index
branch: externals/relint
commit 301b80300c08724d2f9f3d734183fdae95ff7c2d
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use doc strings instead of comments preceding functions
Suggested by Stefan Monnier.
---
relint.el | 95
branch: externals/relint
commit 88ccc9cc914fe9007d5afb589f7af6c36d8414e3
Author: Mattias Engdegård
Commit: Mattias Engdegård
Stronger regexp-generating variable check
If the variable contents do not reveal anything, look at the name.
---
relint.el | 9 +
1 file changed, 5
branch: externals/xr
commit 0b9979ebc6b01688ede24214139211f0140f3e8d
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use doc strings instead of comments preceding functions
---
xr.el | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/xr.el
branch: externals/relint
commit 7db3e2ee7d1b6b712cf01e51a361e8d135f02a36
Author: Mattias Engdegård
Commit: Mattias Engdegård
Collect all functions, macros and aliases
Previously, functions and macros were only collected if their body
consisted of a single expression. Lift that
branch: externals/relint
commit b8f617ea8625fa8f2dae9e49a22b46f6b2aacc91
Author: Mattias Engdegård
Commit: Mattias Engdegård
Various code simplifications
Suggested by Stefan Monnier.
---
relint.el | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git
branch: externals/relint
commit a146c2c2b7765c9f5f9eb76308bf6f094241acf5
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.7
xr requirement is now 1.11 (latest current)
---
relint.el | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git
branch: externals/xr
commit 33c540033e2723668330f474c28a9b2b2e6646fd
Author: Mattias Engdegård
Commit: Mattias Engdegård
Suppress false positive in repetition of empty string
Don't complain about repetition of the empty string, \(?:\)REPOP,
since that is more likely to be a
branch: externals/relint
commit 2471efb0e834f427f8019c91feea846567c3859e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detailed diagnostics descriptions in README.org
---
README.org | 130 +
1 file changed, 130 insertions(+)
branch: externals/xr
commit 4b8d3bcd6a77594b086ec1511443f5bf7b84d0aa
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect `-' not first or last in [...]
This is arguably bad style and sometimes indicates a problem,
like in "[+-0-9]".
This check is also carried out for
branch: externals/relint
commit 973241aeee34901f194a4114bf4ddf634d30ce22
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix typo in comment
---
relint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
index 445c7bb..0d3a2f6 100644
---
branch: externals/relint
commit cf3969064900b02f847a3a5497a4737884ccec4f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Clean-ups and safety fixes
Require cl-lib instead of cl-seq, as suggested by Stefan Monnier.
Remove some functions with function args from
branch: externals/xr
commit 8ccace4400586cbda8185f38b3dcd07929d2b83e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.11
---
xr.el | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 0438257..28545a9 100644
--- a/xr.el
+++
branch: master
commit a2911f6b9ef0355e427b82b674b0fcf3e9744e49
Author: Mattias Engdegård
Commit: Mattias Engdegård
* cobol-mode.el: Fix misrepresenting variable
(cobol--fixed-comment-indicators-re):
Rename to cobol--fixed-comment-indicators, since it is not a regexp.
branch: externals/relint
commit e049e93f3f7e6a2bf62e7241678248278a92180b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.8
---
relint.el | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
index 9153fc6..cae411a 100644
mattiase pushed a change to branch externals/relint.
from a146c2c Increment version to 1.7
new d6e6363 Improved diagnostics descriptions in README.org
new 6fc885b Describe branch subsumption message
new a983dc1 Use dolist instead of mapc with lambda
branch: externals/relint
commit d6e6363bc0b2847a3e75239087fcbd24a47ab122
Author: Mattias Engdegård
Commit: Mattias Engdegård
Improved diagnostics descriptions in README.org
---
README.org | 71 --
1 file changed, 37 insertions(+),
branch: externals/relint
commit a983dc10bc6149dc97e2ca6cc30661865259f17c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use dolist instead of mapc with lambda
It is more readable and slightly faster.
---
relint.el | 54 ++
1
branch: externals/relint
commit 6fc885b585d9d39819903cd7b191231c310dc2a1
Author: Mattias Engdegård
Commit: Mattias Engdegård
Describe branch subsumption message
---
README.org | 5 +
1 file changed, 5 insertions(+)
diff --git a/README.org b/README.org
index e7dec3e..6735e1c 100644
---
branch: externals/xr
commit 19d52a7edbb5f22d471481cca8e6cca70a465641
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add branch subsumption check
Look for alternatives containing a branch that matches a superset of
another branch, like ".\\|a". This is wasteful, or
mattiase pushed a change to branch externals/xr.
from 8ccace4 Increment version to 1.11
new 19d52a7 Add branch subsumption check
new b360cc3 Remove unused variable
new 69522c3 Use dolist instead of mapc with lambda
new b702cd9 Add references to lex
branch: externals/xr
commit 69522c347c84ce44b24556f018fdbb8d220d591b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use dolist instead of mapc with lambda
It's more readable and slightly faster.
---
xr.el | 20 +---
1 file changed, 9 insertions(+), 11
branch: externals/xr
commit b702cd9eb50bd026e3a82a2b151792b599fe00f7
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add references to lex and pcre2el to README.org
Copied from the package comment section; suggested by alphapapa (#1).
---
README.org | 9 +
1 file
branch: externals/xr
commit b360cc38006a42396ff2b84a6debb5f85516b324
Author: Mattias Engdegård
Commit: Mattias Engdegård
Remove unused variable
---
xr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 99239fb..f8e484e 100644
--- a/xr.el
+++ b/xr.el
branch: externals/xr
commit 1b1bfd5df988847d0a4f29af9e5f754e6331dd78
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.12
---
xr.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index f9067d7..018b888 100644
--- a/xr.el
+++
branch: master
commit 797c9800cca713e310ee3894822f3fa6c45755e0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Neater HTML table of old package versions (bug#35331)
* admin/archive-contents.el (archive--html-bytes-format): Use IEC prefixes.
(archive--html-make-pkg): Sort
branch: externals/relint
commit 6908115f2cf925b2ade2eedb16e3f2ead99afae6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix regexp matching sugar prefixes
Matching order matters.
---
relint.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/relint.el
branch: externals/relint
commit 2e0bb226fee67c18fb13dc5df4f6794f5b932f05
Author: Mattias Engdegård
Commit: Mattias Engdegård
Keep track of local variable bindings
Simplified local variable tracking during the phase-2 traversal: every
let-bound variable either has an accurate
branch: externals/relint
commit 298d407e1edba398cb14e2084743aebd87e5d6f4
Author: Mattias Engdegård
Commit: Mattias Engdegård
Restructure `cond' expressions for better compilation
Make it easier for the byte-compiler to generate switch ops.
---
relint.el | 559
branch: externals/relint
commit c5ac726f752941d09ec2e1b1d7230bb7df4b546c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle rx `literal' and `regexp' forms correctly
They can now contain lisp expressions.
Stop mutating the rx sexp; it doesn't save much time.
---
branch: externals/relint
commit c08baf220028d95ad8337019eba46ae5cb607360
Author: Mattias Engdegård
Commit: Mattias Engdegård
Quote symbols with ' instead of ` in pcase
---
relint.el | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git
branch: externals/relint
commit 77c3b8736978b3de825ea5ab27e7a7845e019955
Author: Mattias Engdegård
Commit: Mattias Engdegård
Improved source traversal towards location
Now dotted lists like (a b . (c d)) are handled better, including uses
of sugar like (a . 'b).
---
relint.el
mattiase pushed a change to branch externals/xr.
from 1b1bfd5 Increment version to 1.12
new 6f0cb49 Generate (category CHAR) for unknown categories
new a08b7f9 Useful helper variables
new 0968437 Quote symbols with ' instead of ` in pcase
new 56a8e91
branch: externals/xr
commit a08b7f98abd3aee40a2b1aeeeddaa2b440e012c9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Useful helper variables
---
xr.el | 90 ++-
1 file changed, 46 insertions(+), 44 deletions(-)
diff --git
branch: externals/xr
commit 0df910216a0b44989db06198e9b2399dabf44ade
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.13
---
xr.el | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 6dd585c..1c74527 100644
--- a/xr.el
+++
branch: externals/xr
commit 09684376c0ccd545b384fc35df9fdea42081ccb8
Author: Mattias Engdegård
Commit: Mattias Engdegård
Quote symbols with ' instead of ` in pcase
---
xr.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xr.el b/xr.el
index 6a173b2..edd21b8
branch: externals/xr
commit 56a8e91cf5c696892c46bbb1fb0c6d3b3248e8d1
Author: Mattias Engdegård
Commit: Mattias Engdegård
More robust pretty-printing of characters
Previously, xr never generated characters so the pretty-printer
ignored them. Now characters are (very rarely)
mattiase pushed a change to branch externals/relint.
from e049e93 Increment version to 1.8
new 298d407 Restructure `cond' expressions for better compilation
new 963e232 Check more defcustom strings
new c5ac726 Handle rx `literal' and `regexp' forms correctly
branch: externals/relint
commit 963e232b977fa2651f4dfe444b8c971f9d77289d
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check more defcustom strings
Use :type to find more defcustoms to check, and also check values in
certain types, like (choice (const "regexp1") (const
branch: externals/relint
commit 923837551e58c823e0e9f371dc068fe02e5adec5
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect more regexps in defcustom alists
Better type matching, and also consider alists where the values are regexps.
---
relint.el | 38
branch: externals/relint
commit 943c728592481982cc62981fe7baf75ad938eedc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Indentation fixes
---
relint.el | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/relint.el b/relint.el
index 21083e0..8759d05
branch: externals/relint
commit 1dc96b5bb65a84385fc80768e2ca3ef5a37b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Make font-lock-keywords errors easier to find
At least in the (rare) case when the cdr is a symbol.
---
relint.el | 12 +++-
1 file changed, 11
branch: externals/xr
commit 6f0cb49d19310acfae2c4c8f07f526ef7daf36d2
Author: Mattias Engdegård
Commit: Mattias Engdegård
Generate (category CHAR) for unknown categories
This is accepted by rx (and ry), and is more readable than
(regexp "\\cCHAR").
---
xr-test.el | 2 +-
xr.el
branch: externals/relint
commit bc001eb32ea351cd8a741dc466933fe85abaa696
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.9
---
relint.el | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
index 1c32d87..e6b3c51
branch: externals/relint
commit d2e38acb4d47876432325dec81ed0af5d71df6b9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Amend version history with recent additions
---
relint.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/relint.el b/relint.el
index d9271bc..0cdf903 100644
branch: externals/relint
commit 776574cdc63725cabc64deb4f644ef0656a44ca0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Mention skip-syntax in summary
---
relint.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
index 25c361f..d9271bc
mattiase pushed a change to branch externals/relint.
from bc001eb Increment version to 1.9
new 509c9fb Add comment-start-skip and comment-end-skip as known
regexps
new 562225c Add error suppression mechanism
new 6425990 Check skip-syntax-{forward,backward}
branch: externals/relint
commit 562225c672d736c930da73ce3f1d2b0dd55158d7
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add error suppression mechanism
It relies on a special comment on a line preceding the error, on the form
;; relint suppression: SUBSTRING
branch: externals/relint
commit 64259904fccdfd8429de3f75a03435b10da10b11
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check skip-syntax-{forward,backward} argument strings
These are just strings of syntax codes, possibly negated by a leading ^,
but it can apparently
branch: externals/relint
commit 509c9fb92edc4b4443d9b76073677211c945ee04
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add comment-start-skip and comment-end-skip as known regexps
---
relint.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/relint.el
branch: externals/relint
commit 0bf6883ddc44506e8acb86a73a99b1d0d6d265cb
Author: Mattias Engdegård
Commit: Mattias Engdegård
Remove Org markup remnant
---
README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README
index 8621923..023ce89 100644
--- a/README
branch: externals/relint
commit 5217d9a73a27d953d5eaef6cf5bca9501e7b9a27
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use a plain-text README file instead of README.org
It is much easier to read than a .org file in plain text, and not much
worse than github's htmlised
mattiase pushed a change to branch externals/relint.
from 6908115 Fix regexp matching sugar prefixes
new 5217d9a Use a plain-text README file instead of README.org
new 502a647 Increment version to 1.10
new 0bf6883 Remove Org markup remnant
Summary of
branch: externals/relint
commit 502a6478a88a72be750d2dd5fe680f401844573f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.10
---
relint.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
index 1795b3c..310be99 100644
branch: externals/relint
commit b890b5ae5c78971efd62dcb0c0c33b982e0120ee
Author: Mattias Engdegård
Commit: Mattias Engdegård
Track mutation in push and lambda in phase 2
---
relint.el | 29 +
test/5.elisp| 14 ++
test/5.expected | 9
branch: externals/relint
commit 6a07508cc257227028d285f971d39fa4aea22283
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle rx `eval' form correctly
The `eval' argument can yield an arbitrary rx form, not just a string.
---
relint.el | 9 -
1 file changed, 8
branch: externals/relint
commit e11b8715488f80758a7de838e7955e628d8218fc
Author: Mattias Engdegård
Commit: Mattias Engdegård
More robust scanning of format strings for mixup check
---
relint.el | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git
branch: externals/relint
commit 1ec2d8b17905dfa4ad9eb8729c0be18d8c17bbe0
Author: Mattias Engdegård
Commit: Mattias Engdegård
More elaborate parsing of doc strings of global variables
Now detects "When non-nil, specifies a regexp ..."
---
relint.el | 16 ++--
1 file
branch: externals/relint
commit 60d5627e06e31c15864b4e38d7d48282981b9e32
Author: Mattias Engdegård
Commit: Mattias Engdegård
Lazy evaluation of global variables
This improves performance by over 5 %.
Previously, global variables were evaluated at every reference.
When
branch: externals/relint
commit 3f3408df3d4afccbdff41040b2272f251cbd8e37
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check both car and cdr of items in -regexp-alist variables
We don't know whether the alist maps from or to regexps, so check both.
---
relint.el | 11
branch: externals/relint
commit 7e6b8bf8404c8f14bc631538bf2c4ce05c994828
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add tests
---
relint-test.el | 124 +
test/1.elisp| 87 ++
test/1.expected |
branch: externals/relint
commit 099b59f06c812ab4b769c1341f7c8479f90c217b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Reorder strings in regexp for more efficient matching
Avoiding prefixes before prefixed strings allows regexp-opt to work better.
---
relint.el | 6 +++---
branch: externals/relint
commit 95b3c07e57b8a5cd5e01535cef5fa055c3c78ca9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add `xor' and bitwise operations to the list of safe functions
---
relint.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/relint.el
branch: externals/relint
commit 5137ec6fd6c736499d8411461c7a82f1b2491347
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate keywords correctly
Auto-quote them as they should be.
---
relint.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/relint.el b/relint.el
index
branch: externals/relint
commit 1cb021ac2fd5779f0f182ba2a444076c8d3fc7df
Author: Mattias Engdegård
Commit: Mattias Engdegård
Remove relint--eval-error
It was only used to detect invalid rx expressions, but those are
likely to show themselves to the programmer, and we had
branch: externals/relint
commit 3a7e82ab796e2af0c50549f77ae82b30ec0ff9ea
Author: Mattias Engdegård
Commit: Mattias Engdegård
Track some mutation of local variables in phase 2
More precisely, perform setq forms which obviously are executed
exactly once before remaining forms in
branch: externals/relint
commit d2b71948b8fd3736c4892a249f34455eac0d86be
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate `dolist' and `while'
`dolist' is special-cased for speed right now, but could also be
expanded and handled by `while' if implemented. `while' is
branch: externals/relint
commit 6212b6fb9130947d9a246b992ee3cf5ffba92a1d
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate more functions and macros
cl-loop, catch, condition-case, cl-flet, cl-flet*, cl-labels,
cl-assert, cl-case, mapc, cXXXr, assoc-string, intern,
branch: externals/relint
commit b2a86b808f314af629e4be3af98ce9a9b28b8c54
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix typo in message description and clarify
---
README | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/README b/README
index
mattiase pushed a change to branch externals/relint.
from 0bf6883 Remove Org markup remnant
new 099b59f Reorder strings in regexp for more efficient matching
new 1ec2d8b More elaborate parsing of doc strings of global variables
new 1cb021a Remove
branch: externals/relint
commit bc1b5a8d820bb9bc483a625ccdae041b0c0eb3aa
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add word-search-regexp to the list of regexp generating functions
---
relint.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/relint.el
branch: externals/relint
commit 3a27cff58d19c5adb0276854d94e1e7435caa1d9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle mutation of local variables in evaluation
Deal with mutation of local variables introduced in the evaluation;
assignment to ones outside is
branch: externals/relint
commit 02c5dd2cde9d852c56bf1885d3185d909607c626
Author: Mattias Engdegård
Commit: Mattias Engdegård
Prepare for easier testability
Add relint--scan-buffer that takes explicit source and error buffer
arguments.
---
relint.el | 84
branch: externals/relint
commit 43c4644a22bbf2820878322502561996f50e565f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Correct naming
---
relint.el | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/relint.el b/relint.el
index 4ec1aa3..8f34195 100644
---
branch: externals/relint
commit 5142c86aa8da2815e78a627901d564afc6840a26
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix function evaluation bug
Only 1-arg functions were evaluated, instead of only functions with
1-expression bodies.
---
relint.el | 2 +-
1 file
branch: externals/relint
commit 956a15bb375be2db21ce53541baf840d819761fb
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix defun parsing
Previously, a function returning a string literal wouldn't have any
body at all.
---
relint.el | 11 +++
1 file changed, 7
branch: externals/relint
commit 501f87b2ae4616629df3a569e8ee762f71a7f2b1
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate `prog1' and `prog2'
---
relint.el | 11 +++
test/5.elisp| 6 ++
test/5.expected | 6 ++
3 files changed, 23 insertions(+)
diff
branch: externals/relint
commit b0f0bee11b89cc924648822413f4fece25ca6608
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.11
---
relint.el | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
index 03b3a3b..0c97f05 100644
branch: externals/relint
commit 803579ce0f345d47c7b3cef7b6cee21c83af348c
Author: Mattias Engdegård
Commit: Mattias Engdegård
More font-lock-keywords detection
Look at arguments to font-lock-add-keywords, and mutation/binding
of font-lock-defaults and font-lock-keywords.
branch: externals/relint
commit c2d3f3b8018089b1cc840173240cb6728ad3874c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.14
Require xr 1.16.
---
relint.el | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
101 - 200 of 354 matches
Mail list logo