From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: How to bind a command to mouse-1 properly? Date: Wed, 12 Dec 2012 11:21:49 +0100 Message-ID: <50C85ABD.5060802@gmx.at> References: 87y5h3lo2e.fsf@yandex.ru <50C85185.3070904@gmx.at> <50C855FF.7000407@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355323233 339 80.91.229.3 (12 Dec 2012 14:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2012 14:40:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 15:40:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TinUN-0005SP-0e for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 15:40:47 +0100 Original-Received: from localhost ([::1]:46312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TinUA-0007EH-6f for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 09:40:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TinTz-0007A7-Fw for help-gnu-emacs@gnu.org; Wed, 12 Dec 2012 09:40:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TinTt-0001Fx-PB for help-gnu-emacs@gnu.org; Wed, 12 Dec 2012 09:40:23 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:57025) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TijRp-0001W5-29 for help-gnu-emacs@gnu.org; Wed, 12 Dec 2012 05:21:53 -0500 Original-Received: (qmail invoked by alias); 12 Dec 2012 10:21:51 -0000 Original-Received: from 62-47-36-179.adsl.highway.telekom.at (EHLO [62.47.36.179]) [62.47.36.179] by mail.gmx.net (mp070) with SMTP; 12 Dec 2012 11:21:51 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+T+v166pSTtvZFl4PMW8rUxWm1+MD2JkG8OSDtDr 28khVke86UyJfK In-Reply-To: <50C855FF.7000407@yandex.ru> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88150 Archived-At: > The bug discusses clicking inside scroll-margin (I'm not), and the fact > the mouse-clicks set the mark is declared intended at the end. As Johan mentions in this thread ... >> The real bug is that mouse-clicks set the mark (always). (Search for >> push-mark in mouse-drag-track.) ... which should explain ... > (setq deactivate-mark t) works, by the way. I just don't understand why > I have to do that, and if I should do something else. ... why you have "to do that". martin