commit 2ec71ad47776e67fc1087cbd9e30d6c0f61f7c89 parent 7930381de59ccc9e6a4753a794bd52522cb10464 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sun, 29 Aug 2021 23:29:09 +0200 Stratch an itch Diffstat:
| M | itches/emacs/language-support.org | | | 17 | ----------------- |
| M | itches/emacs/tracker.org | | | 20 | ++++++++++++++++++++ |
2 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/itches/emacs/language-support.org b/itches/emacs/language-support.org @@ -18,23 +18,6 @@ Users could customize it or set it with directory-local variables. E.g. ="an ${expression} that should be highlighted"=. ** Do not highlight single-quoted command substitutions E.g. ='this $(call) should not be highlighted'=. -** Fix indentation on continuation lines -#+begin_src shell -# cf -# - electric-indent-post-self-insert-function -# - indent-according-to-mode -# - indent-line-function => smie-indent-line -# - smie-indent-functions -# - smie-indent-exps -# => calls smie-backward-sexp, which does not skip over ${foo} -foobar \ - indentis4 -foo_bar \ - indentisstill4 -${foo}bar \ - indentisfoobar -#+end_src -Reported by Dario Gjorgjevski in bug#44592. * TeX diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org @@ -298,6 +298,26 @@ Currently items are filled like this: Adding =\\[.\\]= to the regexp used in org-list-item-body-column allows "ipsum" to be aligned below "lorem". **** TODO Prevent ~#+end_src~ background from extending to end-of-line when folded +*** Programming modes +**** ~sh-mode~ +***** DONE Tweak indentation of continuation lines +:PROPERTIES: +:PatchApplied: t +:TestAdded: t +:END: +Piggybacking on Dario Gjorgjevski's [[bug:44592]] to fix these cases: +#+begin_src shell +${foo}bar \ + --arg +$(foo)bar \ + --arg + +${foo}bar --arg1 \ + --arg2 +$(foo)bar --arg1 \ + --arg2 +#+end_src + ** Minor modes *** electric-pair **** DONE [[bug:39680]] electric-pair-mode broken by undo