From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Troxel Subject: excessive blank lines in archives Date: Sat, 18 Dec 2010 20:38:21 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0498795164==" Return-path: Received: from [140.186.70.92] (port=41492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PU8ED-0002TN-0G for emacs-orgmode@gnu.org; Sat, 18 Dec 2010 20:38:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PU8EB-0001Jl-VE for emacs-orgmode@gnu.org; Sat, 18 Dec 2010 20:38:24 -0500 Received: from fnord.ir.bbn.com ([192.1.100.210]:63349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PU8EB-0001JX-TC for emacs-orgmode@gnu.org; Sat, 18 Dec 2010 20:38:23 -0500 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 --===============0498795164== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain I've been noticed extra lines in archive files. I did a controlled test by creating a simple foo.org: ---------------------------------------- * test item 1 this is a test item * test item 2 this is a test item ---------------------------------------- I then moved to the first * and did C-x $ to archive. That got me an archive file with an extra blank line near the top, and two blank lines at the end. Moving to the second * got me three blank lines at the end of the archive file. I expect only one blank line between the mode: line and "Archived entries", and I don't expect any extra blank lines beyond the items added. (If there is a blank line added between entries when there wasn't one, that seems ok, but they accumulate on the end.) My setup is recent git master, emacs 23.2, NetBSD 5.1, i386. I wonder if I am confused, I have misconfigured org, or if there is a bug? My foo.org_archive after two archive operations (did not exist before): ---------------------------------------- # -*- mode: org -*- Archived entries from file /home/gdt/ORG/foo.org * test item 1 :PROPERTIES: :ARCHIVE_TIME: 2010-12-18 Sat 20:32 :ARCHIVE_FILE: ~/ORG/foo.org :ARCHIVE_CATEGORY: foo :END: this is a test item * test item 2 :PROPERTIES: :ARCHIVE_TIME: 2010-12-18 Sat 20:32 :ARCHIVE_FILE: ~/ORG/foo.org :ARCHIVE_CATEGORY: foo :END: this is a test item ---------------------------------------- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (NetBSD) iEYEARECAAYFAk0NYg0ACgkQ+vesoDJhHiU5GwCgsRaAs4r5vlVsK5UzJG+zKTrh NZoAniOhiGL0Do11FB2gIDI8qfsiR9ka =tKaD -----END PGP SIGNATURE----- --=-=-=-- --===============0498795164== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0498795164==--