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: Thu, 12 Sep 2013 13:56:32 -0700 (PDT)	[thread overview]
Message-ID: <bafec94a-1b26-4c63-8d67-3b20ff50a027@default> (raw)
In-Reply-To: <87six9dcma.fsf@web.de>

> > > (setq kill-ring nil)
> > > (garbage-collect)
> > >
> > > but I don't know if that would leave some clipboard
> > > functions/variables in an illegal state.
> >
> > Nope. Go for it. No problem.
> 
> Sure?  What about `kill-ring-yank-pointer' and `yank-menu'?

What about them?  I don't think that either is a problem (e.g.,
"illegal state").  But I'll be glad to be shown wrong.

`Edit > Paste from Kill Menu' won't be emptied too, but there
is no problem with that, AFAIK.

If you are worried, do this instead:

(setq kill-ring-max 1)
Copy some text.
(setq kill-ring-max 60) ; or whatever



  reply	other threads:[~2013-09-12 20:56 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 [this message]
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
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=bafec94a-1b26-4c63-8d67-3b20ff50a027@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).