diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-09-02 07:52:01 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-09-02 07:52:01 +0200 |
| commit | 2da08702bab17cc020815f024dc993ea5a0d6733 (patch) | |
| tree | 429e34ab126cac5058277cd740c81d344465099f /itches/emacs | |
| parent | 63f0949145e734e191824bdc1cbe789ca275cd96 (diff) | |
| download | memory-leaks-2da08702bab17cc020815f024dc993ea5a0d6733.tar.xz | |
Expand rationale for reworking Emacs bash completion
Diffstat (limited to 'itches/emacs')
| -rw-r--r-- | itches/emacs/interpreters.org | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/itches/emacs/interpreters.org b/itches/emacs/interpreters.org index 258d92c..535405d 100644 --- a/itches/emacs/interpreters.org +++ b/itches/emacs/interpreters.org @@ -23,8 +23,17 @@ Some solutions: #+end_src ** Use Bash completions -E.g. in most terminals, typing ~ls TAB~ in a folder with a single file -expands to ~ls that-file~. +Emacs filename completions in =*shell*= are subtly different to +Bash's; e.g. typing ~ls TAB~ in a folder with a single file expands to +~ls that-file~. + +Also, in general, =*shell*= has no clue about + +- changes to =$PATH=, which affect what programs are available, +- Bash aliases, +- changes to the current working directory not triggered by an + explicit ~cd~, and not announced by OSC 7, +- etc. 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 |
