branch: externals/relint
commit ee70350bf5d9416990194b43ae0ef89b09260366
Author: Mattias Engdegård
Commit: Mattias Engdegård
FSF copyright, URL, and increment version to 1.5
---
relint.el | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
index
branch: externals/relint
commit c1b92cc2d103b077ec62d6d4b74a32e773d18bc4
Author: Mattias Engdegård
Commit: Mattias Engdegård
Wrap and evaluate defined functions passed as parameters
The much more general way of handling functions passed as parameters to
primitives allows most
branch: externals/relint
commit e1b1ef92b4427dcb964de93b6b7334ad1e30b7de
Author: Mattias Engdegård
Commit: Mattias Engdegård
Run in two phases on each file
In the first phase, only scan function signatures for regexp arguments.
In the second, do everything else.
This way,
branch: master
commit 29150392e4d5192228c963bfc0fb91cd1c2c3e54
Author: Mattias Engdegård
Commit: Mattias Engdegård
* externals-list: Add relint
---
externals-list | 1 +
1 file changed, 1 insertion(+)
diff --git a/externals-list b/externals-list
index f5e5a83..b43c39d 100644
---
branch: externals/relint
commit 6ab713e2791654943b25ed061016be7ba8345a39
Author: Mattias Engdegård
Commit: Mattias Engdegård
Reinstate erroneously removed line
---
trawl.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/trawl.el b/trawl.el
index 0f97633..d365a5a 100644
--- a/trawl.el
branch: externals/relint
commit 4dbcad9d3000b105dd1da44d0c203103ff68a303
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.2
---
trawl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trawl.el b/trawl.el
index 5149a20..89e61a1 100644
---
branch: externals/relint
commit 7d0e17725eab654cd4c2958e9b3967fa20cff92c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Rewrite the higher-order function handling
Now variable references from lambda-expressions are handled correctly.
Free variables are substituted before
branch: externals/relint
commit 365dc91b8f59142a4fa50c3de085b90bc9e92242
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check bad skip-set provenance
Check whether known regexp-returning functions such as regexp-quote
are used in the generation of arguments to
branch: externals/relint
commit 02bf0ba01743a45b9a7d3a993d66c43fa62b6c4e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use explicit list of pure functions
Instead of relying on the `side-effect-free' property, which is set
by the byte-compiler and not necessarily
branch: externals/relint
commit 0fd1d46d2eadd359ec31284ff11c817096ae80dc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Rename trawl to relint
It's slightly more descriptive ('regexp linter').
---
trawl.el => relint.el | 456 +-
branch: externals/relint
commit 7a1b632f65baff84ed862decef2383ed63f3bd7b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add wildcard-to-regexp as 'pure' function
---
relint.el | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/relint.el b/relint.el
index
branch: externals/relint
commit 0f7613211ccdd6340caed1fe0ba5aa8789f2b75b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add README.org
---
README.org | 39 +++
1 file changed, 39 insertions(+)
diff --git a/README.org b/README.org
new file mode
branch: externals/relint
commit 0604faded0efb16f1e6688b851b90335108706b9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Use a custom mode for the *relint* buffer
Using our own mode, a sub-mode to compilation-mode, is mainly so that
we can bind the "g" key to "run the same
branch: externals/relint
commit d4a6d46e6cbf8510a11ff59aa0a58a62bbb2e0d5
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate some more functions, macros and special forms
Including sort, pcase and cond.
---
relint.el | 68
branch: externals/relint
commit a1829d76099f34678c1653ece502d4beb2b8fdf5
Author: Mattias Engdegård
Commit: Mattias Engdegård
Refactor the file scanning and linting code
---
relint.el | 97 ---
1 file changed, 43 insertions(+), 54
branch: externals/relint
commit 15c799e1c163b23ec54dd6dea8fc90a969ede51a
Author: Mattias Engdegård
Commit: Mattias Engdegård
Evaluate calls to functions defined in the same file.
As before, only a subset of purely-functional code is considered.
Yet this change expands the set
branch: externals/relint
commit ac5d0cf79b72cf012d88f79affae7d703702d7ea
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add more safe functions
---
trawl.el | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/trawl.el b/trawl.el
index
branch: externals/relint
commit 019f4cf6c6ca4776a32af7bf0fe121080f656ff5
Author: Mattias Engdegård
Commit: Mattias Engdegård
Rewrite the partial evaluator and extend coverage
Complete rewrite making the partial evaluator slightly less ad-hoc,
evaluate more complex expressions,
branch: externals/relint
commit 0214845aea0086ba72ab7e3cbd91cc8a269f68aa
Author: Mattias Engdegård
Commit: Mattias Engdegård
Move to github
---
trawl.el | 380 +++
1 file changed, 380 insertions(+)
diff --git a/trawl.el
branch: externals/relint
commit f6fb8e6af22de04eec967519cb5189d97a5f97b9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Sundry cosmetic fixes
Run with case-fold-search set to nil.
The error buffer is now named "*relint*".
---
relint.el | 12 +++-
1 file changed, 7
branch: externals/relint
commit 187d586847f4545e6ba276098ca37d294ca6109f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Scan arguments to `skip-chars-{forward,backward}'
Make use of the new skip set parser in xr.
---
trawl.el | 30 ++
1 file
branch: externals/relint
commit 151dbb841f5afd913642db4294340352ba62aac0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Handle some destructive list functions
Safely evaluate nconc, delete, delq, nreverse, nbutlast and delete-dups.
---
trawl.el | 46
branch: externals/relint
commit 830f4bf3ce7a1c73f6e05b04d03a681af2e920a2
Author: Mattias Engdegård
Commit: Mattias Engdegård
Allow use from batch mode
Add trawl--batch for use from the command line:
emacs --batch -l trawl.el -f trawl--batch FILES-AND-DIRECTORIES...
branch: externals/relint
commit b4fc385078265c15ef8367c99cf37b08ba55a531
Author: Mattias Engdegård
Commit: Mattias Engdegård
Rename trawl--batch to trawl-batch
---
trawl.el | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/trawl.el b/trawl.el
index
branch: externals/relint
commit 3f8509a41078c346e50b7b57339436568c0b41e6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add more functions to check for regexp arguments
---
trawl.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/trawl.el b/trawl.el
index
branch: externals/relint
commit 125b8693d6c986be888b01c7757c675d5ebbd064
Author: Mattias Engdegård
Commit: Mattias Engdegård
Try harder recovering from read errors
In particular, don't abandon the whole file because of a circular sexp.
---
trawl.el | 28
branch: externals/relint
commit 34304b4f08df99a0c6396e14c19d1584dbed091e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add (provides) line to make file importable
Suggested by Pierre Téchoueyres.
---
trawl.el | 4
1 file changed, 4 insertions(+)
diff --git a/trawl.el
branch: externals/relint
commit be3979af7f49b770e0548a9c249c5bcc08d5e97a
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check TRIM argument of `split-string' as well
---
trawl.el | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/trawl.el b/trawl.el
branch: externals/relint
commit 2d1f488de40c027f4b5a20caaba5b559cb413970
Author: Mattias Engdegård
Commit: Mattias Engdegård
mapcar on non-list sequence
Allow mapcar and mapcan to be run on any sequence that we can evaluate
statically, not just lists. In particular, mapcar on
branch: externals/relint
commit 5af546669c44d72e54df4938ab37cee6267f00c4
Author: Mattias Engdegård
Commit: Mattias Engdegård
Scan string-trim arguments
---
trawl.el | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/trawl.el b/trawl.el
index 2a71f65..254fdbf
branch: externals/relint
commit 5143edfbbe5de97797c48129b852882dfc8ddb2d
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix indentation accidents
---
trawl.el | 64
1 file changed, 32 insertions(+), 32 deletions(-)
diff
branch: externals/relint
commit e882b71ed3ce20fb4088cb5fd7d7726555b330d8
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect regexps spliced into [...]
Look for attempts to splice the product of regexp-generating functions
such as regexp-quote into an [...] construct,
branch: externals/relint
commit 683f31b6badb0c13817e3edfe28adc4092c36dc1
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.3
---
trawl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trawl.el b/trawl.el
index 613e800..b4b9147 100644
---
branch: externals/relint
commit e824db0ab49f0208cbfbfe56670c0bfd1821d5f0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Expand locally defined macros
---
relint.el | 39 +--
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/relint.el
branch: externals/relint
commit c215d54fa2bde02bb9508ff316078d97120fec7a
Author: Mattias Engdegård
Commit: Mattias Engdegård
More careful evaluation of if, when, unless, and, or
---
relint.el | 53 +
1 file changed, 45 insertions(+), 8
branch: externals/relint
commit f8878ca325cd093374c176f8dc671df8cdd07dbe
Author: Mattias Engdegård
Commit: Mattias Engdegård
Report rx errors in the result buffer
Previously, rx errors aborted the entire run; now they are reported
like any other.
---
trawl.el | 60
branch: externals/relint
commit af745bbe253de40e858cfd8cc608cddac9c25ba9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Update the package description. Increment version to 1.4
---
relint.el | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git
branch: externals/relint
commit 104e66c28923bafcf9dbef1d1c0fa6f7b9a0c14a
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix bugs in evaluation of `rx' and `rx-to-strings'
Found by trawling ntcmd.el, on a suggestion by Pierre Téchoueyres.
---
trawl.el | 6 +++---
1 file
branch: externals/relint
commit d6320f9227509b5d4e0de23fb7660d1e13f990d0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect functions with regexp arguments
Spot functions with argument names like `regexp', and check corresponding
arguments in calls to them. Right now,
branch: externals/relint
commit 8e377623e7023e565c8b67133750104c30229a34
Author: Mattias Engdegård
Commit: Mattias Engdegård
Protect against improper lists in function calls
In case we come across the constant '((looking-at . something)), for
instance.
---
trawl.el | 2 +-
1
branch: externals/relint
commit 66522cac6798686bfff5cfd223c504c1ad80614c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.1
---
trawl.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/trawl.el b/trawl.el
index ed7b630..6f51bf0 100644
---
branch: externals/relint
commit 62ca3d4dc94986de1cb948fc28582ea22a415ad0
Author: Mattias Engdegård
Commit: Mattias Engdegård
Slight performance improvement
Remove a function call in the inner loop in the common case.
---
trawl.el | 158
mattiase pushed a change to branch externals/relint.
at ee70350 FSF copyright, URL, and increment version to 1.5
This branch includes the following new commits:
new 0214845 Move to github
new 125b869 Try harder recovering from read errors
new 830f4bf
branch: externals/relint
commit d4d8f97e0444bee4d98c45be8ae6a5b4e5263d35
Author: Mattias Engdegård
Commit: Mattias Engdegård
Eval mapcar and mapcan with partial-evaluated lists
Evaluate mapcar and mapcan even if their list argument isn't fully
evaluated, so a single missing
branch: externals/relint
commit cb1fdc5d10df9907df19afbe56e08165657684e9
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add caret pointing out the error in the quoted regexp
This helps when regexp strings are long and contain many backslashes,
which is frequently the case.
branch: externals/relint
commit d19133e33ea22f95b0313bfcd555901095d7027e
Author: Mattias Engdegård
Commit: Mattias Engdegård
Better variable name patterns
Now scan variables ending in -regexp-list (etc) as well.
---
trawl.el | 5 -
1 file changed, 4 insertions(+), 1
branch: externals/relint
commit 350a9e4e90d4747ca8538a3332868b4b7a943ab6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Extend regexp-generating heuristics
Recognise more standard regexp-returning functions, several
standard regexp variables, and look at variable names to
mattiase pushed a change to branch externals/relint.
from ee70350 FSF copyright, URL, and increment version to 1.5
new 41831f4 Add several cl-seq and other functions, and simplify.
new f9e4d20 More messages and updates when running interactively
new 4145e3f
branch: externals/relint
commit 98bbb445acc2f64ffa1e38e8e3e75b4ed04491f6
Author: Mattias Engdegård
Commit: Mattias Engdegård
Documentation updates
Update README.org and the package description in relint.el to account
for that installation is now made from ELPA.
---
README.org
branch: externals/relint
commit 4145e3f91871694cf5b19a43e615a36e501ca657
Author: Mattias Engdegård
Commit: Mattias Engdegård
Drop -patterns and -pattern-list as variable suffixes
The -patterns and -pattern-list suffix rule found very few actual
regexp lists, and enough false
branch: externals/relint
commit 41831f4bc1fcbdcaa9326a1af08805b25253e004
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add several cl-seq and other functions, and simplify.
The cl-seq functions require special attention to the keyword
arguments, some of which must be
branch: externals/relint
commit cff253a55d8e205d6a3dc52b58cb890cd1537dfc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add relint-current-buffer
Suggested by Manuel Uberti (resolves #5).
File names in the error buffer are now relative, making them shorter
and
branch: externals/xr
commit 018a994f9cb5d2fcd9dcfcabef40f492b7bb952b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Warn about [[:class:]] in skip-sets
This check overlaps the general "[...]" check, but neither is a subset
of the other. It's possible to get both; no harm
mattiase pushed a change to branch externals/xr.
from 2136a7d Increment version to 1.9
new 4525d39 Comment cosmetics, and add a README.
new 7612347 URL to repository and to relint
new 5b53cc9 Warn about two-character ranges like [*-+]
new 018a994
branch: externals/xr
commit 2aec9fdd6bac987896c262bf8d8d19b6eefaa691
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.10; add News section
---
xr.el | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
branch: externals/xr
commit 761234723172e73de558d558c1e6336912f4e88f
Author: Mattias Engdegård
Commit: Mattias Engdegård
URL to repository and to relint
---
README.org | 2 +-
xr.el | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index
branch: externals/xr
commit 5b53cc9efe25b668ce0c7263c1b8cf50c999a6cb
Author: Mattias Engdegård
Commit: Mattias Engdegård
Warn about two-character ranges like [*-+]
---
xr-test.el | 5 +
xr.el | 10 ++
2 files changed, 15 insertions(+)
diff --git a/xr-test.el b/xr-test.el
branch: externals/relint
commit f9e4d20dae8544ecee426dcd43444b4ac08ef2ce
Author: Mattias Engdegård
Commit: Mattias Engdegård
More messages and updates when running interactively
---
relint.el | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/relint.el b/relint.el
branch: externals/relint
commit fdfb2d75c8a28808e7099635d9bfba651f9044cc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.7; add News section
Also raise the xr requirement to version 1.10. Although older xr will
work technically, newer versions make
branch: externals/relint
commit eabac3b9385c9c6e9f17cbecf66361e3b4b60410
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add memql as a safe function
---
relint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/relint.el b/relint.el
index 04081ca..dd5faae 100644
branch: externals/xr
commit 5b0835038ed43acf9cfc4201be1f012c633a019a
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.3
---
xr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 838db3e..853bfc6 100644
--- a/xr.el
+++
mattiase pushed a change to branch externals/xr.
from 127d3fe Escape control characters in warnings and errors
new d08d400 Warn about reversed ranges in character alternatives
new 5b08350 Increment version to 1.3
Summary of changes:
xr-test.el | 3 +++
xr.el
branch: externals/xr
commit d08d40097f4052874c6a526813bd23a7db3d6061
Author: Mattias Engdegård
Commit: Mattias Engdegård
Warn about reversed ranges in character alternatives
[z-a] does not match anything; remove such ranges from the output and
warn about them in xr-lint.
branch: externals/xr
commit 369800c97d8b48b90be3477ad0ffe533bf49d306
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix doc string mistake
---
xr.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xr.el b/xr.el
index 98a306e..7f8d4e5 100644
--- a/xr.el
+++
mattiase pushed a change to branch externals/xr.
from 5b08350 Increment version to 1.3
new 6085257 Detect overlap in character alternatives
new 74b5287 Turn negative empty sets into anything
new 952276b Add dialect option and improve pretty-printing
branch: externals/xr
commit 952276b251a8bd667927d18f96995a22d582a115
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add dialect option and improve pretty-printing
`xr' and `xr-pp' now take an optional DIALECT argument that controls
the choice of keywords to some extent.
branch: externals/xr
commit 608525744b4b354b166b4f1b9143734d44460d97
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect overlap in character alternatives
Detecting duplication and overlap in character alternatives turns
out to be a fruitful way of finding bugs.
branch: externals/xr
commit 74b5287e3cf2f73f3fe34dffb91f3671e56b94a3
Author: Mattias Engdegård
Commit: Mattias Engdegård
Turn negative empty sets into anything
[^z-a] was found in the wild (auctex), apparently on purpose.
The correct rx translation should be `anything'.
---
branch: externals/xr
commit 5318a946ec06aae190203d59ec7adc5f8c12ace3
Author: Mattias Engdegård
Commit: Mattias Engdegård
Eliminate duplicated \ in character alternatives
Since we detect duplicated \ in character alternatives, we might just
as well remove them in the
branch: externals/xr
commit 3c1344b10a2700a16359434a60c4b3eb6bb1de0c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Don't warn about repetition of counted repetition
Repetition of counted repetition can actually be legitimate;
-- consider a\{3\}? -- so don't warn about it.
branch: externals/xr
commit 127d3fee727367294dcff86c695fb154a30358e1
Author: Mattias Engdegård
Commit: Mattias Engdegård
Escape control characters in warnings and errors
---
xr-test.el | 5 +++--
xr.el | 65 --
2 files
mattiase pushed a change to branch externals/xr.
from dec9a2e Don't warn about \]
new 5318a94 Eliminate duplicated \ in character alternatives
new 3c1344b Don't warn about repetition of counted repetition
new 127d3fe Escape control characters in warnings and
branch: externals/xr
commit 1b26866aad4ceae17da416bd9328641a516c0d6a
Author: Mattias Engdegård
Commit: Mattias Engdegård
Warn about repetition of repetition
Make xr-lint complain about constructs such as a?* as they are
usually mistakes.
---
xr-test.el | 5 +
xr.el |
mattiase pushed a change to branch externals/xr.
from 8912612 Fix xr-lint complaint about \[
new 1b26866 Warn about repetition of repetition
new dec9a2e Don't warn about \]
Summary of changes:
xr-test.el | 6 +-
xr.el | 18 --
2 files
branch: externals/xr
commit dec9a2ebc6bc79a1383e10b820e4934176f84b8b
Author: Mattias Engdegård
Commit: Mattias Engdegård
Don't warn about \]
Do not warn about an escaped ], since [ needs to be escaped and writing \]
is unlikely to be a hidden error.
---
xr-test.el | 9
branch: externals/xr
commit 8912612803a734984f600b73d58c92ff40f7d480
Author: Mattias Engdegård
Commit: Mattias Engdegård
Fix xr-lint complaint about \[
---
xr-test.el | 7 ---
xr.el | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/xr-test.el b/xr-test.el
branch: externals/xr
commit 513e81551f01a1557f1f6a38c4cc0dcbadb14ffa
Author: Mattias Engdegård
Commit: Mattias Engdegård
Run with case-fold-search set to nil
Although none of the regexps matches in the code appear to have their
meaning altered by `case-fold-search' right now,
mattiase pushed a change to branch externals/xr.
from 369800c Fix doc string mistake
new dc6d6e3 Escape control chars in all warnings but not double quote
new ccc76c8 More careful character class parsing
new 513e815 Run with case-fold-search set to nil
branch: externals/xr
commit ccc76c8c0b836bbf26b94edfd33d5bb3e8e2a021
Author: Mattias Engdegård
Commit: Mattias Engdegård
More careful character class parsing
[[:random rubbish:]] is an error, not a valid regexp.
---
xr-test.el | 11 +++
xr.el | 12 ++--
2
branch: externals/xr
commit dc6d6e3cab769ef85fb7a386769a499b6404c3de
Author: Mattias Engdegård
Commit: Mattias Engdegård
Escape control chars in all warnings but not double quote
---
xr.el | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/xr.el b/xr.el
branch: externals/xr
commit db5f17b29c96c9a1cfa50cbf831dec1d27cc9e80
Author: Mattias Engdegård
Commit: Mattias Engdegård
Check suspicious curly-bracket constructs
Warn about \{\} and \{,\} (which really mean \{0\} and *),
and signal an error for \{N,M\} where N>M.
---
branch: externals/xr
commit a24897795ed811ce58d593fb2472723268e27391
Author: Mattias Engdegård
Commit: Mattias Engdegård
Parse and lint skip set strings
Add functions to parse and lint skip set strings, which are
the arguments to `skip-chars-forward' and `skip-chars-backward':
mattiase pushed a change to branch externals/xr.
from 7afb247 Increment version to 1.6
new db5f17b Check suspicious curly-bracket constructs
new d6740ce Detect misplaced `]' inside character alternatives
new a248977 Parse and lint skip set strings
Summary
branch: externals/xr
commit d6740ceb190e71bab2d992f2ad35b9f6418283de
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect misplaced `]' inside character alternatives
Add an ad-hoc check for a rare but serious mistake: attempts to include
literal [ and ] inside a character
branch: externals/xr
commit 7afb24757ce42cd973ff99455e76072493fe879f
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.6
---
xr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index d287165..24249aa 100644
--- a/xr.el
+++
branch: externals/xr
commit efc06637a76437b08edbcc27c6427fb67b44dd91
Author: Mattias Engdegård
Commit: Mattias Engdegård
Improved `xr-pp' doc string
---
xr.el | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xr.el b/xr.el
index c9ce0f2..5f644bb 100644
--- a/xr.el
mattiase pushed a change to branch externals/xr.
from 513e815 Run with case-fold-search set to nil
new d0c434d Add missing xr-lint unit test
new efc0663 Improved `xr-pp' doc string
new 549cbc5 Detect duplicated branches in alternatives
Summary of changes:
branch: externals/xr
commit d0c434d2c5511d372741e351620e9fe90535e246
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add missing xr-lint unit test
---
xr-test.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xr-test.el b/xr-test.el
index d4e2d48..c90258a 100644
--- a/xr-test.el
branch: externals/xr
commit 549cbc55fa3160e4246fefdead4130c85a91b608
Author: Mattias Engdegård
Commit: Mattias Engdegård
Detect duplicated branches in alternatives
Eg. "A\\|A". Sometimes indication of deeper mistake, always wasteful.
---
xr-test.el | 2 ++
xr.el | 6 +-
2
branch: externals/xr
commit a948847b2f527a0d19a9db3f5348516304786f32
Author: Mattias Engdegård
Commit: Mattias Engdegård
Don't complain about [z-a]
z-a is much more likely to be an empty range on purpose than a mistake.
In particular, [^z-a] is occasionally seen as a (arguably
branch: externals/xr
commit f1afeff68c1fb2e52da2f7f6e899801ef96b9349
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add check for `[...]'-framed skip sets
This seems to be a particularly common misunderstanding of skip set
syntax.
Increment version to 1.8.
---
branch: externals/xr
commit 2136a7d834d6b0ad6b5a0f44ef50c6c033f601bc
Author: Mattias Engdegård
Commit: Mattias Engdegård
Increment version to 1.9
---
xr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xr.el b/xr.el
index 9ebf446..3a17487 100644
--- a/xr.el
+++
branch: externals/xr
commit d7325b3c1fe2e8a64c0057e6d790aa46d7c27700
Author: Mattias Engdegård
Commit: Mattias Engdegård
Edit the package doc comment
---
xr.el | 61 -
1 file changed, 28 insertions(+), 33 deletions(-)
diff --git
mattiase pushed a change to branch externals/xr.
from a248977 Parse and lint skip set strings
new f1afeff Add check for `[...]'-framed skip sets
new d7325b3 Edit the package doc comment
new a948847 Don't complain about [z-a]
new 51b1d81 More
branch: externals/xr
commit 51b1d812498e14da24c9b76a82a2af2ceb7e3256
Author: Mattias Engdegård
Commit: Mattias Engdegård
More skip-set warnings
Now complains about empty and negated empty sets, about single-
and two-char ranges, and about unnecessary escapes of range
mattiase pushed a change to reference refs/remotes/elpa/externals/xr.
at 7ba1fc6 * xr.el: Fix compilation and use valid email address
No new revisions were added by this update.
mattiase pushed a change to reference refs/remotes/elpa/externals/xr.
was 7ba1fc6 * xr.el: Fix compilation and use valid email address
The revisions that were on this reference are still contained in
other references; therefore, this change does not discard any commits
from the
mattiase pushed a change to branch externals/xr.
from 7ba1fc6 * xr.el: Fix compilation and use valid email address
new 8425772 Sync with ELPA: compilation workaround
new 8532df8 Move tests to separate file
new 2a1de75 Correct parsing of group and backref
branch: externals/xr
commit 84257724a851a4cfd515f6c98dc840c437720b1c
Author: Mattias Engdegård
Commit: Mattias Engdegård
Sync with ELPA: compilation workaround
---
xr.el | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/xr.el b/xr.el
index
branch: externals/xr
commit e8ec2d9d7a0e65aeb888da353b9d079285787c07
Author: Mattias Engdegård
Commit: Mattias Engdegård
Add reference to the pcre2el package
---
xr.el | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/xr.el b/xr.el
index 761cac7..5a32a52
1 - 100 of 354 matches
Mail list logo