From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frank Fischer Newsgroups: gmane.emacs.devel Subject: Re: save-excursion and the mark Date: Thu, 23 Apr 2015 12:03:44 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1429783453 804 80.91.229.3 (23 Apr 2015 10:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 10:04:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 23 12:04:05 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YlDzI-0000vb-JQ for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2015 12:04:04 +0200 Original-Received: from localhost ([::1]:39232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDzI-0006Ri-03 for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2015 06:04:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDzE-0006Rc-4Z for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:04:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlDzA-0002Pt-U6 for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:04:00 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDzA-0002Pb-NA for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:03:56 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlDz5-0000lE-HF for emacs-devel@gnu.org; Thu, 23 Apr 2015 12:03:51 +0200 Original-Received: from math-pc55.mathematik.uni-kassel.de ([141.51.166.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2015 12:03:51 +0200 Original-Received: from frank-fischer by math-pc55.mathematik.uni-kassel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2015 12:03:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: math-pc55.mathematik.uni-kassel.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185796 Archived-At: Am 23.02.2015 um 05:44 schrieb Stefan Monnier: > > `save-excursion' is defined to save&restore the mark (as well as its > being active or not). > > But I'm having a hard time finding a piece of code where we actually > make use of this. Can someone point me to such code (either in Emacs or > in some external package)? I.e. point me to code which would misbehave > if save-excursion were to stop saving&restoring the mark (and/or its > activation status). It's probably a little late but that change just caused a bug in the evil-mode package. Because Evil does deal a lot with the user interface it sometimes plays around with point and mark. Currently it's only one place, I can fix that easily. But I have no idea if we rely on the old behaviour in other places. However, I can live with the new behaviour, it just took me some time to find out what causes that bug ;) Best regards, Frank