When indenting a line, point is moved synchronously to keep the current position
relative to the surrounding text. This works well when the indentation level is
increased (point is moved to the right then), but when the indentation level is
decreased (point is moved to the left), it might happen that point is moved
beyond the beginning of the current line, positioning it somewhere on the
previous line or even before that. This commit fixes this undesired behavior by
never moving point before the beginning of the current line.
* 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