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
Mark Oteiza
7bdb35abc2
mention package archive in README
2015-05-12 22:42:27 -04:00
Mark Oteiza
347c157be3
lexical binding
2015-05-11 09:28:11 -04:00
Mark Oteiza
09bfb6791e
explicitly require cl-lib
2015-05-11 09:27:40 -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
v1.2
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
2a27186ee0
format the list more programmatically
...
repeat procedure for systemd 219
2015-04-25 15:33:02 -04:00
Mark Oteiza
b60ccd5c53
point to commentary from README
2015-04-25 14:52:47 -04:00
Mark Oteiza
e7a2efbac3
mention package-install-file in README
2015-04-25 14:48:43 -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
c22a2ff4fe
update Makefile
2015-04-15 17:37:36 -04:00