This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From: Friedrich Dominicus <frido@q-software-solutions.com> Newsgroups: comp.emacs Subject: Re: A novice's question about eshell Date: 15 Jan 2003 07:50:28 +0100 gan zhi <gan-zhi@cs.sjtu.edu.cn> writes: > When I exit emacs, it always askes me if I want to save input history of > eshell. Every time I answer `y', so I want emacs do it silently. How can > I make this happen? M-x customize-variable RET eshell-ask-to-save-history set it to always and save it. C-h v eshell-ask-to-save-history gave me: *Determine if history should be automatically saved. History is always preserved after sanely exiting an Eshell buffer. However, when Emacs is being shut down, this variable determines whether to prompt the user. If set to nil, it means never ask whether history should be saved. If set to t, always ask if any Eshell buffers are open at exit time. If set to `always', history will always be saved, silently. === From: gan zhi <gan-zhi@cs.sjtu.edu.cn> Newsgroups: comp.emacs Subject: Re: A novice's question about eshell Date: Wed, 15 Jan 2003 15:56:05 +0800 Friedrich Dominicus wrote: > gan zhi <gan-zhi@cs.sjtu.edu.cn> writes: >>When I exit emacs, it always askes me if I want to save input history of >>eshell. Every time I answer `y', so I want emacs do it silently. How can >>I make this happen? > M-x customize-variable RET > eshell-ask-to-save-history > > set it to always and save it. > > C-h v eshell-ask-to-save-history gave me: > > *Determine if history should be automatically saved. > History is always preserved after sanely exiting an Eshell buffer. > However, when Emacs is being shut down, this variable determines > whether to prompt the user. > If set to nil, it means never ask whether history should be saved. > If set to t, always ask if any Eshell buffers are open at exit time. > If set to `always', history will always be saved, silently. Your answer is very helpful. After read your answer, I write the following line in my .emacs: (setq eshell-ask-to-save-history 'always) Now it's Ok :P Thanks again. === From: "Mark A. Flacy" <flacy@nortelnetworks.com> Newsgroups: comp.emacs Subject: Re: A novice's question about eshell Date: 15 Jan 2003 02:00:45 -0600 M-x customize-group <RETURN> eshell-hist <RETURN> Look for "Eshell Ask To Save History" [Thanks. It never quite bugged me enough to look up how to make it stop. :-) ] === From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: comp.emacs Subject: Re: A novice's question about eshell Date: Wed, 15 Jan 2003 11:22:35 +0100 "Mark A. Flacy" <flacy@nortelnetworks.com> writes: > [Thanks. It never quite bugged me enough to look up how to make it > stop. :-) ] Same here. However, seeing (setq eshell-ask-to-save-history 'always) in my .emacs I think it means to always ask. That's kind of confusing :-) === From: Friedrich Dominicus <frido@q-software-solutions.com> Newsgroups: comp.emacs Subject: Re: A novice's question about eshell Date: 15 Jan 2003 12:27:04 +0100 kai.grossjohann@uni-duisburg.de (Kai Gro