From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sandipchitale@yahoo.com (Sandip Chitale) Newsgroups: gmane.emacs.help Subject: Re: Disable copy to kill-ring with mouse-drag Date: 15 Jun 2004 15:39:15 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <40CF1655.2070200@yahoo.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088536103 19095 80.91.224.253 (29 Jun 2004 19:08:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:08:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:07:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNxU-0004e8-00 for ; Tue, 29 Jun 2004 21:07:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNzA-0002IS-0l for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:09:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews2.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: posting.google.com 1087339156 2169 127.0.0.1 (15 Jun 2004 22:39:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 15 Jun 2004 22:39:16 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:123781 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19140 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19140 Kevin Rodgers wrote in message news:<40CF1655.2070200@yahoo.com>... > Sandip Chitale wrote: > > I really really really want to disable the copy-to-kill-ring behaviour > > with mouse-drag. > > > > I tried to comment out the code in mouse.el after finding out the call > > sequence using edebug. Here is the backtrace: > > > > kill-new(#("kill-new" 0 8 (lazy-lock t face > > font-lock-function-name-face))) > > copy-region-as-kill(65110 65102) > > mouse-drag-region((down-mouse-1 (# 65102 (62 > > . 232) 21804553))) > > * call-interactively(mouse-drag-region) > > > > I commented the code in mouse.el. Byte compiled it and somehow the > > behaviour is still there. > > > > Anyone has any ideas? > > mouse.el[c] is dumped into the emacs executable (see loadup.el). Thanks for the info Kevin. I did figure it out by looking at the emacs.exe and then looking at the makefiles and some google searches. Now I am reloading the my version of mouse.elc at the very top of my .emacs. That does the trick. Is that the bet way? I was uanable to dump the emacs on Windows XP. Thansk anyway, sandip