GNU bug report logs - #16012
24.3.50; Multi-line shell commands appear as one-liners in the history

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Sat, 30 Nov 2013 09:52:02 UTC

Severity: minor

Tags: confirmed

Found in version 24.3.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Sebastien Vauban" <sva-news <at> mygooglest.com>
Cc: 16012 <at> debbugs.gnu.org
Subject: bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history
Date: Sun, 01 Dec 2013 16:13:39 -0500
>> ls \
>> *.html
> Recalling the previous command will just show "*.html", not "ls \\n*.html".

Right, currently shell-mode has no idea that these were two lines of the
same command.  The semantics of a terminating backslash completely
eludes it.

> Is there a solution to this?

A patch for shell.el would probably do it, assuming it's the right patch ;-)


        Stefan




This bug report was last modified 4 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.