From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#14464: 24.3; require sets deactivate-mark causing problems with some plugins Date: Fri, 24 May 2013 17:02:37 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369429401 31142 80.91.229.3 (24 May 2013 21:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 May 2013 21:03:21 +0000 (UTC) Cc: 14464@debbugs.gnu.org To: Donald Curtis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 24 23:03:20 2013 Return-path: Envelope-to: geb-bug-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 1Ufz8w-0008Sf-Sx for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2013 23:03:19 +0200 Original-Received: from localhost ([::1]:53469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufz8w-0004iT-Bs for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2013 17:03:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufz8o-0004hp-G6 for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 17:03:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufz8j-0001w0-Uh for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 17:03:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufz8j-0001vw-QT for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 17:03:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ufz9e-0007DZ-Ci for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 17:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2013 21:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14464-submit@debbugs.gnu.org id=B14464.136942941827664 (code B ref 14464); Fri, 24 May 2013 21:04:02 +0000 Original-Received: (at 14464) by debbugs.gnu.org; 24 May 2013 21:03:38 +0000 Original-Received: from localhost ([127.0.0.1]:60945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ufz9F-0007C8-Sb for submit@debbugs.gnu.org; Fri, 24 May 2013 17:03:38 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:41530 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ufz9D-0007C1-Nx for 14464@debbugs.gnu.org; Fri, 24 May 2013 17:03:37 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ufz8H-0002gY-6Q; Fri, 24 May 2013 17:02:37 -0400 X-Spook: Fortezza blackjack Glock AUTODIN JPL national X-Ran: uA=IrQnUPKO@C|xJ4/eYRMn[}4f)_FjI\P1z6&KDgw,Y'EopGnK;3e")`8!Ypwm.+lg7IY X-Hue: cyan X-Attribution: GM In-Reply-To: (Donald Curtis's message of "Fri, 24 May 2013 13:07:24 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74538 Archived-At: 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.