GNU bug report logs - #5976
23.1.93; yanking shell commands - converted to single lines

Previous Next

Package: emacs;

Reported by: Warren Harris <warrensomebody <at> gmail.com>

Date: Mon, 19 Apr 2010 19:29:01 UTC

Severity: normal

Tags: notabug

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5976: 23.1.93;
	yanking shell commands - converted to single lines
Date: Wed, 21 Apr 2010 19:36:48 +0200
Juri Linkov <juri <at> jurta.org> writes:

>>> So I see no way to save multi-line shell commands in ~/.bash_history
>>> in a way compatible with Bash.  Do you have any ideas?
>>
>> It seem eshell does what you ask, maybe you should look there?
>
> Does eshell save multi-line shell commands in ~/.bash_history
> compatible with Bash?
No, it save in eshell file history (.emacs.d/.eshell/)

,----
| thierry@~/.emacs.d/.eshell $ ls
| alias  history  lastdir  profile
`----

,----
| thierry@~/.emacs.d/.eshell $ echo 'hello
| world'
| hello
| world
| ==> C-up RET
| thierry@~/.emacs.d/.eshell $ echo 'hello
| world'
| hello
| world
`----

That save like that in history file:

,----
| echo 'helloworld'
| echo 'helloworld'
`----

HTH

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/






This bug report was last modified 8 years and 57 days ago.

Previous Next


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