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: Retrieve front-advance from make-overlay Date: Sun, 14 Jan 2007 20:23:14 -0500 Message-ID: References: <45AA9AEC.1050800@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168884903 2194 80.91.229.12 (15 Jan 2007 18:15:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 18:15:03 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 19:14:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6VbG-00033M-7F for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2007 18:26:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6GZS-000612-6q for ged-emacs-devel@m.gmane.org; Sun, 14 Jan 2007 20:23:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6GZD-0005zD-PH for emacs-devel@gnu.org; Sun, 14 Jan 2007 20:23:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6GZC-0005x8-1c for emacs-devel@gnu.org; Sun, 14 Jan 2007 20:23:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6GZB-0005wp-Mu for emacs-devel@gnu.org; Sun, 14 Jan 2007 20:23:17 -0500 Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H6GZB-0007wo-Cf for emacs-devel@gnu.org; Sun, 14 Jan 2007 20:23:17 -0500 Original-Received: from pastel.home ([70.55.83.78]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070115012316.SXDJ11361.tomts43-srv.bellnexxia.net@pastel.home> for ; Sun, 14 Jan 2007 20:23:16 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A49578279; Sun, 14 Jan 2007 20:23:14 -0500 (EST) Original-To: "Lennart Borgman \(gmail\)" In-Reply-To: <45AA9AEC.1050800@gmail.com> (Lennart Borgman's message of "Sun\, 14 Jan 2007 22\:04\:44 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65201 Archived-At: > Is it possible to retrieve from an overlay the parameters front-advance and > rear-advance that was given to make-overlay? > Without that it is not possible to make a new copy of an overlay AFAICS. The source code of `copy-overlay' answers this question. Stefan PS: The comment says "easily" because you can of course insert+remove a char to check whether the position of the overlay's boundary stays "in front" or not.