From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PT Newsgroups: gmane.emacs.help Subject: Re: Adding clipboard content to the kill ring automatically (Windows) Date: Sun, 13 Sep 2009 17:48:02 +0000 (UTC) Message-ID: References: <83k502zrki.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252864140 21931 80.91.229.12 (13 Sep 2009 17:49:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2009 17:49:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 13 19:48:53 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MmtC0-0006EW-Pf for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 19:48:53 +0200 Original-Received: from localhost ([127.0.0.1]:42172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmtC0-0001LQ-3k for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 13:48:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmtBg-0001L9-JQ for help-gnu-emacs@gnu.org; Sun, 13 Sep 2009 13:48:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmtBc-0001KV-Sy for help-gnu-emacs@gnu.org; Sun, 13 Sep 2009 13:48:32 -0400 Original-Received: from [199.232.76.173] (port=33729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmtBc-0001KS-Q1 for help-gnu-emacs@gnu.org; Sun, 13 Sep 2009 13:48:28 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34720) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmtBc-0008Qx-AX for help-gnu-emacs@gnu.org; Sun, 13 Sep 2009 13:48:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MmtBY-00066V-MW for help-gnu-emacs@gnu.org; Sun, 13 Sep 2009 19:48:24 +0200 Original-Received: from apn-89-223-181-210.vodafone.hu ([89.223.181.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Sep 2009 19:48:24 +0200 Original-Received: from spamfilteraccount by apn-89-223-181-210.vodafone.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Sep 2009 19:48:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 89.223.181.210 (Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.00) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68116 Archived-At: Eli Zaretskii gnu.org> writes: > > Yes, set x-select-enable-clipboard to nil, while you edit and don't > want to clobber what's in the clipboard. Then re-set it to t after > you are done editing. > Okay, by automatically I meant some method which doesn't require manual intervention. Manually I can yank clipboard first, undo it, this way it gets to the kill-ring, then do some other killings and finally retrieve clipboard text from the kill ring with M-y The point is I want some automatic solution like running an idle timer every second or so which checks if there is new text on the clipboard and if so then adds it to the kill ring. This is sort of a brute force solution, having a constantly running timer, that's why I asked if there is a more intelligent automatic solution for the problem than that.