From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Fuchs Subject: Patch for Plain Text Export Date: Sun, 24 Aug 2008 20:01:22 +0200 Message-ID: <18609.41458.945143.398656@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7B/SI/t3vw" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXJts-00073F-H3 for emacs-orgmode@gnu.org; Sun, 24 Aug 2008 14:01:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXJtr-000730-5H for emacs-orgmode@gnu.org; Sun, 24 Aug 2008 14:01:16 -0400 Received: from [199.232.76.173] (port=54840 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXJtq-00072x-Uz for emacs-orgmode@gnu.org; Sun, 24 Aug 2008 14:01:14 -0400 Received: from mail.gmx.net ([213.165.64.20]:39190) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KXJtq-0001ik-F5 for emacs-orgmode@gnu.org; Sun, 24 Aug 2008 14:01:14 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --7B/SI/t3vw Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Hi, I detected, that using org-store-agenda-views to export my views to *.txt in plain text results in files growing and growing because the new views are appended. In my understanding this is not the intended behavior. Every new export should replace the previous one. I attached a very simple patch to correct this. Yours sincerly Thomas Fuchs --7B/SI/t3vw Content-Type: application/octet-stream; name="plain-text-export.patch" Content-Description: patch Content-Disposition: attachment; filename="plain-text-export.patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWFnZW5kYS5lbCBiL2xpc3Avb3JnLWFnZW5kYS5lbAppbmRl eCAzM2MyYTM5Li4xNjU0NDk4IDEwMDY0NAotLS0gYS9saXNwL29yZy1hZ2VuZGEuZWwKKysrIGIv bGlzcC9vcmctYWdlbmRhLmVsCkBAIC0xODc5LDYgKzE4NzksNyBAQCBoaWdoZXIgcHJpb3JpdHkg c2V0dGluZ3MuIgogCSAgKHQKIAkgICAobGV0ICgoYnMgKGJ1ZmZlci1zdHJpbmcpKSkKIAkgICAg IChmaW5kLWZpbGUgZmlsZSkKKwkgICAgIChlcmFzZS1idWZmZXIpCiAJICAgICAoaW5zZXJ0IGJz KQogCSAgICAgKHNhdmUtYnVmZmVyIDApCiAJICAgICAoa2lsbC1idWZmZXIgKGN1cnJlbnQtYnVm ZmVyKSkK --7B/SI/t3vw Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --7B/SI/t3vw--