In `plantuml-mode`, initialization of the font locking regular expressions is
done by asking the current version of plantuml for its supported keywords,
builtins, etc. Every so often, this might fail for any reason, leaving the
current Emacs session with invalid font lock information for plantuml. Redoing
the initialization process is tedious, as the corresponding function
`plantuml-init-once` does not allow for that to be done easily (one would have
to undefine a lot of global variables to do so).
This commit introduces a force parameter for `plantuml-init-once` to conduct
reinitialization of all font lock information. It also moves regular
expressions meant for indentation out of `plantuml-init-once`, as those are
initialized by literal values that do not depend on any runtime information.
* more robust matching of notes
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
* - allow for white-space and comments after all begin/end indent regexps
- make end indent regexp symmetrical to being regexp allowing for selective
change (e.g., disactivation via non-matching regexp) what is leads to
indentation
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
* - give user some control to override in comments level of indentation
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
* Include configuration warning
* Fiddle with the formatting
* Clearer langauge
* Try to fix internal link
* Move important information to beginning of sentance
* Ensure base64 encoding happens after coding the string with UTF8 (#111)
* Fixes#110
Ensure base64 encoding happens after coding the string with UTF8
* Avoid line breaks in base64 encoding
* Added run mode EXECUTABLE (#102)
* Better version management
* Avoid zero-padding of hours to mimic MELPA
* Use `car` instead of `first`
* Use UTC timezone when setting dates, to align with MELPA
* Ignore java warnings
* Fix tests
* Bump version
* Prepping for the new release
* Bump version after release
* Bumping java version for CI
* Fix emacs 26 build
* Aesthitics, just aesthetics
* Trying to re-enable builds against Emacs master
* Disabling master again
* Ensure base64 encoding happens after coding the string with UTF8 (#111)
* Fixes#110
Ensure base64 encoding happens after coding the string with UTF8
* Avoid line breaks in base64 encoding
* Fix note syntax in tests
* Prepping for v1.4.1
* Make mention of alternative exec modes
* Include configuration warning
* Fiddle with the formatting
* Clearer langauge
* Try to fix internal link
* Move important information to beginning of sentance
* Make mention of alternative exec modes
- make end indent regexp symmetrical to being regexp allowing for selective
change (e.g., disactivation via non-matching regexp) what is leads to
indentation
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
Giving a default value to `plantuml-exec-mode` local var at startup time
is wrong. This change keeps the local var to `nil` and resorts to the
customizable `plantuml-default-exec-mode`. The local var can be set by users
at will on a buffer local level, but without such an explicit opt-in then the
default value is always used