From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: length of query-replace-history list
Date: Wed, 31 May 2006 12:34:35 -0600 [thread overview]
Message-ID: <e5knl4$b69$1@sea.gmane.org> (raw)
In-Reply-To: <933ba$447dc666$49fa4f5$15189@DIALUPUSA.NET>
B. T. Raven wrote:
> Is it possible to set the maximum length of this variable to 2? I want to
> write the from and to strings either to an association list or to a buffer
> with one dotted pair per line. Maybe this is equivalent to repeatedly
> setqing it to nil. ??
,----[ C-h v history-length RET ]
| history-length is a variable defined in `C source code'.
| Its value is 30
|
| Documentation:
| *Maximum length for history lists before truncation takes place.
| A number means that length; t means infinite. Truncation takes place
| just after a new element is inserted. Setting the history-length
| property of a history variable overrides this default.
|
| You can customize this variable.
|
| [back]
`----
So (put 'query-replace-history 'history-length 2)
--
Kevin
next prev parent reply other threads:[~2006-05-31 18:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-31 16:38 length of query-replace-history list B. T. Raven
2006-05-31 18:34 ` Kevin Rodgers [this message]
[not found] ` <mailman.2489.1149100587.9609.help-gnu-emacs@gnu.org>
2006-06-01 15:29 ` B. T. Raven
2006-06-01 21:36 ` Kevin Rodgers
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='e5knl4$b69$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.
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).