unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vasilij Schneidermann <v.schneidermann@gmail.com>
Cc: contact@jorgenschaefer.de, 20260@debbugs.gnu.org
Subject: bug#20260: 24.4.1; Triple-clicking selects and deselects the line in weird situations
Date: Wed, 08 Apr 2015 10:26:59 -0400	[thread overview]
Message-ID: <jwv8ue2sntd.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <20150408104106.GA13929@odonien.bevuta.com> (Vasilij Schneidermann's message of "Wed, 8 Apr 2015 12:41:06 +0200")

> The patch does indeed fix the test case for me, but the real use case
> stays unchanged.

Hmm... Can you provide another recipe that still isn't fixed with the patch?

> Meanwhile, I've found a way to make the test case pass on 24.4,
> let-binding `deactivate-mark`:

Yes, that works around the problem, but it shouldn't be necessary in Emacs-25.

The workaround you use was needed in many places: deactivate-mark was
global, so modifying one buffer could end up deactivating the mark in
some unrelated buffer.  In Emacs-25, we've changed it to be
buffer-local, so modifications in one buffer should not affect the
activation of the mark in another any more.

> Why it is needed in 24.4, but not in 24.3 is beyond my
> understanding of Emacs.

I don't know either, actually.


        Stefan





  reply	other threads:[~2015-04-08 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-04 22:29 bug#20260: 24.4.1; Triple-clicking selects and deselects the line in weird situations Jorgen Schaefer
2015-04-07 18:53 ` Stefan Monnier
2015-04-08 10:41 ` Vasilij Schneidermann
2015-04-08 14:26   ` Stefan Monnier [this message]
2015-04-10 19:04     ` Jorgen Schäfer
2015-04-13 14:18     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv8ue2sntd.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=20260@debbugs.gnu.org \
    --cc=contact@jorgenschaefer.de \
    --cc=v.schneidermann@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).