summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-08-29 23:29:09 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-08-29 23:29:09 +0200
commit2ec71ad47776e67fc1087cbd9e30d6c0f61f7c89 (patch)
treec2a3c0af8cb58a5789628065943ed4c4741149e9
parent7930381de59ccc9e6a4753a794bd52522cb10464 (diff)
downloadmemory-leaks-2ec71ad47776e67fc1087cbd9e30d6c0f61f7c89.tar.xz
Stratch an itch
-rw-r--r--itches/emacs/language-support.org17
-rw-r--r--itches/emacs/tracker.org20
2 files changed, 20 insertions, 17 deletions
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