From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Treseler Newsgroups: gmane.emacs.help Subject: Re: first copy & paste not working Date: Fri, 02 May 2008 10:31:16 -0700 Message-ID: <6811f5F2qmefcU1@mid.individual.net> References: <87ej8lzdwv.fsf@DEBLAP1.BeNet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209750138 11840 80.91.229.12 (2 May 2008 17:42:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2008 17:42:18 +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 19:42:53 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 1JrzHX-0005Ph-S0 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2008 19:42:52 +0200 Original-Received: from localhost ([127.0.0.1]:33973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrzGq-0006mx-JV for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2008 13:42:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: individual.net AiYQGcWnVbJyA3bCJhIN4g/j6fHrFMNg7amS7dJPxCzIuQqhdR Cancel-Lock: sha1:kB4fNVtoTP0L8q/Lu9Ma9LtzK0k= User-Agent: Thunderbird 1.5.0.14 (X11/20060911) In-Reply-To: <87ej8lzdwv.fsf@DEBLAP1.BeNet> Original-Xref: shelby.stanford.edu gnu.emacs.help:158351 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:53718 Archived-At: Joe Bloggs wrote: > 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) I don't set these, but happen to have t, nil, nil as values right now. > 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? I don't have this problem, but every once in a while, I will have the opposite problem where my center mouse button will paste an old emacs kill instead of the text I just marked in some other X-app. My work around is to bring up gedit and mark some text and center button it into emacs. For some reason, this clears the problem, and my X-mouse cut/paste into emacs will work again. I am using 21.3.1, but will be upgrading soon to whatever SUSE 10.1 has. -- Mike Treseler