emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
To: emacs-orgmode@gnu.org
Subject: excessive blank lines in archives
Date: Sat, 18 Dec 2010 20:38:21 -0500	[thread overview]
Message-ID: <rmioc8itucy.fsf@fnord.ir.bbn.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1435 bytes --]


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



----------------------------------------

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-12-19  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-19  1:38 Greg Troxel [this message]
2011-01-09 13:34 ` excessive blank lines in archives David Maus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rmioc8itucy.fsf@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).