Re: save_history not working
- To: mutt-users@xxxxxxxx
- Subject: Re: save_history not working
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 4 Nov 2007 22:26:46 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=dvh65fdfzuSu2NraKm8Uqod+a7o=; b=MNoNVdPVe9KHFKlq+UumCiCjuwQOu2z1wSzs4RhjZ6nVGkqVzwq+0JmXtXx1W8fliJMgAp0HGek+5QdiQXkMABfXA5lTp11BsRJqXVjIimk+KmYKT4UFvOMHE6wMNh7PqBsTgmGaR4hz/8kSLYvN5spArAfhhGuZeK4EDlwmux4=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Mh2orqIAwOKcAg52+tatOKsEktGUiZ8NV3Ki4OsJ88gYhqrcuk4mC0rDziSjYJMn+pwBwYw7hmAksDDt2HssVTvCJOeXzMkZlHWIMJV0JMAXRWOmWVX3jKd/2GJmADwp2WZxV0lX5gI2tgIypb4RBVoAt1kJg+8TxUXLs1/f170=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20071104214533.GA10532@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071104214533.GA10532@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-10-18)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, November 4 at 04:45 PM, quoth dv1445@xxxxxxxxx:
> The save_history setting is supposed to tell mutt how many things to
> save in the history_file, right? Save_history is not working for me
> at all. No matter what I set it to, it only saves 10 commands.
My guess is because you haven't set $history. According to the mutt
documentation:
history
Type: number
Default: 10
This variable controls the size (in number of strings
remembered) of the string history buffer. The buffer is
cleared each time the variable is set.
$save_history only affects the limit placed on the file, not the limit
mutt places on itself. Thus, $save_history is only used if
$save_history < $history (AND if $save_history > 0, but for an
entirely different reason).
> mutt says that save_history=0. But it's not zero, it's 10, and it's
> also not what I told it to be. Am I doing something wrong? I
> checked the manual and the wiki, no dice.
Ah, well, the thing the documentation leaves out here is that if
$save_history is 0, there is no limit to the size of the $history_file
(I think). Probably worth checking by setting save_history to 1, but I
*think* that's the way it works.
Hope that helps,
~Kyle
- --
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHLpuGBkIOoMqOI14RAgh5AKCZPkL/4YQFpQMhtO+GD1oefTgpSgCgo1px
hp/NbaMXHUhfq3VxxMoyud0=
=G9T+
-----END PGP SIGNATURE-----