From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Auto-copy to clipboard Date: Wed, 05 Dec 2007 09:42:06 -0900 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <13lds6pjpussieb@news.supernews.com> References: <13ldj6lro11gace@news.supernews.com> 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 1196883681 15143 80.91.229.12 (5 Dec 2007 19:41:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 19:41:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 20:41:29 2007 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 1J0072-00011v-Ll for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 20:40:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J006l-0004L3-SY for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 14:40:35 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!postnews.google.com!news4.google.com!sn-xt-sjc-04!sn-xt-sjc-01!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!news.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.10.5 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 20 Original-Xref: shelby.stanford.edu gnu.emacs.help:154435 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:49866 Archived-At: Tim Johnson wrote: > Using GNU Emacs 22.1.1, kubuntu 7.1 with KDE 3.5.8 > > I'd like to able to > 1)compose a string of text (that's easy) > 2)Send that string directly to the clipboard, > just as if I had inserted that text into > the buffer, selected it and done kill-ring-save > or kill-region. > > Is there a function to do that? > If not, suggestions are welcome and pointers to docs > encouraged. > thanks > Tim After following the code for 'kill-ring-save, I find that 'kill-ring-new is the likely candidate. Any other ideas would be welcome, but it looks promising.... tj