[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint f6fb8e6 31/44: Sundry cosmetic fixes
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/relint f6fb8e6 31/44: Sundry cosmetic fixes |
Date: |
Tue, 26 Mar 2019 12:57:29 -0400 (EDT) |
branch: externals/relint
commit f6fb8e6af22de04eec967519cb5189d97a5f97b9
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
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 insertions(+), 5 deletions(-)
diff --git a/relint.el b/relint.el
index 24e8eec..3d67093 100644
--- a/relint.el
+++ b/relint.el
@@ -1,4 +1,4 @@
-;;; relint.el --- Scan elisp files for regexp errors -*- lexical-binding: t -*-
+;;; relint.el --- Elisp regexp mistake finder -*- lexical-binding: t -*-
;; Author: Mattias Engdegård <address@hidden>
;; Version: 1.4
@@ -46,7 +46,7 @@
(require 'xr)
-(defconst relint--error-buffer-name "*relint-catch*")
+(defconst relint--error-buffer-name "*relint*")
(defun relint--error-buffer ()
(let ((buf (get-buffer relint--error-buffer-name)))
@@ -310,7 +310,7 @@
((atom form)
form)
((not (symbolp (car form)))
- (relint--add-to-error-buffer (format "eval error: %S" form))
+ (relint--add-to-error-buffer (format "eval error: %S\n" form))
'no-value)
((eq (car form) 'quote)
(if (and (consp (cadr form))
@@ -743,7 +743,8 @@
(let ((index 0))
(while (consp form)
(when (consp (car form))
- (relint--check-form-recursively-2 (car form) file pos (cons index
path)))
+ (relint--check-form-recursively-2
+ (car form) file pos (cons index path)))
(setq form (cdr form))
(setq index (1+ index)))))
@@ -793,6 +794,7 @@
(emacs-lisp-mode)
(insert-file-contents file)
(let ((forms (relint--read-buffer file))
+ (case-fold-search nil)
(relint--variables nil)
(relint--checked-variables nil)
(relint--regexp-functions nil))
@@ -846,7 +848,7 @@ Call this function in batch mode with files and directories
as
command-line arguments. Files are scanned; directories are
searched recursively for *.el files to scan."
(unless noninteractive
- (error "`relint-batch' is to be used only with -batch"))
+ (error "`relint-batch' is only for use with -batch"))
(setq relint--error-count 0)
(while command-line-args-left
(let ((arg (pop command-line-args-left)))
- [elpa] externals/relint 365dc91 41/44: Check bad skip-set provenance, (continued)
- [elpa] externals/relint 365dc91 41/44: Check bad skip-set provenance, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint a1829d7 39/44: Refactor the file scanning and linting code, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 0f76132 40/44: Add README.org, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint e824db0 38/44: Expand locally defined macros, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint c215d54 34/44: More careful evaluation of if, when, unless, and, or, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 15c799e 35/44: Evaluate calls to functions defined in the same file., Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 2d1f488 32/44: mapcar on non-list sequence, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint af745bb 30/44: Update the package description. Increment version to 1.4, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint e1b1ef9 22/44: Run in two phases on each file, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 7a1b632 33/44: Add wildcard-to-regexp as 'pure' function, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint f6fb8e6 31/44: Sundry cosmetic fixes,
Mattias Engdegård <=
- [elpa] externals/relint 151dbb8 23/44: Handle some destructive list functions, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 187d586 27/44: Scan arguments to `skip-chars-{forward, backward}', Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 5af5466 26/44: Scan string-trim arguments, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 4dbcad9 24/44: Increment version to 1.2, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 104e66c 15/44: Fix bugs in evaluation of `rx' and `rx-to-strings', Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 3f8509a 13/44: Add more functions to check for regexp arguments, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint f8878ca 16/44: Report rx errors in the result buffer, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 8e37762 18/44: Protect against improper lists in function calls, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 66522ca 12/44: Increment version to 1.1, Mattias Engdegård, 2019/03/26
- [elpa] externals/relint 683f31b 28/44: Increment version to 1.3, Mattias Engdegård, 2019/03/26