unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: RE: clear the kill-ring and free memory?
Date: Fri, 13 Sep 2013 08:20:42 -0700 (PDT)	[thread overview]
Message-ID: <885e0be9-e807-42ef-8bbe-d1999e35aef7@default> (raw)
In-Reply-To: <877gek7wdd.fsf@web.de>

> Oops, I meant `yank-menu-length'.

FWIW, in spite of the name, that var is not about the length of the menu
(`yank-menu'), which is controlled by `kill-ring-max'.

`yank-menu-length' controls the length of each menu *item* (each kill
shown in the menu - the max number of chars).  If a kill is longer than
that length then the menu item shows it with elision, e.g. "Foo Ba...".

So yes, if you have large kills, that var can save memory too.  Just
wanted to point out that its name is somewhat misleading - it does
not control the length of the yank menu.



  reply	other threads:[~2013-09-13 15:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 18:47 clear the kill-ring and free memory? unfrostedpoptart
2013-09-12 19:28 ` Drew Adams
2013-09-12 20:11   ` Michael Heerdegen
2013-09-12 20:56     ` Drew Adams
2013-09-12 21:28       ` Michael Heerdegen
2013-09-12 22:08         ` Drew Adams
2013-09-13  1:22           ` Michael Heerdegen
2013-09-13  3:54             ` Drew Adams
2013-09-13 12:13               ` Michael Heerdegen
2013-09-13 15:20                 ` Drew Adams [this message]
2013-09-13 16:34                   ` Michael Heerdegen
     [not found]         ` <mailman.1994.1379023714.10748.help-gnu-emacs@gnu.org>
2013-09-12 22:25           ` unfrostedpoptart
2013-09-13  4:08 ` Stefan Monnier

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=885e0be9-e807-42ef-8bbe-d1999e35aef7@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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).