From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Bloggs Newsgroups: gmane.emacs.help Subject: first copy & paste not working Date: Fri, 02 May 2008 02:35:12 +0100 Message-ID: <87ej8lzdwv.fsf@DEBLAP1.BeNet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209698303 15847 80.91.229.12 (2 May 2008 03:18:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2008 03:18:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 02 05:18:59 2008 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 1JrlnW-000179-Ti for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2008 05:18:59 +0200 Original-Received: from localhost ([127.0.0.1]:42609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrlmp-0007tX-Mz for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2008 23:18:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 01 May 2008 20:35:13 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:RrJbaS9iV82A1ExW0UNm8rb2GB0= Original-Lines: 8 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-tsEuPpqyp1bTJoqOE8EFaSjOWPX5/gJX/npX11oorxsnkwJ0r+0f7jIGLCahkf5chJczxH4/hkc5a0H!iS6WQyIoEMookRg+DlJ+d6DVmyTvxtqjqjUlMh//EQbuoHj2usk4 Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.38 Original-Xref: shelby.stanford.edu gnu.emacs.help:158330 X-Mailman-Approved-At: Thu, 01 May 2008 23:17:56 -0400 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:53699 Archived-At: I have the following lines my .emacs file for supporting cut & paste between applications: (mouse-sel-mode 1) (setq x-select-enable-clipboard t) (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) However, after starting emacs, the first cut/copy from within emacs is not recognized. In other words, the first time I do a yank, it pastes whatever I last copied outside emacs, even if I just did a cut/copy within emacs. I can only yank my emacs text if I repeat the emacs cut/copy, othewise it just keeps yanking the external text. Can anyone help?