From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: save-excursion and the mark Date: Sun, 22 Feb 2015 23:44:13 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424666715 14741 80.91.229.3 (23 Feb 2015 04:45:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2015 04:45:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 23 05:45:07 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 1YPktE-0001UL-7w for ged-emacs-devel@m.gmane.org; Mon, 23 Feb 2015 05:45:04 +0100 Original-Received: from localhost ([::1]:42042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPktD-00053m-Mg for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 23:45:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPkt1-00053H-It for emacs-devel@gnu.org; Sun, 22 Feb 2015 23:44:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPksx-0008TN-I6 for emacs-devel@gnu.org; Sun, 22 Feb 2015 23:44:51 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:21103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPksx-0008TJ-EO for emacs-devel@gnu.org; Sun, 22 Feb 2015 23:44:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAUAPOG1lRsoXmY/2dsb2JhbABbgwYBg16FU7prhXoEgRFEAQEBAQEBfIRpciYYDYhkqGqlZZAVhBQFiiefS4FFIoFFDII7IIJzAQEB X-IPAS-Result: ApAUAPOG1lRsoXmY/2dsb2JhbABbgwYBg16FU7prhXoEgRFEAQEBAQEBfIRpciYYDYhkqGqlZZAVhBQFiiefS4FFIoFFDII7IIJzAQEB X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="111191219" Original-Received: from 108-161-121-152.dsl.teksavvy.com (HELO pastel.home) ([108.161.121.152]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Feb 2015 23:44:46 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D3D07A00; Sun, 22 Feb 2015 23:44:13 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:183413 Archived-At: `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). Stefan