[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in th
From: |
Lars Ingebrigtsen |
Subject: |
bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history |
Date: |
Thu, 15 Jul 2021 07:22:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Sebastien Vauban <sva-news@mygooglest.com> writes:
>>> ls \
>>> *.html
>>>
>>> Recalling the previous command will just show "*.html", not "ls
>>>\\n*.html".
I can confirm that this behaviour is still present in Emacs 28.
> I've just read notes about "Comint Patch":
>
> ╭────
> │ If you enter a multi-line SQL statement in an SQLi buffer, you can
> │ retrieve it as a multi-line command from the MinibufferHistory. Not so
> │ when you exit Emacs and restart it at a later date: As you exit SQLi
> │ mode the command history is written to a file; when you enter SQLi mode
> │ again the history is loaded one command per line. If you entered
> │ multi-line commands, each line of those commands will end up as one
> │ command in the input history of your new session.
> │
> │ This patch will be in Emacs 21.
> ╰────
>
> See http://www.emacswiki.org/emacs-es/ComintPatched
>
> Aren't we talking of this bug? If yes, why isn't it yet in Emacs, then?
Presumably nobody submitted it -- and that URL doesn't exist any more.
Does anybody have the patch in question?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history,
Lars Ingebrigtsen <=