From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 255a011: Add `save-mark-and-excursion', which has the old `save-excursion' behavior Date: Tue, 05 May 2015 20:31:12 +0200 Message-ID: <87ioc6lvv3.fsf@petton.fr> References: <20150504184829.1108.13525@vcs.savannah.gnu.org> <87twvskku2.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1430850696 27850 80.91.229.3 (5 May 2015 18:31:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2015 18:31:36 +0000 (UTC) Cc: Nicolas Petton , Daniel Colascione , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 20:31:25 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 1Yphcq-000712-7D for ged-emacs-devel@m.gmane.org; Tue, 05 May 2015 20:31:24 +0200 Original-Received: from localhost ([::1]:41163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yphcp-0005Ga-A9 for ged-emacs-devel@m.gmane.org; Tue, 05 May 2015 14:31:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yphcl-0005GH-AZ for emacs-devel@gnu.org; Tue, 05 May 2015 14:31:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yphch-0003m6-TY for emacs-devel@gnu.org; Tue, 05 May 2015 14:31:19 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yphch-0003lA-Pn for emacs-devel@gnu.org; Tue, 05 May 2015 14:31:15 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 22D612102E for ; Tue, 5 May 2015 14:31:15 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 05 May 2015 14:31:15 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=R2n9sqicwghNdrMRxzFTrD4RXbc=; b=Qbv26 GfCxOtGr0q7CPF6ZOW6YsFtir/tM8TG7zST7He9GJ5mKsm65o9wtqDbyzlPJxfXr GcC1LuCLu5ZqH1luQ6ebdTGLVDLtgyDy9lFGXtZq2uPIhX9X5u6sFRojo0y2Cvga 8etAMpNm8jEK5Elxcn5KH47hGss9gT6mEW/nO4= X-Sasl-enc: W9gL1ZkRpE8NlPpSHJ/ZuN7Tsif/pPLSDrZSPMyA5dMC 1430850674 Original-Received: from blueberry (unknown [80.216.74.58]) by mail.messagingengine.com (Postfix) with ESMTPA id 016446801A8; Tue, 5 May 2015 14:31:13 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 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:186256 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >>>> + (setf nmark (marker-position saved-mark)) >>> ^^^^ >>> Old habits die hard. >> Should `setf' be avoided? Is it only when `setq' would do instead? > > Sorry, I guess `setf' work as well, here. I've just been bitten by > bootstrapping problems too many times, but simple.el should be late > enough that it can't be a problem. Ok, thanks for the clarification. Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVSQxwAAoJECM1h6R8IHkQCMIH/3Ol6wNrH+TWuvn4Yt+57M0D pTsfhMlpgTokyeA/w0g2PPH9z2EAHadB4b5DaDUc91SYQo0mc6u/k8wUd+HVb4/q WvOSyEHch19IPb0ERwMzOCA0MiqPC18T+dEDgGdIJ6FY8o/u/sC/U7EWPWWfpeVw MWsustmEEUJfRW+xV4yvVaAxgo7ASPZ2AqJRztjGTBMBz5+MmEaJfP0bU6RtVHDk BkLYUbyagi/4DykQ+ROebrsLR8rJkcheHfyAm8ALYQT91cTIacUWyP0HKVbqOtE2 rrMiVTg7vBBzFARWcNXjVcZLCYViqoQ4hK+m7STIF47qrbfQi1eyW5PqFiceRwY= =w4+H -----END PGP SIGNATURE----- --=-=-=--