From bc07248695d8e9038d3efcf9388296fd8a8996dd Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 5 Sep 2021 19:21:10 +0200 Subject: Update some notes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- guides/cloud/vps.org | 2 +- itches/emacs/tracker.org | 10 ++++------ 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 -- cgit v1.2.3