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: Re: [PATCH] Desktop mode saves mark-ring too verbosely Date: Wed, 21 Jan 2015 10:04:02 -0500 Message-ID: References: <1369194255.41567.YahooMailClassic@web141101.mail.bf1.yahoo.com> <7u4cFqR6MtWJNaf1Qlsmgi0Zp2qOm9JYyHWs545AC81@local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421852706 22037 80.91.229.3 (21 Jan 2015 15:05:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 15:05:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kelly Dean Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 21 16:05:06 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 1YDwq8-0003Tf-EG for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 16:05:04 +0100 Original-Received: from localhost ([::1]:48700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwq7-0001Kt-Cm for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 10:05:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwpF-00007W-Oq for emacs-devel@gnu.org; Wed, 21 Jan 2015 10:04:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDwpB-0005jO-El for emacs-devel@gnu.org; Wed, 21 Jan 2015 10:04:09 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:1270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwpB-0005iu-BV for emacs-devel@gnu.org; Wed, 21 Jan 2015 10:04:05 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflSnWBWM/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEBBQEBAQEekG8HhEgFiwGmJoQZIYJ3AQEB X-IPAS-Result: AjsPAOwQflSnWBWM/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEBBQEBAQEekG8HhEgFiwGmJoQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108369084" Original-Received: from 167-88-21-140.cpe.teksavvy.com (HELO pastel.home) ([167.88.21.140]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2015 10:04:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A7CF512C9; Wed, 21 Jan 2015 10:04:02 -0500 (EST) In-Reply-To: <7u4cFqR6MtWJNaf1Qlsmgi0Zp2qOm9JYyHWs545AC81@local> (Kelly Dean's message of "Wed, 21 Jan 2015 12:11:06 +0000") 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:181503 Archived-At: > This is more complex than my original patch, but it does what you want > (IIUC what you want). Looks OK, indeed. > + (mapcar (lambda (p) > + (set-marker (make-marker) p)) > + bmr)))) Aka (mapcar #'copy-marker bmr) Stefan