emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Hugo Schmitt" <hugows@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fill-paragraph and orgmode
Date: Thu, 31 Jan 2008 06:49:28 -0300	[thread overview]
Message-ID: <2f1c7d020801310149n73c0b2a4o5bbbfc6f9a64beab@mail.gmail.com> (raw)
In-Reply-To: <886B9BE3-2139-4C2E-9A4D-E234AF0F7274@science.uva.nl>


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

Hi Carsten,

Hm, almost, but i get the idea!
This still fails (ok its not the same thing :)

** DONE title
   - State "DONE"       [2008-01-16 qua 17:48] \\
     words words words words words words words words

after M-q on the end of 'words line' i get:

** DONE title
   - State "DONE" [2008-01-16 qua 17:48] \\ words words words words words
words
     words words

but i'll look into it!

Thanks
Hugo


On Jan 31, 2008 6:16 AM, Carsten Dominik <dominik@science.uva.nl> wrote:

> Hi Hugo,
>
> you need to look at the variables paragraph-start and paragraph-
> separate.
> You can use org-mode-hook to change them.
> I believe the following might do the trick
>
>
> (add-hook 'org-mode-hook
>   (lambda ()
>     (org-set-local 'paragraph-separate "\f\\|\\*+ \\|[         ]*$\\|
> [ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-")
>     ;; The paragraph starter includes hand-formatted lists.
>     (org-set-local 'paragraph-start
>                   "\f\\|[      ]*$\\|\\*+ \\|\f\\|[ \t]*\\([-+*][
> \t]+\\|[0-9]+[.)][ \t]
> +\\)\\|[ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-")))
>
> Hope this helps.
>
> - Carsten
>
>
> On Jan 28, 2008, at 11:54 AM, Hugo Schmitt wrote:
>
> > Hi everyone. There is a little issue that I keep having with org-mode.
> > Say the cursor is on <> :
> >
> > * TODO Title
> >   Words words words words words words words words words words words
> > words words words words<>
> >   [2008-01-25 sex]
> >
> > After you press M-q you get this:
> >
> > * TODO Title
> >   Words words words words words words words words words words words
> > words words
> >   words words [2008-01-25 sex]
> >
> > ... while what i really wanted was this:
> >
> > * TODO Title
> >   Words words words words words words words words words words words
> > words words
> >   words words
> >   [2008-01-25 sex]
> >
> > Sure, it only takes a <RET> to fix, but anyway, if anyone has a
> > solution for this, please share with me.
> >
> > Thanks,
> > Hugo
> >
> >
> > _______________________________________________
> > 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 3150 bytes --]

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

_______________________________________________
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

      reply	other threads:[~2008-01-31  9:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 10:54 Fill-paragraph and orgmode Hugo Schmitt
2008-01-28 11:08 ` Phil Jackson
2008-01-28 11:14   ` Hugo Schmitt
2008-01-28 18:46 ` Eddward DeVilla
2008-01-28 19:55   ` Phil Jackson
2008-01-31  9:16 ` Carsten Dominik
2008-01-31  9:49   ` Hugo Schmitt [this message]

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=2f1c7d020801310149n73c0b2a4o5bbbfc6f9a64beab@mail.gmail.com \
    --to=hugows@gmail.com \
    --cc=dominik@science.uva.nl \
    --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).