emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Eddward DeVilla <eddward@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: list format questions
Date: Thu, 22 Nov 2007 18:50:11 +0100	[thread overview]
Message-ID: <74A494B7-21B9-4167-B9B3-B077519D7963@science.uva.nl> (raw)
In-Reply-To: <b71b18520711070932h13dbe213qf2da882c1250c2f2@mail.gmail.com>



On  7Nov2007, at 6:32 PM, Eddward DeVilla wrote:

> Hi,
>
> I have a couple of question about list formatting.  Given the  
> example file:
>
> ==== sample.org ====
>
> * [/] investigate
>   - [ ] Q1 -- A1 \\
>         more A1
>   - [ ] Q2 is a really, really, long Q and needs to be described in
> excruciating detail.
>   - [ ] Q3
>
> ====================
>
> In Q1, the '\\' would force a line break when exported.  Should/can it
> force a line break when using M-q to wrap lines?  If I use M-q on Q1,
> the line below it wraps up to the same line as Q1.

I don't think so, I would not know how to do this.  Emacs uses
regular expressions to detect paragraphs, and these are matched
against the beginning of a line.

I think this would mean implementing our own
paragraph-filling functions.  Too much work for now...

>
> In Q2, if I use M-q or auto wrap to wrap it, the word 'excruciating'
> is indented so it aligns with the opening brace.  If I were to
> manually hit newline after anywhere before that and press tab to
> indent before continuing to type, it aligns with 'Q' in 'Q2'.
> Afterwards, the either indentation is maintained properly with M-q or
> auto wrap.  Is there an option I'm missing that I could use to make
> tab and M-q & auto wrap to favor the same alignment, preferably 'Q2'?
> I know list indenting was a can of worms before and I don't want to
> suggest new behavior if it would clash with the current behavior.

Same here - I guess this could in some ways be seen as bug in Emacs,
but I am not really sure.


- Carsten

  reply	other threads:[~2007-11-22 20:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 17:32 list format questions Eddward DeVilla
2007-11-22 17:50 ` Carsten Dominik [this message]
2007-11-23  8:11 ` Bastien
2007-11-23 15:40   ` Eddward DeVilla
2007-11-23 17:07     ` Rick Moynihan

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=74A494B7-21B9-4167-B9B3-B077519D7963@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=eddward@gmail.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).