* Preserving command history between sessions
@ 2005-01-08 6:49 Gian Uberto Lauri
2005-01-08 10:21 ` Eli Zaretskii
2005-01-08 14:29 ` Peter Dyballa
0 siblings, 2 replies; 4+ messages in thread
From: Gian Uberto Lauri @ 2005-01-08 6:49 UTC (permalink / raw)
I bet this is FAQ stuff and that I was a moron while searching in the
online help.
My wife asked me if it was possible to preserve the history (more or
less like bash does). I understand that there could be a lot of buffer
missing but I feel she needs it since she has some text she works on
again and again.
But how can I can do it ? I discovered how to have it in a buffer, but
not how to insert items in the list (except by issuing again the
commands).
Thanks in advance.
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e coltivatore diretto di software
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Preserving command history between sessions
2005-01-08 6:49 Preserving command history between sessions Gian Uberto Lauri
@ 2005-01-08 10:21 ` Eli Zaretskii
2005-01-08 14:29 ` Peter Dyballa
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2005-01-08 10:21 UTC (permalink / raw)
> Date: Sat, 8 Jan 2005 07:49:55 +0100
> From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
>
> My wife asked me if it was possible to preserve the history (more or
> less like bash does).
What for? I think shell-like command history is not needed in Emacs,
for the following reasons:
. Emacs is supposed to be started whenever the user logs in, and then
never stopped until the machine is shut down or the user logs off.
. The desktop.el package, if you activate it in your .emacs, will
cause each session to visit all the files that were part of the
previous session at the point when the previous session ended.
. The recentf.el package will add to the "File" menu-bar item the
names of files that were visited recently, so the user could select
them from a menu instead of typing the names.
If these features are not enough to solve whatever problems your wife
has, please describe those remaining problems.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Preserving command history between sessions
2005-01-08 6:49 Preserving command history between sessions Gian Uberto Lauri
2005-01-08 10:21 ` Eli Zaretskii
@ 2005-01-08 14:29 ` Peter Dyballa
2005-01-08 18:18 ` Gian Uberto Lauri
1 sibling, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2005-01-08 14:29 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 08.01.2005 um 07:49 schrieb Gian Uberto Lauri:
> My wife asked me if it was possible to preserve the history (more or
> less like bash does).
Do you mean shell history? Then it might work to create hooks, that
save bash' shell history file under a new name and load this one, when
shell starts again.
If you mean buffers and their state, then desktop(.el) is the answer.
--
Greetings
Pete
“One cannot live by television, video games, top ten CDs, and dumb
movies alone”
(Amiri Baraka 1999)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Preserving command history between sessions
2005-01-08 14:29 ` Peter Dyballa
@ 2005-01-08 18:18 ` Gian Uberto Lauri
0 siblings, 0 replies; 4+ messages in thread
From: Gian Uberto Lauri @ 2005-01-08 18:18 UTC (permalink / raw)
Cc: help-gnu-emacs, saint
>>>>> "PD" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
PD> If you mean buffers and their state, then desktop(.el) is the
PD> answer.
I fear that desktop.el doesn't save M-x history... I bet that's my
fault and I did something stupid preventig desktop.el to do this.
Anyway session.el solves my wife's needs.
Thank you very much everybody!
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e coltivatore diretto di software
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-08 18:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 6:49 Preserving command history between sessions Gian Uberto Lauri
2005-01-08 10:21 ` Eli Zaretskii
2005-01-08 14:29 ` Peter Dyballa
2005-01-08 18:18 ` Gian Uberto Lauri
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).