[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 91412e5d65 175/372: - removed multiple, consecuti
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 91412e5d65 175/372: - removed multiple, consecutive, spaces in comments. |
Date: |
Fri, 4 Feb 2022 16:58:56 -0500 (EST) |
branch: elpa/annotate
commit 91412e5d657a7632831cbd745bb7a87a546aea40
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
- removed multiple, consecutive, spaces in comments.
---
annotate.el | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/annotate.el b/annotate.el
index 29af2cb00a..30cf67a59a 100644
--- a/annotate.el
+++ b/annotate.el
@@ -135,8 +135,8 @@ major mode is a member of this list (space separated
entries)."
:group 'annotate)
(defcustom annotate-summary-ask-query t
- "If non nil a prompt asking for a query to filter the database
-before showing it in a summary window is used. If nil the
+ "If non nil a prompt asking for a query to filter the database
+before showing it in a summary window is used. If nil the
database is not filtered at all."
:type 'boolean
:group 'annotate)
@@ -415,7 +415,7 @@ major mode."
(string-width (annotate-actual-comment-end))))
(defun annotate-wrap-in-comment (&rest strings)
- "Put comment markers at the start and (if it makes sense)
+ "Put comment markers at the start and (if it makes sense)
end of a string. See: annotate-actual-comment-start and
annotate-actual-comment-end"
(apply #'concat (append (list (annotate-actual-comment-start))
@@ -645,8 +645,8 @@ annotation plus the newline."
(> (overlay-end x) (overlay-end y))))))
(when overlays
(goto-char (overlay-end (car overlays)))))
- ;; capture the area from the overlay to EOL (regexp match #1)
- ;; for the modification guard and the newline itself (regexp
+ ;; capture the area from the overlay to EOL (regexp match #1)
+ ;; for the modification guard and the newline itself (regexp
;; match #2) for the annotation.
(re-search-forward "\\(.*\\(\n\\)\\)" limit t))))
@@ -797,17 +797,17 @@ to 'maximum-width'."
(setq bol (1- bol)))
(setq overlays
(sort (cl-remove-if (lambda (a) (or (not (annotationp a))
- ;; if an annotated
- ;; text contains a
- ;; newline (is a
+ ;; if an annotated
+ ;; text contains a
+ ;; newline (is a
;; multiline one) do
- ;; not add
+ ;; not add
;; annotation for it
;; here (i.e. remove
- ;; from that list),
- ;; this annotation
- ;; will be shown on
- ;; the next newline
+ ;; from that list),
+ ;; this annotation
+ ;; will be shown on
+ ;; the next newline
;; instead
(<= (overlay-start a)
newline-position
@@ -815,9 +815,9 @@ to 'maximum-width'."
(overlays-in bol eol))
(lambda (x y)
(< (overlay-end x) (overlay-end y)))))
- ;; configure each annotation's properties and place it on the
- ;; the window. The actual position of the annotation (newline
- ;; or right marigin) is indicated by the value of the
+ ;; configure each annotation's properties and place it on the
+ ;; the window. The actual position of the annotation (newline
+ ;; or right marigin) is indicated by the value of the
;; variable: `annotate-annotation-position-policy'.
(dolist (ov overlays)
(let* ((face (if (= (cl-rem annotation-counter 2) 0)
@@ -933,7 +933,7 @@ an overlay and it's annotation."
;;; database related procedures
(defun annotate-info-actual-filename ()
- "The info filename that feed this buffer or nil if not this
+ "The info filename that feed this buffer or nil if not this
buffer is not on info-mode"
(annotate-guess-filename-for-dump Info-current-file nil))
@@ -1723,8 +1723,8 @@ summary window is shown")
(cl-defun annotate-summary-lexer (&optional (look-ahead-p nil))
"The lexer for `annotate-summary-query'.
-This function, when called, will produce the next token from
-`annotate-summary-query'; a token is a substring with a well
+This function, when called, will produce the next token from
+`annotate-summary-query'; a token is a substring with a well
defined meaning according to our grammar.
For example this string:
@@ -1755,13 +1755,13 @@ The format is a proper list where:
the substring limits for this token (as returned by
`match-beginning' and `match-end'
-Note that spaces are ignored and all the tokens except `re' must
+Note that spaces are ignored and all the tokens except `re' must
not be prefixed with a backslash to match. So, for example not ->
will match the token type 'not but \not will match the token 're;
-this way we can 'protect' a regexp that contains reserved
+this way we can 'protect' a regexp that contains reserved
keyword (aka escaping).
-the special value :no-more-token is returned after the whole
+The special value :no-more-token is returned after the whole
input is processed.
Calling this function with value of `look-ahead-p' nil will `consume' the
token from
@@ -1922,16 +1922,16 @@ Arguments:
(annotate-summary-lexer) ; consume the token 'not'
;; the note after the 'not' operator in rule
;; NOTE := NOT NOTE
- ;; the third argument is the value to return if
+ ;; the third argument is the value to return if
;; there are no more token left in the input string
(let ((res (annotate-summary-query-parse-note filter-fn
annotation :error))) ; recurse
- ;; if there are no more tokens here this is an error
- ;; because, according to the grammar, after a NOT a
+ ;; if there are no more tokens here this is an error
+ ;; because, according to the grammar, after a NOT a
;; NOTE is non optional
(if (eq :error res)
(error "No more input after 'not'")
- ;; if the last rule (saved in res) is not nil (and
- ;; is not :error) return nil, return the last
+ ;; if the last rule (saved in res) is not nil (and
+ ;; is not :error) return nil, return the last
;; annotation otherwise remember that the user asked
;; for an annotation that *not* matches a regex
(if (null res)
@@ -1954,7 +1954,7 @@ Arguments:
(rhs (annotate-summary-query-parse-note filter-fn
annotation :error))) ; recurse
(if (eq :error rhs)
(error "No more input after 'or'")
- (or lhs rhs)))) ; either lhs or rhs match as this is a
logic or
+ (or lhs rhs)))) ; either lhs or rhs match as this is a logic
or
((token-symbol-match-p 'escaped-re look-ahead)
;; here we match the rule:
;; NOTE := ESCAPED-RE
@@ -2044,24 +2044,24 @@ Note: this function return the annotation part of the
record, see
((eq operator 'or) ; operator is 'or
;; try to parse with the rule
;; EXPRESSION := FILE-MASK OR NOTE
- ;; return only the list annotation filtered by
+ ;; return only the list annotation filtered by
;; file-mask the former is non nil
(if filtered-annotation
(annotate-annotations-from-dump filtered-annotation)
- ;; the annotation filtered by file-mask is empty, try to
+ ;; the annotation filtered by file-mask is empty, try to
;; match the NOTE rule
(let ((look-ahead (annotate-summary-lexer t)))
- ;; no more input after operator this is wrong
- ;; according to the rule we are trying to match:
+ ;; no more input after operator this is wrong
+ ;; according to the rule we are trying to match:
;; EXPRESSION := FILE-MASK OR NOTE
(if (annotate-summary-query-parse-end-input-p look-ahead)
(error "No more input after 'or'")
(progn
- ;; copy the string for note parsing note
+ ;; copy the string for note parsing note
;; that annotate-summary-query only contains
;; the substring to match the NOTE rule
(setf query-notes-only (concat
annotate-summary-query))
- ;; parse all the annotations, we get a list
+ ;; parse all the annotations, we get a list
;; where non nil elements are the annotation
;; that passes the note-filter-fn test
(mapcar (lambda (a)
@@ -2073,13 +2073,13 @@ Note: this function return the annotation part of the
record, see
;; try to parse with the rule
;; EXPRESSION := FILE-MASK OR NOTE
(let ((look-ahead (annotate-summary-lexer t)))
- ;; no more input after operator, this is wrong
- ;; according to the rule we are trying to match:
+ ;; no more input after operator, this is wrong
+ ;; according to the rule we are trying to match:
;; EXPRESSION := FILE-MASK AND NOTE
(if (annotate-summary-query-parse-end-input-p look-ahead)
(error "No more input after 'and'")
(progn
- ;; copy the string for note parsing note
+ ;; copy the string for note parsing note
;; that annotate-summary-query only contains
;; the substring to match the NOTE rule
(setf query-notes-only (concat annotate-summary-query))
@@ -2092,7 +2092,7 @@ Note: this function return the annotation part of the
record, see
a)))
(annotate-annotations-from-dump
filtered-annotation))))))
(t
- ;; there is something after the file-mask in the
+ ;; there is something after the file-mask in the
;; input but it is not an operator
(error (format "Unknown operator: %s is not in '(and, or)"
(annotate-summary-query-lexer-string
operator-token)))))))))))))
- [nongnu] elpa/annotate 1f9899071f 138/372: - made recongnizable code that refers to info file annotation. (3/3), (continued)
- [nongnu] elpa/annotate 1f9899071f 138/372: - made recongnizable code that refers to info file annotation. (3/3), ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4629a0ad34 148/372: Merge pull request #51 from cage2/filter-summary-window-results, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4372e9ea20 147/372: - changed escaping mechanism;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6948bfe686 146/372: - minor fix in comments., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b116d3125a 149/372: - added the chance to delete annotation and modify the annotated text, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3e76557cf7 154/372: Merge pull request #53 from cage2/summary-win-delete-replace-annotation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9cc55145de 150/372: - shown, when editing annotation in summary window and asking user to, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a370187f0b 151/372: - initial working on placing an annotation on its own line if too long., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2292d5c6c8 160/372: - changed variable name from: 'text' to a more meaningful 'annotated text'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 54d112e8d3 174/372: [bugfix] mitigated bug that prevented rendering of annotation when, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 91412e5d65 175/372: - removed multiple, consecutive, spaces in comments.,
ELPA Syncer <=
- [nongnu] elpa/annotate ed6a7dd7cc 180/372: - prevented fails of fontification of annotated regions, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e4a7750e8c 183/372: - prevented overlapping of annotations when a symbol is already, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate eaffc1eba1 185/372: - mark buffer as modified even if the only action the user performed, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7cf7f46be0 191/372: - removed duplicated function., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9c2bf1bd36 192/372: - used the correct functions when recurse., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 78fc74289f 194/372: - use iteration instead of recursion in, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2dabb8d886 196/372: Merge branch 'master' into rethink-multiline-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e1a0917d98 197/372: - fixed 'annotate-previous-annotation-ends' and 'annotate-next-annotation-ends', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e7ca823566 201/372: Merge branch 'master' into org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2cf1a0b6d2 199/372: Merge branch 'master' into rethink-multiline-annotations, ELPA Syncer, 2022/02/04