You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TODO.org
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
** TODO Some docstrings are quite long which lets you pass package-lint and makes for good enough M-x apropos output, but they wrap poorly in M-x help.
1
+
** DONE Some docstrings are quite long which lets you pass package-lint and makes for good enough M-x apropos output, but they wrap poorly in M-x help.
2
2
** DONE "delimiater" -> "delimiter"
3
3
** DONE Since you're using Emacs 25 you can use the string-trim functions (could format-table-trim-row be rewritten as just (string-trim row begin-row end-row)?
4
4
** DONE Could the first conditional in format-table-remove-noise be written either as:
"Pad the string VALUE to the length specified by LENGTH by surrounding with spaces."
80
+
"Pad the string VALUE to the LENGTH specified by surrounding with spaces."
81
81
(let* ((value-length (length value))
82
82
(left-length (/ (-length value-length) 2))
83
83
(right-length (+ left-length
@@ -93,6 +93,9 @@
93
93
(make-string right-length ? ))))
94
94
95
95
(defunformat-table-remove-noise (linesinput-mode)
96
+
"Remove lines which constitute noise, such as empty lines or results count.
97
+
LINES is the list of source lines, split on newlines. INPUT-MODE is used to
98
+
determine what the results count should look like."
96
99
"Given the set of table LINES and some extra information in INPUT-MODE, filter out any empty lines or lines which otherwise do not belong to the table of values."
0 commit comments