GNU bug report logs - #1795
shell problem

Previous Next

Package: emacs;

Reported by: relson <at> osage

Date: Mon, 5 Jan 2009 23:10:05 UTC

Severity: normal

Merged with 5007, 8027, 36103

Found in versions 23.2, 24.5

Full log


Message #51 received at 1795 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mauro Aranda <maurooaranda <at> gmail.com>
Cc: 1795 <at> debbugs.gnu.org
Subject: Re: bug#1795: shell problem
Date: Sat, 24 Sep 2022 13:52:36 +0200
Mauro Aranda <maurooaranda <at> gmail.com> writes:

> While I can't reproduce the original recipe from Bug#1795, the problem
> is still there.  Look at the recipes in Bug#5007 or Bug#8027, or try
> this:
>
> M-x shell
> cat <(date)
> !!
> Type M-p
>
> You'll see that the command has been modified and now reads:
> cat < ( date )

Yup.  How odd -- just `M-p'-ing after "cat <(date)" does the right
thing, and "!!" does the right thing, but `M-p' after "!!" mangles
spaces?

I had a brief look at the code here
(`comint-replace-by-expanded-history-before-point' etc), but I'm pretty
unfamiliar with this code, and it wasn't immediately clear where the
problem stems from.

Anybody have any ideas?




This bug report was last modified 2 years and 263 days ago.

Previous Next


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