emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Keeping trailing blank lines of remember notes
@ 2009-07-17  8:34 Michaël Parienti
  2009-07-17 12:55 ` Bernt Hansen
  2009-07-18  8:14 ` Keeping " Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Michaël Parienti @ 2009-07-17  8:34 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

Is there a way, with a configuration setup, to tell remember to keep
the trailing blank lines of a remember note?

I like to have my entries like this, with two blank line between each
of them:

* Item 1
Blah Blah


* Item 2
Blah Blah

When I create entries with remember, even when my notes end with two or
more blank lines, I get:

* Item 1
Blah Blah
* Item 2
Blah Blah

This is too compact for me.

I use the 6.27a-1 version of org-mode (the debian package).

Thanks


-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Keeping trailing blank lines of remember notes
  2009-07-17  8:34 Keeping trailing blank lines of remember notes Michaël Parienti
@ 2009-07-17 12:55 ` Bernt Hansen
  2009-07-17 13:44   ` Keeping heading or " Michaël Parienti
  2009-07-18  8:14 ` Keeping " Bastien
  1 sibling, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2009-07-17 12:55 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: emacs-orgmode

Michaël Parienti <michael@parienti.name> writes:

> Is there a way, with a configuration setup, to tell remember to keep
> the trailing blank lines of a remember note?

Blank lines are attached before the header line not after the note

>
> I like to have my entries like this, with two blank line between each
> of them:
>
> * Item 1
> Blah Blah
>
>
> * Item 2
> Blah Blah
>

In your example "Item 1" has 1 preceeding blank line included and "Item
2" has 2 blank lines included.

> When I create entries with remember, even when my notes end with two or
> more blank lines, I get:
>
> * Item 1
> Blah Blah
> * Item 2
> Blah Blah
>
> This is too compact for me.
>

You can control the display of blank lines with
org-cycle-separator-lines.  I think it only includes a single blank line
between tasks in collapsed view.

-Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Keeping heading or trailing blank lines of remember notes
  2009-07-17 12:55 ` Bernt Hansen
@ 2009-07-17 13:44   ` Michaël Parienti
  2009-07-17 14:55     ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Michaël Parienti @ 2009-07-17 13:44 UTC (permalink / raw)
  To: emacs-orgmode

Le Fri, 17 Jul 2009 08:55:56 -0400
Bernt Hansen <bernt@norang.ca> a écrit:

> Michaël Parienti <michael@parienti.name> writes:
> 
> > Is there a way, with a configuration setup, to tell remember to keep
> > the trailing blank lines of a remember note?
> 
> Blank lines are attached before the header line not after the note
> 
> >
> > I like to have my entries like this, with two blank line between
> > each of them:
> >
> > * Item 1
> > Blah Blah
> >
> >
> > * Item 2
> > Blah Blah
> >
> 
> In your example "Item 1" has 1 preceeding blank line included and
> "Item 2" has 2 blank lines included.

So my problem is transformed into "how-to tell remember to keep the
heading blank lines of a remember note?" :-)


 
> > When I create entries with remember, even when my notes end with
> > two or more blank lines, I get:
> >
> > * Item 1
> > Blah Blah
> > * Item 2
> > Blah Blah
> >
> > This is too compact for me.
> >
> 
> You can control the display of blank lines with
> org-cycle-separator-lines.  I think it only includes a single blank
> line between tasks in collapsed view.

Thanks for your replie but I haven't any display problem: I just
don't have any blank line between my entries created by remember. 

I don't think that the org-cycle-separator-lines variable can do
anything about it. I didn't copy the collapse view, but the content
of my file. 




-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Keeping heading or trailing blank lines of remember notes
  2009-07-17 13:44   ` Keeping heading or " Michaël Parienti
@ 2009-07-17 14:55     ` Bernt Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2009-07-17 14:55 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: emacs-orgmode

Michaël Parienti <michael@parienti.name> writes:

> Le Fri, 17 Jul 2009 08:55:56 -0400
> Bernt Hansen <bernt@norang.ca> a écrit:
>
>> Michaël Parienti <michael@parienti.name> writes:
>> 
>> > Is there a way, with a configuration setup, to tell remember to keep
>> > the trailing blank lines of a remember note?
>> 
>> Blank lines are attached before the header line not after the note
>> 
>> >
>> > I like to have my entries like this, with two blank line between
>> > each of them:
>> >
>> > * Item 1
>> > Blah Blah
>> >
>> >
>> > * Item 2
>> > Blah Blah
>> >
>> 
>> In your example "Item 1" has 1 preceeding blank line included and
>> "Item 2" has 2 blank lines included.
>
> So my problem is transformed into "how-to tell remember to keep the
> heading blank lines of a remember note?" :-)

Ah.  I don't know of a way to do this.

> > >
>  
>> > When I create entries with remember, even when my notes end with
>> > two or more blank lines, I get:
>> >
>> > * Item 1
>> > Blah Blah
>> > * Item 2
>> > Blah Blah
>> >
>> > This is too compact for me.
>> >
>> 
>> You can control the display of blank lines with
>> org-cycle-separator-lines.  I think it only includes a single blank
>> line between tasks in collapsed view.
>
> Thanks for your replie but I haven't any display problem: I just
> don't have any blank line between my entries created by remember. 
>
> I don't think that the org-cycle-separator-lines variable can do
> anything about it. I didn't copy the collapse view, but the content
> of my file. 

Oh :)  I misunderstood -- I assumed you meant you wanted blank lines in
the collapsed view -- not the raw org file.

-Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Keeping trailing blank lines of remember notes
  2009-07-17  8:34 Keeping trailing blank lines of remember notes Michaël Parienti
  2009-07-17 12:55 ` Bernt Hansen
@ 2009-07-18  8:14 ` Bastien
  2009-07-20  8:37   ` Michaël Parienti
  1 sibling, 1 reply; 6+ messages in thread
From: Bastien @ 2009-07-18  8:14 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: emacs-orgmode

Hi Michaël,

Michaël Parienti <michael@parienti.name> writes:

> Is there a way, with a configuration setup, to tell remember to keep
> the trailing blank lines of a remember note?

I have just added a new option:

  org-remember-delete-empty-lines-at-end

This defaults to t.  Turning this to nil should let you do want you want
with blank lines.

PS: note that new options and new functions are subject to change since
Carsten needs to validate them.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Keeping trailing blank lines of remember notes
  2009-07-18  8:14 ` Keeping " Bastien
@ 2009-07-20  8:37   ` Michaël Parienti
  0 siblings, 0 replies; 6+ messages in thread
From: Michaël Parienti @ 2009-07-20  8:37 UTC (permalink / raw)
  To: emacs-orgmode

Le Sat, 18 Jul 2009 10:14:32 +0200
Bastien <bastienguerry@googlemail.com> a écrit:

> Hi Michaël,
> 
> Michaël Parienti <michael@parienti.name> writes:
> 
> > Is there a way, with a configuration setup, to tell remember to keep
> > the trailing blank lines of a remember note?
> 
> I have just added a new option:
> 
>   org-remember-delete-empty-lines-at-end
> 
> This defaults to t.  Turning this to nil should let you do want you
> want with blank lines.
> 
> PS: note that new options and new functions are subject to change
> since Carsten needs to validate them.

Thanks a lot for this!


-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-20  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17  8:34 Keeping trailing blank lines of remember notes Michaël Parienti
2009-07-17 12:55 ` Bernt Hansen
2009-07-17 13:44   ` Keeping heading or " Michaël Parienti
2009-07-17 14:55     ` Bernt Hansen
2009-07-18  8:14 ` Keeping " Bastien
2009-07-20  8:37   ` Michaël Parienti

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).