From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Chouleur Subject: Re: [PATCH] Fix org-outline-overlay-data marker insertion-type Date: Sun, 19 Jan 2014 14:20:24 +0100 Message-ID: References: <87ha91uqw5.fsf@gmail.com> <87d2jpukoz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a113940ca80b71b04f052a49f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4sIw-0006hi-Jw for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 08:20:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4sIv-000475-Nl for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 08:20:46 -0500 Received: from mail-qa0-x230.google.com ([2607:f8b0:400d:c00::230]:54247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4sIv-000470-IO for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 08:20:45 -0500 Received: by mail-qa0-f48.google.com with SMTP id f11so4824711qae.35 for ; Sun, 19 Jan 2014 05:20:45 -0800 (PST) In-Reply-To: <87d2jpukoz.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --001a113940ca80b71b04f052a49f Content-Type: multipart/alternative; boundary=001a113940ca80b71804f052a49d --001a113940ca80b71804f052a49d Content-Type: text/plain; charset=ISO-8859-1 Well seen, here is the new patch, working as well. Thanks -- Sylvain 2014/1/18 Nicolas Goaziou > Sylvain Chouleur writes: > > > But beg and end are positions, not markers, I am wrong? > > BEG and END are positions, but `copy-marker' accepts an integer as its > first argument. See its docstring. > > > Regards, > > -- > Nicolas Goaziou > --001a113940ca80b71804f052a49d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Well seen,
here is the new patch, working as well.

Thanks
--
Sylvain


2014/1/18 Nicolas= Goaziou <n.goaziou@gmail.com>
Sylvain Chouleur <sylvain.chouleur@gmail.com>= writes:

> But beg and end are positions, not markers, I am wrong?

BEG and END are positions, but `copy-marker' accepts an integer a= s its
first argument. See its docstring.


Regards,

--
Nicolas Goaziou

--001a113940ca80b71804f052a49d-- --001a113940ca80b71b04f052a49f Content-Type: text/x-patch; charset=US-ASCII; name="0001-Fix-org-outline-overlay-data-marker-insertion-type.patch" Content-Disposition: attachment; filename="0001-Fix-org-outline-overlay-data-marker-insertion-type.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hqmc1g440 RnJvbSBhOTU2MDk3Yjg4MDg4NDIyYmJiZjFhYTA2ZGMzOTIxY2ViYmU3YWQ5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTeWx2YWluIENob3VsZXVyIDxzeWx2YWluLmNob3VsZXVyQGdt YWlsLmNvbT4KRGF0ZTogU3VuLCAxOSBKYW4gMjAxNCAxNDoxODo0NSArMDEwMApTdWJqZWN0OiBb UEFUQ0hdIEZpeCBvcmctb3V0bGluZS1vdmVybGF5LWRhdGEgbWFya2VyIGluc2VydGlvbi10eXBl CgoqIG9yZy5lbDogU2V0IHRoZSBpbnNlcnRpb24tdHlwZSBvZiBlbmQgYm91bmQgbWFya2VyIG9m Cm9yZy1vdXRsaW5lLW92ZXJsYXktZGF0YSB0byB0IChtZWFucyBtYXJrZXIgYWR2YW5jZXMgd2hl biB5b3UgaW5zZXJ0CnRleHQgYXQgaXQpCgpUaGlzIGlzIHRvIGNvbnNlcnZlIG91dGxpbmUgdmlz aWJpbGl0eSBwcm9wZXJ0eSB3aGVuIGNoYW5nZXMgYXJlIG1hZGUKYXQgdGhlIGVuZCBib3VuZCBv ZiB0aGUgZGF0YS4KRm9yIGV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