unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: 1795@debbugs.gnu.org
Subject: bug#1795: shell problem
Date: Sat, 24 Sep 2022 13:52:36 +0200	[thread overview]
Message-ID: <87bkr5yoor.fsf@gnus.org> (raw)
In-Reply-To: <7e9041d7-738e-da5e-f7e9-ca9a84022b12@gmail.com> (Mauro Aranda's message of "Sat, 24 Sep 2022 08:21:01 -0300")

Mauro Aranda <maurooaranda@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?





      reply	other threads:[~2022-09-24 11:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874opc7860.fsf@stupidchicken.com>
2009-01-05 23:00 ` bug#1795: shell problem Unknown
2009-11-03  0:50   ` bug#1795: marked as done (shell problem) Emacs bug Tracking System
2022-05-08 14:00   ` bug#1795: bug#36103: 24.5; Blank spaces around parentheses in history expansion in shell mode Lars Ingebrigtsen
2022-09-24 11:21   ` bug#1795: shell problem Mauro Aranda
2022-09-24 11:52     ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkr5yoor.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=1795@debbugs.gnu.org \
    --cc=maurooaranda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).