From 837dd1502624fb73e4784155b2c21b442d7397c6 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 27 Nov 2021 23:20:12 +0100 Subject: Do some minor touch-ups --- itches/emacs/interpreters.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'itches') diff --git a/itches/emacs/interpreters.org b/itches/emacs/interpreters.org index df1cea0..258d92c 100644 --- a/itches/emacs/interpreters.org +++ b/itches/emacs/interpreters.org @@ -1,6 +1,6 @@ * Shell -** Add faces instead of reusing font-lock-{comment,string}. -** Improve directory tracking. +** Add faces instead of reusing font-lock-{comment,string} +** Improve directory tracking Ensure ~default-directory~ remains consistent with the shell's current working directory. Some things ~shell-mode~ does not handle: @@ -22,12 +22,12 @@ Some solutions: (process-id (get-buffer-process (current-buffer))))) #+end_src -** Use Bash completions. +** Use Bash completions E.g. in most terminals, typing ~ls TAB~ in a folder with a single file expands to ~ls that-file~. See [[https://debbugs.gnu.org/26661][bug#26661]], and [[https://github.com/szermatt/emacs-bash-completion/issues/45][szermatt/emacs-bash-completion!45]]. -** Handle DECSC, DECRC, CUU, ED, HVP and DECSTBM console codes. +** Handle DECSC, DECRC, CUU, ED, HVP and DECSTBM console codes Used for APT's "Dpkg::Progress-Fancy" option, enabled by default with the high-level apt(8) command. Silly script emulating what APT does: #+begin_src bash @@ -101,8 +101,9 @@ done teardown #+end_src + * Eshell -** ~ls --group-directories-first~ does not color folders. +** ~ls --group-directories-first~ does not color folders * Python shell ** Handle ~completion-prefix-display-length~ Setting this variable in an inputrc file causes the Python interpreter -- cgit v1.2.3