HEmP

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

30 check-ins related to "util"

2021-09-13
08:21
Rename special variable mashfile-mash-invocation mashfile-mash-program. ‘-program’ is the conventional suffix used for external programs and special variables ending this way are automatically considered risky. Replace the ‘defvar-local’ forms defining mashfile-output-buffer-pre-mash-hooks & mashfile-output-buffer-post-mash-hooks with ‘defcustom’ forms. (Special variables ending with ‘-hooks’ are also considered risky). Mark special variables mashfile-erase-output-buffer-p & mashfile-honour-value-of-sh-shell-p as safe when satisfying ‘booleanp’. Leaf check-in: 627eb2f6fa user: sebyte tags: util
2021-08-28
13:38
Change name of target 'all' to 'code'. check-in: 186df72d42 user: sebyte tags: util
2021-08-04
12:46
Add 'Path' to the list of words which trigger completion and fix a bug preventing the 'erase output buffer' option from working properly. check-in: c366fddc9e user: sebyte tags: util
2021-06-27
07:46
Implement completion on file or directory names. check-in: bf02062b1b user: sebyte tags: util
2021-06-25
16:46
Implement the asterix ICTP, allowing a user to pass as many arguments to a target as are necessary. check-in: 38feb8f5f6 user: sebyte tags: util
2021-06-20
08:17
Add a TODO. check-in: 241fd5e052 user: sebyte tags: util
07:35
Rewrite examples to improve clarity and consistency. check-in: d989177bf2 user: sebyte tags: util
2021-06-19
10:24
Move the examples of how to write in-commentary target parameters (ICTPs) to their own file. In mashfile-mode.el, improve the leading commentary and the commentary within function mashfile-parse-delimited-content. check-in: 43b97cf829 user: sebyte tags: util
2021-06-18
03:11
No longer treat literal target params differently, i.e. have function mashfile-read-argument _always_ pass its arguments to mashfile-parse-delimited-content. The effect of this change is greater convenience. For example, a required, named parameter may be changed to a literal (named) parameter simply by swapping angle brackets for parentheses. Beforehand, to become a literal parameter, the name had to be removed. check-in: 60cbe686f2 user: sebyte tags: util
2021-05-04
09:14
Fix a logic error in function mashfile-prepare-output-buffer which prevented the reuse of the highest numbered, unused, secondary output buffer. check-in: b724f27256 user: sebyte tags: util
2021-04-03
17:49
Add util-loadefs.el as a prerequisite of target all. check-in: 6dc2944507 user: sebyte tags: util
2021-03-11
09:29
Add in-tree settings following https://www.fossil-scm.org/forum/forumpost/3eedc2b52a. check-in: 3a6bf74a15 user: sebyte tags: util
2021-03-03
11:17
Add Makefile. Add magic autoload cookies to mashfile-mode.el & pb.el. Add auto-generated file util-loaddefs.el. check-in: 1da0dea514 user: sebyte tags: util
08:24
Discard user-customizable variable mashfile-sentinel-insert-form-feed-p. (This should have been done in commit 3693791737, when the call to insert was moved). check-in: 629f464084 user: sebyte tags: util
2021-03-01
15:39
Add buffer local variables mashfile-output-buffer-pre-mash-hooks & mashfile-output-buffer-post-mash-hooks and employ in functions mashfile-prepare-output-buffer & mashfile-run-mash, respectively. Silence compiler warnings. check-in: 010dc89b84 user: sebyte tags: util
2021-02-27
12:02
Introduce mash option handling. Add function mashfile-getenv and employ in mashfile-mode to set option `-i' when necessary. Alter mashfile-prepare-output-buffer to insert a form feed before output rather than after it. Discard disabling of key sequence C-c C-c in secondary Mashfiles in function mashfile-mash-file. Attempt to honour the value of Emacs variable sh-shell by employing mash option `-s'. Add function mashfile-set-shell. Rename function mashfile-toggle-debugging-output mashfile-toggle-debugging. Remove half-baked documentation from commentary. check-in: 3693791737 user: sebyte tags: util
2021-02-01
16:30
Add command without keybinding mashfile-toggle-debugging-output. check-in: 7e763c79cc user: sebyte tags: util
12:14
Change keybinding of mashfile-mash-file to `C-c c' (rather than `C-c C-c', used by sh-mode). Add two new interactive commands; mashfile-mash-any-target & mashfile-jump-to-target. Rename function mashfile-target-prompt-line mashfile-current-prompt-line and improve docstring. Move prompt parsing from mashfile-parse-prompt-line to a separate function; mashfile-parse-prompt, add optional argument and update docstring. Employ save-match-data in functions mashfile-leading-param and mashfile-parse-delimited-content. Add delimiters to the minibuffer prompts in function mashfile-read-argument (according to parameter type). Add optional argument to function mashfile-mash-argument-list, disemploy save-match-data, perform parameter order check in a separate pass and update docstring. Add function mashfile-targets and move call to function provide to its proper place at the end of the file. check-in: 8e215e9dc9 user: sebyte tags: util
2021-01-31
18:55
Remove buffer-local property from user customizable variable mashfile-erase-output-buffer-p. Add user customizable variable mashfile-sentinel-insert-form-feed-p. Modify function mashfile-prepare-output-buffer to ensure output is insert at the end of the buffer. Employ mashfile-sentinel-insert-form-feed-p in output buffer sentinel and implement feature. check-in: 981e9c0b6a user: sebyte tags: util
12:41
Add electric parameters (minor) mode. check-in: cd3861482e user: sebyte tags: util
2021-01-30
16:24
Rename condition mashfile-non-optional-follows-optional mashfile-optional-followed-by-non-optional and perform the order check in mashfile-mash-argument-list in a preliminary pass. Demonstrate some of mashfile-mode's features in a Mashfile. Fix license notice disclaimer. check-in: fed929eea6 user: sebyte tags: util
14:56
Group mashfile-conditions, i.e. calls to define-error, within their own section. Replace 'did' with 'does' in condition mashfile-parameters-string-did-not-parse. Simplify doc string of function mashfile-mash-argument-list and, when appropriate, signal condition mashfile-no-target-found. In the license notice, replace "this file" with "mashfile mode" and add the missing disclaimer. check-in: 57af361468 user: sebyte tags: util
2021-01-26
17:36
Rename error mashfile-bad-target-param mashfile-parameters-string-did-not-parse. Add new errors mashfile-parameter-badly-formed & mashfile-non-optional-follows-optional. Add checks described in section TODO (removed) to function mashfile-mash-argument-list. check-in: 556e7d41cd user: sebyte tags: util
12:52
Add an extra example to the commentary and fix function mashfile-mash-argument-list; pass supplied arguments to shell-quote-argument. check-in: 6fcf53b927 user: sebyte tags: util
11:49
Improve the commentary and add an additional TODO. check-in: a9d0c18156 user: sebyte tags: util
2021-01-25
09:23
Mashfile mode provides convenient ways of running mash, the portable shell script, from within Mashfiles. check-in: 4e75eac4a4 user: sebyte tags: util
2021-01-12
11:20
Provide 'pb. check-in: a8a4fb0083 user: sebyte tags: util
2020-04-18
16:39
Improve commentary and add/improve documentation strings. check-in: f90dab512e user: sebyte tags: util
2020-04-14
13:48
Add doc/ directory. check-in: 789c997ee4 user: sebyte tags: util
2020-04-02
13:48
Add utility pb.el, a pianobar Internet radio client interface, plus sample config file. check-in: 17125f5d33 user: sebyte tags: util