unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Donald Curtis <dcurtis@milkbox.net>
Cc: 14464@debbugs.gnu.org
Subject: bug#14464: 24.3; require sets deactivate-mark causing problems with some plugins
Date: Fri, 24 May 2013 17:02:37 -0400	[thread overview]
Message-ID: <xlr4gwrt02.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <C6A110E3-BDBD-4556-9F7F-0A05D2E72ED5@milkbox.net> (Donald Curtis's message of "Fri, 24 May 2013 13:07:24 -0500")

Donald Curtis wrote:

> I am using the `multiple-cursors` package through `package.el` which
> sets up some autoloads that rely on the currently selected region. When
> I call the function---through a keybinding---the current region
> deactivates. The problem is that subsequent calls to the function
> require that the region stay active.
>
> It appears that somewhere during the call to `require`,
> `deactivate-mark` is being set to `t` and thus the mark gets deactivated.
>
> The only solution that I have been able to come up with is to advise
> around `require` and create a local instance of `deactivate-mark` while
> saving the excursion.

I think it's unlikely that require itself messes with the mark.
The thing that you are requiring can of course do anything at all.
Sounds like this could be a problem in "multiple-cursors", which isn't
part of Emacs.





  reply	other threads:[~2013-05-24 21:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-24 18:07 bug#14464: 24.3; require sets deactivate-mark causing problems with some plugins Donald Curtis
2013-05-24 21:02 ` Glenn Morris [this message]
     [not found]   ` <CANJd5Qv4hLV=aKeM=N9392gsSM4TPnpup+kqcCdJ=Ko+OHyUiQ@mail.gmail.com>
2013-05-25 18:06     ` Glenn Morris
2021-09-06 10:25       ` Lars Ingebrigtsen
2021-09-21  0:37         ` Donald Curtis
2021-09-21  4:01           ` Lars Ingebrigtsen

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=xlr4gwrt02.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=14464@debbugs.gnu.org \
    --cc=dcurtis@milkbox.net \
    /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).