all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-devel@gnu.org
Subject: Re: bitten by lexical-binding
Date: Sun, 22 Nov 2015 15:28:00 +0100	[thread overview]
Message-ID: <87ziy6az2n.fsf@web.de> (raw)
In-Reply-To: 9b834ee9-4f63-42ca-98b4-c0f14986642e@default

Drew Adams <drew.adams@oracle.com> writes:

> Starting with Emacs 25, `mouse-drag-track' does not accept
> the second arg.  But invoking it without that argument meant
> that (my version of) `mouse-drag-region' no longer copied
> the text to the kill ring, when `mouse-drag-copy-region'=t.
> That was the problem.

Can't reproduce here, built from Nov 21 2015.

I copied your code into a file, one time with lexical binding enabled,
one time without.  In emacs -Q, I loaded that file and set
mouse-drag-copy-region -> t.

With both file versions, the region was copied to the kill ring after
dragging with the mouse.


Michael.




  parent reply	other threads:[~2015-11-22 14:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21 22:28 bitten by lexical-binding Drew Adams
2015-11-22 14:02 ` Johan Bockgård
2015-11-22 14:12 ` Artur Malabarba
2015-11-22 14:23 ` Andreas Schwab
2015-11-22 14:29   ` David Kastrup
2015-11-22 15:57   ` Drew Adams
2015-11-22 14:28 ` Michael Heerdegen [this message]
2015-11-22 17:08   ` Drew Adams

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=87ziy6az2n.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    /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.