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: Sat, 25 May 2013 14:06:15 -0400 Message-ID: <20896.64919.80603.590733@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Jt/A6jyGI+" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369505236 31258 80.91.229.3 (25 May 2013 18:07:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 May 2013 18:07:16 +0000 (UTC) Cc: 14464@debbugs.gnu.org To: Donald Ephraim Curtis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 25 20:07:15 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 1UgIs5-0006CG-Ip for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2013 20:07:13 +0200 Original-Received: from localhost ([::1]:54440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgIs5-0003Ea-3S for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2013 14:07:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgIrw-0003Ax-LR for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 14:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgIrr-0003Zz-J4 for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 14:07:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgIrr-0003Zu-G3 for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 14:06:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UgIsr-0007bg-Gy for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 14:08:01 -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: Sat, 25 May 2013 18:08:01 +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.136950524229150 (code B ref 14464); Sat, 25 May 2013 18:08:01 +0000 Original-Received: (at 14464) by debbugs.gnu.org; 25 May 2013 18:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:34472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgIsD-0007a7-T0 for submit@debbugs.gnu.org; Sat, 25 May 2013 14:07:22 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:57192 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgIsB-0007Zw-Mw for 14464@debbugs.gnu.org; Sat, 25 May 2013 14:07:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UgIr9-0003Ys-7a; Sat, 25 May 2013 14:06:15 -0400 In-Reply-To: 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:74567 Archived-At: --Jt/A6jyGI+ Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Please keep the debbugs address cc'd. I am resending your comments so that they are visible to others. Date: Fri, 24 May 2013 17:47:31 -0500 From: Donald Curtis Subject: Re: bug#14464: 24.3; require sets deactivate-mark causing problems with some plugins Yes, this is what my initial intuition was. I have traced this error down to something much more obscure. I don't understand why it's happening. But let me give you some code to reproduce the odd behavior without concern for `multiple-cursors`. Make sure both files are in the same directory. # Working Correctly 1. open `sample.el` with: emacs -Q sample.el 2. eval just the `progn` portion of the provided code. 3. transient mark something 4. hit C-. the active-mark is still there. now exit emacs and start again, # Odd Behavior 1. open `sample.el` with: emacs -Q sample.el 2. eval the `defadvice` 3. eval the `progn` portion of the provided code. 4. transient mark something 5. hit C-. now the active-mark disappears. AND what is even weirder is that if you remove the `compile` option from the `defadvice` then there is no issue. but there is something weird here! --Jt/A6jyGI+ Content-Type: application/octet-stream Content-Disposition: attachment; filename="sample.el" Content-Transfer-Encoding: base64 Ozsgc2NyYXRjaC5lbCBmaWxlCgooZGVmYWR2aWNlIGtpbGwtbGluZSAoYWZ0ZXIga2lsbC1saW5l LWNsZWFudXAtd2hpdGVzcGFjZSBhY3RpdmF0ZSBjb21waWxlKQogICJDbGVhbnVwIHdoaXRlc3Bh Y2Ugb24gYGtpbGwtbGluZScuIgogIChpZiAobm90IChib2xwKSkKICAgICAgKGRlbGV0ZS1yZWdp b24gKHBvaW50KSAocHJvZ24gKHNraXAtY2hhcnMtZm9yd2FyZCAiIFx0IikgKHBvaW50KSkpKSkK Cihwcm9nbiAoYWRkLXRvLWxpc3QgJ2xvYWQtcGF0aCAiLiIpCiAgICAgICAoYXV0b2xvYWQgJ3Rl c3R0ZXN0ICJhdXRvbG9hZG1lIiAiXChmbikiIHQgbmlsKQogICAgICAgKGdsb2JhbC1zZXQta2V5 IChrYmQgIkMtLiIpICd0ZXN0dGVzdCkpCg== --Jt/A6jyGI+ Content-Type: application/octet-stream Content-Disposition: attachment; filename="autoloadme.el" Content-Transfer-Encoding: base64 Ozs7IyMjYXV0b2xvYWQKCihkZWZ1biB0ZXN0dGVzdCAoYXJnKQogIChpbnRlcmFjdGl2ZSAicCIp CiAgKG1lc3NhZ2UgImRlYWN0aXZhdGUtbWFyazogJXMgICBhcmc6ICVzIiBkZWFjdGl2YXRlLW1h cmsgYXJnKSkKCihkZWZhZHZpY2UgcmVhZC1jaGFyIChhcm91bmQgdGVzdC1yZWFkLWNoYXIgYWN0 aXZhdGUpCiAgKG1lc3NhZ2UgInJlYWQtY2hhciAlcyIgZGVhY3RpdmF0ZS1tYXJrKQogIGFkLWRv LWl0KQoKKG1lc3NhZ2UgImRlYWN0aXZhdGUtbWFyazogJXMiIGRlYWN0aXZhdGUtbWFyaykKKHBy b3ZpZGUgJ2F1dG9sb2FkbWUpCg== --Jt/A6jyGI+ Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit On Fri, May 24, 2013 at 4:02 PM, Glenn Morris wrote: > 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. --Jt/A6jyGI+--