From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: loss of text properties in org-export--generate-copy-script Date: Tue, 27 Nov 2018 23:49:28 +0100 Message-ID: <87wooyrv9j.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRmAG-00066J-Dk for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:49:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRmAC-0007qx-Ni for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:49:08 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRmAC-0007pw-HT for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:49:04 -0500 In-Reply-To: (John Kitchin's message of "Tue, 27 Nov 2018 13:21:57 -0500") 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" To: John Kitchin Cc: org-mode-email Hello, John Kitchin writes: > In the function org-export--generate-copy-script, the buffer contents are > copied over with buffer-substring-no-properties, so it appears that all > text properties are lost in the temporary copy. > > I wondered why that is done? I feel more comfortable when I can assume no text property will get in the way. I turned `buffer-substring-no-properties' into `buffer-string' in "master". Regards, -- Nicolas Goaziou