[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rec-mode 1f0916b 02/98: Trailing blanks removed.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/rec-mode 1f0916b 02/98: Trailing blanks removed. |
Date: |
Thu, 12 Nov 2020 13:18:28 -0500 (EST) |
branch: externals/rec-mode
commit 1f0916bbfea7f5d708b765e1d840203a647126e3
Author: Jose E. Marchesi <jemarch@gnu.org>
Commit: Antoine Kalmbach <ane@iki.fi>
Trailing blanks removed.
---
etc/rec-mode.el | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index ed83d55..ddef01e 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -274,7 +274,7 @@ nil"
(defun rec-insert-comment (comment)
"Insert the written form of COMMENT in the current buffer"
- (when (and (listp comment)
+ (when (and (listp comment)
(equal (car comment) 'comment))
(insert (cadr comment))))
@@ -423,7 +423,7 @@ If no such field exists in RECORD then nil is returned."
(setq value (buffer-substring-no-properties (point-min)
(point-max))))
(setcar (cddr field) value))))
-
+
;;;; Get entities under pointer
;;
;; Those functions retrieve structures of the entities under pointer
@@ -633,7 +633,7 @@ If the type do not exist in the current buffer then
this function returns nil."
(if (or (not type)
(equal type ""))
- ;; If there is a regular record in the
+ ;; If there is a regular record in the
;; beginning of the file, go there.
(if (save-excursion
(goto-char (point-min))
@@ -699,7 +699,7 @@ file."
(rec-end-of-record)
(when (re-search-forward rec-comment-field-re nil t)
(match-beginning 0)))))
- (when pos
+ (when pos
(goto-char pos)
t)))
@@ -796,14 +796,14 @@ the list of records."
"XXX"
(let (res)
(rec-do (lambda ()
- (setq res
+ (setq res
(cons (funcall rec-map-func)
res))
t)
type
descriptors)
(reverse res)))
-
+
(defun rec-regular-p ()
"Return t if the record under point is a regular record.
Return nil otherwise."
@@ -847,7 +847,7 @@ Return nil if the point is not on a record."
(if found
descriptor
""))))
-
+
;;;; Searching functions
(defun rec-search-first (type name value)
@@ -912,7 +912,7 @@ the result buffer."
;; Insert the type descriptor
(rec-insert-record (cadr descriptor)))
(insert "\n")
- (setq inserted-types
+ (setq inserted-types
(cons type inserted-types)))
(rec-insert-record rec what)
(insert "\n")))))
@@ -1025,7 +1025,7 @@ Each character should identify only one name."
(list "Generic search" ?E))
;; Add custom searches
(append search-list
- (mapcar
+ (mapcar
(lambda (elem)
(if (and (listp elem)
(>= (length elem) 4))
@@ -1053,7 +1053,7 @@ Each character should identify only one name."
(add-to-list 'res
(list (aref (car letter) 0)
(car name)
- (mapcar (lambda (elem)
+ (mapcar (lambda (elem)
(rec-parse-field-name-from-string
elem)) fields)
(read (car expr))
type)))
@@ -1249,7 +1249,7 @@ buffer"
value))
(goto-char prev-pointer)))
(rec-init-selections))
-
+
(defun rec-beginning-of-field ()
"Goto to the beginning of the current field"
(interactive)
@@ -1353,7 +1353,7 @@ the file. Interactive version."
(rec-goto-previous-rec))
(unless rec-editing
(rec-show-record)))
-
+
(defun rec-cmd-jump ()
"Jump to the first record containing the reference under
point."
@@ -1400,7 +1400,7 @@ point."
(rec-show-record))
(setq rec-jump-back nil))
(message "No previous position to jump")))
-
+
(defun rec-edit-record ()
"Go to the record edition mode"
(interactive)
@@ -1542,16 +1542,16 @@ the first character of the line being part of the
value."
(interactive)
(beginning-of-line)
;; Skip a field name or a continuation line.
- (cond
+ (cond
((looking-at rec-field-name-re)
(rec-parse-field-name)
(when (looking-at " ") (forward-char 1)))
((looking-at "\+ ?")
(forward-char 1)
(when (looking-at " ") (forward-char 1)))))
-
+
;;;; Definition of modes
-
+
(defun rec-mode ()
"A major mode for editing rec files.
- [elpa] branch externals/rec-mode created (now d0e8456), Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 1f0916b 02/98: Trailing blanks removed.,
Stefan Monnier <=
- [elpa] externals/rec-mode 785b4b8 04/98: misc changes to rec-mode.el, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 969c03a 01/98: experimental/rec-mode.el renamed to etc/rec-mode.el, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 0731ca5 11/98: ob-rec.el imported in the repo., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode a1e21e1 14/98: Added %typedef to the list of keywords., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 06ec5c5 17/98: ob-rec: support for :sort and minor fixes., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 2f8aa87 16/98: ob-rec: support for :sort and minor fixes., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode fbd02a9 24/98: rec-mode: field names are no longer lists of parts., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 0b52532 18/98: ob-rec: support for :sort and minor fixes., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 18e9e4a 23/98: rec-mode: editing of individual fields now works., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 424eb72 25/98: rec-mode: fixes in goto-type and show-type., Stefan Monnier, 2020/11/12