* excessive blank lines in archives
@ 2010-12-19 1:38 Greg Troxel
2011-01-09 13:34 ` David Maus
0 siblings, 1 reply; 2+ messages in thread
From: Greg Troxel @ 2010-12-19 1:38 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: excessive blank lines in archives
2010-12-19 1:38 excessive blank lines in archives Greg Troxel
@ 2011-01-09 13:34 ` David Maus
0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2011-01-09 13:34 UTC (permalink / raw)
To: Greg Troxel; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1129 bytes --]
At Sat, 18 Dec 2010 20:38:21 -0500,
Greg Troxel wrote:
>
>
> 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.)
I can confirm this for
Org-mode version 7.4 (release_7.4.135.g84087)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-12-11 on raven, modified by Debian
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-09 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-19 1:38 excessive blank lines in archives Greg Troxel
2011-01-09 13:34 ` David Maus
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).