From 2ec71ad47776e67fc1087cbd9e30d6c0f61f7c89 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 29 Aug 2021 23:29:09 +0200 Subject: Stratch an itch --- itches/emacs/language-support.org | 17 ----------------- itches/emacs/tracker.org | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 17 deletions(-) (limited to 'itches') diff --git a/itches/emacs/language-support.org b/itches/emacs/language-support.org index 0a0884d..6da5510 100644 --- 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 index cfc47cd..1944f14 100644 --- 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 -- cgit v1.2.3