Mark Oteiza
0e793b05e2
put the quotes back. faces are symbols
...
font-lock.el is an exception wrt defvar'ing faces, not the rule
2016-06-28 23:48:17 -04:00
Mark Oteiza
2e1f7394f1
update readme
2016-06-12 00:44:49 -04:00
Mark Oteiza
a08af4c52b
systemd 230 directives
2016-06-12 00:43:45 -04:00
Mark Oteiza
b03e616f0d
bump
v1.4
2016-05-14 10:15:10 -04:00
Mark Oteiza
fe443ac8ca
use font-lock-defaults to disable syntax highlighting
2016-05-12 20:25:07 -04:00
Mark Oteiza
378eb3642c
nix some quotes. use some rx
2016-05-10 01:09:31 -04:00
Mark Oteiza
63d64ad4e6
generate directive lists from files
2016-05-07 15:49:25 -04:00
Mark Oteiza
f74f3c8520
add to buffer-local hooks
2016-05-02 13:36:10 -04:00
Mark Oteiza
921f8d0df8
nix systemd-use-company-p
2016-05-02 13:12:02 -04:00
Mark Oteiza
de5da7fce7
update Makefile
2016-05-02 13:06:16 -04:00
Mark Oteiza
bd1b86eecd
woops!
2016-05-02 12:07:06 -04:00
Mark Oteiza
ff523bc3da
woops
2016-05-01 15:18:56 -04:00
Mark Oteiza
6fd29c5c85
font lock keywords: comments and sections
...
* let comments be prefixed with whitespace
* match ignored "X-" section headers
2016-05-01 13:58:47 -04:00
Mark Oteiza
5cb70eb684
change dropin filename restrictions
...
* do not match in .d/ subdirectories
* there are no restrictions on dropin config file base names
2016-05-01 13:06:14 -04:00
Mark Oteiza
b004b3725a
autoload sorcery
2016-05-01 13:05:08 -04:00
Mark Oteiza
35801910e7
add autoload regex tests
2016-05-01 12:48:59 -04:00
Mark Oteiza
f3066147a1
dang spaces
2016-05-01 00:40:10 -04:00
Mark Oteiza
cd22a2c250
use a-zA-Z0-9
...
the alphanum class matches multibyte characters, and matching only
alphanumeric ASCII is what is desired here
2016-04-30 22:15:24 -04:00
Mark Oteiza
4121a9a37b
section names can be prefixed with X-
2016-04-30 18:07:27 -04:00
Mark Oteiza
a434645e76
improvements to autoload regexen
...
many thanks to @Lompik
* don't match empty unit names. AIUI unit names are alphanumeric with
the exception of the group [-_.@], non ascii are backslash-escaped.
* more strictly match temp file names: .# prefix, [[:hexdigit:]]{16}
suffix. the filenames are a unit name with a unit suffix (systemctl
edit --full) or just override.conf (edit without --full option)
* add regex for dropin config files. This is just a file with ".conf"
extension, with the added constraint that it's a file having some
parent directory named "systemd"
2016-04-30 17:56:25 -04:00
Mark Oteiza
bf39be20e4
assimilate systemd-company.el into systemd.el
...
hopefully didn't break everything \o/
* eventual goal is to have the large lists generated at byte compile
time from the text files now present in the repo. updating the lists
in lisp is very annoying
* capf completion now exists and draws from the same infrastructure
* added capability to add a "=" after company completion of a directive
* systemd-use-company-p still works, but does not need to exist
2016-04-30 00:09:57 -04:00
Mark Oteiza
9fc054586d
move systemd-font-lock-keywords
2016-04-29 12:40:17 -04:00
Mark Oteiza
070e15e4c0
autoload temp files generated by sd's tempfn_random
...
* adds 16 random hex digits to the end of file name
* instead of a bunch of autoloads, draw regexp into a pair of defconst
* not sure how to splice a reusable list of extensions into an rx call,
which would be nicer than duplicating it
2016-04-29 10:20:50 -04:00
Mark Oteiza
a86323e90b
v229
2016-03-22 23:26:07 -04:00
Mark Oteiza
3eb93907de
add lists of directives
2016-03-22 23:20:32 -04:00
Mark Oteiza
dbf78305d4
happy new year
2016-01-01 02:34:11 -05:00
Mark Oteiza
26de1dd6f4
don't turn on company by default
2015-11-28 00:32:24 -05:00
Mark Oteiza
a2ec338fa6
use loop
2015-11-27 23:48:13 -05:00
Mark Oteiza
1513dd0fa4
systemd 228
2015-11-27 23:47:33 -05:00
Mark Oteiza
aa9f4f64e9
update commentary
v1.3.1
2015-09-28 09:09:41 -04:00
Mark Oteiza
0f2f9361e4
clarify parent mode hooks
2015-09-28 08:19:12 -04:00
Mark Oteiza
1a7af1239b
no strings with single quotes either
2015-09-25 08:35:36 -04:00
Mark Oteiza
602d9d334d
reword some commentary
2015-09-21 13:27:39 -04:00
Mark Oteiza
05dd16c861
systemd 226
2015-09-21 13:24:59 -04:00
Mark Oteiza
6f2e31ed7c
add a mode menu
2015-09-20 23:12:40 -04:00
Mark Oteiza
175d45fee6
checkdoc
2015-09-20 23:05:39 -04:00
Mark Oteiza
6071c2349c
version 1.3
v1.3
2015-09-10 11:30:57 -04:00
Mark Oteiza
d7a9c1dd9f
fontify "-" and "@" prefixes
2015-09-10 11:29:54 -04:00
Mark Oteiza
807c748e28
systemd 225
2015-09-05 00:24:56 -04:00
Mark Oteiza
d03b70c121
derive from conf-mode
2015-09-03 17:03:44 -04:00
Mark Oteiza
0c871fc508
Use four different candidate lists:
...
Section vs directive, normal unit vs network configuration
2015-09-03 17:03:40 -04:00
Mark Oteiza
57dcf5a90e
for some reason, this directive is missing
2015-09-02 14:48:40 -04:00
Mark Oteiza
f69d903fee
add missing network directives
v1.2.2
2015-08-05 12:49:21 -04:00
Mark Oteiza
968ae5ee04
bump for bug fix
v1.2.1
2015-05-30 09:55:35 -04:00
Mark Oteiza
8e6a8cec7f
remove backslash escapes from doc completions
2015-05-30 09:36:35 -04:00
Mark Oteiza
ef2436044b
spaces unneeded in syntax table modifications
2015-05-30 09:36:08 -04:00
Mark Oteiza
077b2946ab
no change in systemd 220
2015-05-30 09:35:06 -04:00
Mark Oteiza
2b70f833fd
these groups need not be nested
2015-05-30 09:34:34 -04:00
Mark Oteiza
cf435f40ef
convolute sexp
2015-05-30 09:31:27 -04:00
Mark Oteiza
eaaf16f229
fix indentation
2015-05-30 09:22:07 -04:00