Commit Graph

283 Commits

Author SHA1 Message Date
Daniel Borchmann dbb6025d55
Move point at most to beginning of line when indenting
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.
2021-07-22 21:26:01 +02:00
Joost Diepenmaat ea45a13707 Indentation improvements (#117)
* Allow easier customization of indentation level

* correctly indent repeat construct

* Indent forks and loops for activity syntax. Test notes
2019-11-02 21:56:47 +01:00
excalamus fec1d4fb9d Quick intro and warning to README (#112)
* 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
2019-10-19 16:50:00 +02:00
Sumire a86abaf749 Fix arguments for jar (#116) 2019-10-19 15:09:19 +02:00
Carlo Sciolla 1590a75da6
Snapshot release 2019-09-05 10:38:56 +02:00
Carlo Sciolla 2fd42ff701
Detect JDK version and modify java args accordingly 2019-09-04 23:32:28 +02:00
Carlo Sciolla 5889166b6c
Prepping for v1.4.1 2019-09-03 23:24:56 +02:00
Carlo Sciolla 7a1d7ab1ca
Merge branch 'fix-105' into develop 2019-09-03 23:13:06 +02:00
Carlo Sciolla bea66129a9
Fix note syntax in tests 2019-09-03 23:12:48 +02:00
Carlo Sciolla 4f899a4495
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
2019-09-03 23:06:47 +02:00
Carlo Sciolla 252e2c3ce8
Disabling master again 2019-09-03 23:06:47 +02:00
Carlo Sciolla 11b78ff62e
Trying to re-enable builds against Emacs master 2019-09-03 23:06:47 +02:00
Carlo Sciolla 4349011ed7
Aesthitics, just aesthetics 2019-09-03 23:06:46 +02:00
Carlo Sciolla 2954c15322
Fix emacs 26 build 2019-09-03 23:06:46 +02:00
Carlo Sciolla a6545435cd
Bumping java version for CI 2019-09-03 23:06:46 +02:00
Carlo Sciolla 1a11576f4a
Bump version after release 2019-09-03 23:06:45 +02:00
Carlo Sciolla df0d718981
Prepping for the new release 2019-09-03 23:06:45 +02:00
Carlo Sciolla 271f468edd
Bump version 2019-09-03 23:06:45 +02:00
Carlo Sciolla b0be4182fb
Fix tests 2019-09-03 23:06:44 +02:00
Carlo Sciolla 76b14086e8
Ignore java warnings 2019-09-03 23:06:44 +02:00
Carlo Sciolla f04480dcba
Use UTC timezone when setting dates, to align with MELPA 2019-09-03 23:06:44 +02:00
Carlo Sciolla 2bd72f7ae6
Use `car` instead of `first` 2019-09-03 23:06:43 +02:00
Carlo Sciolla 914e0526d9
Avoid zero-padding of hours to mimic MELPA 2019-09-03 23:06:43 +02:00
Carlo Sciolla 60e4d3ec6e
Better version management 2019-09-03 23:06:43 +02:00
Felix Weilbach 7eb6167eb8
Added run mode EXECUTABLE (#102) 2019-09-03 23:06:42 +02:00
Carlo Sciolla 19e268c0cb
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
2019-08-30 22:54:26 +02:00
Carlo Sciolla 2f8170b30b
Disabling master again 2019-08-25 11:03:29 +02:00
Carlo Sciolla 14daefbb2f
Trying to re-enable builds against Emacs master 2019-08-25 10:37:51 +02:00
Carlo Sciolla 47156fac58
Aesthitics, just aesthetics 2019-08-22 16:03:53 +02:00
Carlo Sciolla 95428d2e2e
Fix emacs 26 build 2019-08-22 11:31:36 +02:00
Carlo Sciolla b43249e1aa
Bumping java version for CI 2019-08-21 17:20:22 +02:00
Carlo Sciolla 39a109ffe6
Bump version after release 2019-08-21 16:47:52 +02:00
Carlo Sciolla b39c310e9c
Prepping for the new release 2019-08-21 16:42:54 +02:00
Carlo Sciolla f7e3af35e8
Merge branch 'develop' 2019-08-21 16:41:38 +02:00
Carlo Sciolla ae8593d662
Bump version 2019-08-21 14:34:02 +02:00
Carlo Sciolla 36e0abac58
Merge branch 'issue106' into develop 2019-08-21 14:31:52 +02:00
Carlo Sciolla beb4dfc726
Fix tests 2019-08-21 14:27:26 +02:00
Carlo Sciolla 7c1d6d3891
Merge branch 'issue107' into develop 2019-08-21 14:19:54 +02:00
Carlo Sciolla 08b783aee6
Ignore java warnings 2019-08-21 14:18:20 +02:00
Carlo Sciolla 04110d0110
Use UTC timezone when setting dates, to align with MELPA 2019-08-21 12:11:36 +02:00
Carlo Sciolla 5a6ed6c5a2
Use `car` instead of `first` 2019-08-21 11:29:20 +02:00
Carlo Sciolla 4a908c2279
Avoid zero-padding of hours to mimic MELPA 2019-08-21 11:19:37 +02:00
Carlo Sciolla a822c551b8
Better version management 2019-08-21 10:55:50 +02:00
Felix Weilbach 9cba6835fd Added run mode EXECUTABLE (#102) 2019-08-19 14:10:35 +02:00
Michael Steiner cbd7fa4c6b - give user some control to override in comments level of indentation
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
2019-08-12 12:01:26 -07:00
Michael Steiner 80b554e871 - 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>
2019-08-12 12:01:12 -07:00
Michael Steiner c32493229d more robust matching of notes
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
2019-08-12 10:17:50 -07:00
Carlo Sciolla 1e5f8beedd
Fix switching between modes (#104)
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
2019-08-12 17:40:00 +02:00
Carlo Sciolla d11bd57f31
Removed broken link 2019-08-12 17:14:45 +02:00
Carlo Sciolla 0ae3aed095
Avoid breaking long lines on base64 encoding
Spotted by @alexvs11 as a solution to #101
2019-08-03 16:03:25 +02:00