From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#5976: 23.1.93; yanking shell commands - converted to single lines
Date: Wed, 21 Apr 2010 19:36:48 +0200 [thread overview]
Message-ID: <87r5m8r9lb.fsf@tux.homenetwork> (raw)
In-Reply-To: <11AF3D64-5B4A-4131-8BDC-9992B8C1DC54@gmail.com>
Juri Linkov <juri@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 'hello\x7fworld'
| echo 'hello\x7fworld'
`----
HTH
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
next prev parent reply other threads:[~2010-04-21 17:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 19:28 bug#5976: 23.1.93; yanking shell commands - converted to single lines David Reitter
2010-04-19 22:54 ` Juri Linkov
2010-04-20 16:29 ` Warren Harris
2010-04-21 8:43 ` Juri Linkov
2010-04-21 10:13 ` Thierry Volpiatto
2010-04-21 15:41 ` Juri Linkov
2010-04-21 17:36 ` Thierry Volpiatto [this message]
2016-06-08 3:13 ` Noam Postavsky
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=87r5m8r9lb.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
/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).