summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-09-05 19:21:10 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-09-05 19:21:10 +0200
commitbc07248695d8e9038d3efcf9388296fd8a8996dd (patch)
treeca3eb7314c0083bca75ed33ade294c5b57e7927d
parent2ec71ad47776e67fc1087cbd9e30d6c0f61f7c89 (diff)
downloadmemory-leaks-bc07248695d8e9038d3efcf9388296fd8a8996dd.tar.xz
Update some notes
- tweak bogus $(groups | …) command, which happened to work because "debian" was the first group that showed up in the output - "re-open" sh-mode itch
-rw-r--r--guides/cloud/vps.org2
-rw-r--r--itches/emacs/tracker.org10
2 files changed, 5 insertions, 7 deletions
diff --git a/guides/cloud/vps.org b/guides/cloud/vps.org
index 71fda14..c73a7b9 100644
--- a/guides/cloud/vps.org
+++ b/guides/cloud/vps.org
@@ -26,7 +26,7 @@ So instead, I'll
- create my own user account: ~sudo adduser $name~
- add it to all groups =debian= belongs to:
#+begin_src sh
- groups=$(groups | sed -e 's/ *debian *//' -e 's/ /,/g')
+ groups=$(groups | tr ' ' '\n' | grep -v debian | paste -sd,)
sudo usermod --append --groups ${groups} ${name}
#+end_src
- only allow password authentication over SSH for this new user
diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org
index 1944f14..33f1ce1 100644
--- a/itches/emacs/tracker.org
+++ b/itches/emacs/tracker.org
@@ -300,12 +300,8 @@ 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:
+***** TODO Tweak indentation of continuation lines
+Attempted to piggyback on Dario Gjorgjevski's [[bug:44592]] to fix these cases:
#+begin_src shell
${foo}bar \
--arg
@@ -318,6 +314,8 @@ $(foo)bar --arg1 \
--arg2
#+end_src
+Unfortunately my attempt was [[bug:50320][too naive]] and got reverted. I'll have to
+[[https://lists.gnu.org/archive/html/help-gnu-emacs/2021-09/msg00004.html][dig into SMIE]] more seriously…
** Minor modes
*** electric-pair
**** DONE [[bug:39680]] electric-pair-mode broken by undo