Mark Oteiza
7769000ba6
bump to 0.4.1
2016-09-28 22:56:56 -04:00
Mark Oteiza
a73c16aac0
nix LOCAL argument for adding to company-backends
2016-09-27 12:11:38 -04:00
Mark Oteiza
16be18350c
don't indiscriminately use relative file name
2016-09-27 12:07:08 -04:00
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
b03e616f0d
bump
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
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
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
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
aa9f4f64e9
update commentary
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
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
2015-09-10 11:30:57 -04:00
Mark Oteiza
d7a9c1dd9f
fontify "-" and "@" prefixes
2015-09-10 11:29:54 -04:00
Mark Oteiza
d03b70c121
derive from conf-mode
2015-09-03 17:03:44 -04:00
Mark Oteiza
f69d903fee
add missing network directives
2015-08-05 12:49:21 -04:00
Mark Oteiza
968ae5ee04
bump for bug fix
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
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
347c157be3
lexical binding
2015-05-11 09:28:11 -04:00
Mark Oteiza
ed00e3f620
require 24.4 (with-eval-after-load)
2015-05-11 09:20:09 -04:00
Mark Oteiza
00a2520f65
add Package-Requires for emacs 24.3 (setq-local)
2015-05-10 18:24:42 -04:00
Mark Oteiza
612c3dedd9
double bump
2015-04-25 18:21:53 -04:00
Mark Oteiza
50c63c23aa
allow cycling completions in systemd-doc-open
2015-04-25 18:07:32 -04:00
Mark Oteiza
ac11adf599
add tunable for using either man or woman
2015-04-25 17:00:20 -04:00
Mark Oteiza
5b6898630d
add C-c C-d for opening systemd.directives(7)
2015-04-25 16:02:54 -04:00
Mark Oteiza
7ef42d5d44
adopt browse url function from lua-mode.el
2015-04-25 00:25:43 -04:00
Mark Oteiza
55ff3e35c7
mention company-mode in commentary
2015-04-16 23:58:22 -04:00
Mark Oteiza
a46e81b0e9
autoload for slice units
2015-04-14 14:36:55 -04:00
Mark Oteiza
6b0878e23a
add autoload for drop-ins with systemctl edit
2015-04-14 14:12:57 -04:00
Mark Oteiza
e385575241
initial company support for directives
2015-04-13 21:41:13 -04:00