all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to bind a command to mouse-1 properly?
Date: Wed, 12 Dec 2012 14:01:35 +0400	[thread overview]
Message-ID: <50C855FF.7000407@yandex.ru> (raw)
In-Reply-To: <50C85185.3070904@gmx.at>

On 12.12.2012 13:42, martin rudalics wrote:
>  > If I bind a command other than `mouse-set-point' to [mouse-1], the mark
>  > is active after the mouse click.
>
> I suppose this issue was discussed in bug#9541 and in
>
> http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00399.html

They look related, but I don't see anything helpful there.

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.

The emacs-devel link describes a problem which I don't encounter, and 
seems to fizzle out in the end, without resolution.

(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.



  reply	other threads:[~2012-12-12 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12  9:42 How to bind a command to mouse-1 properly? martin rudalics
2012-12-12 10:01 ` Dmitry Gutov [this message]
2012-12-12 10:21   ` martin rudalics
2012-12-12 11:25     ` Dmitry Gutov
2012-12-12 12:43       ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2012-12-12  7:36 Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C855FF.7000407@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.