emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xiao-Yong Jin <xj2106@columbia.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Text Formatting?
Date: Thu, 19 Oct 2006 21:08:11 -0400	[thread overview]
Message-ID: <86ods7dcas.fsf@presario.homeunix.org> (raw)
In-Reply-To: <44d0d9630610191212g35aa3474l60f5cac43e6e01ed@mail.gmail.com> (Ed Hirgelt's message of "Thu, 19 Oct 2006 12:12:41 -0700")

"Ed Hirgelt" <ehirgelt@gmail.com> writes:

> On 10/19/06, Xiao-Yong Jin <xj2106@columbia.edu> wrote:
>
>     Hi, how do you usually format the text body?  I found it frustrating
>     if I just want to paste something from somewhere else.
>
>     * List
>       1. list
>       2. list
>       3. list
>    
>     indent-region doesn't seem to work very well except the list was
>     format as the way that there's no space before the bullet
>
> You probably want to look at filladapt.  This provides ways to fill lists of
> various types.

Org-Mode is already doing this, I guess.  When you press M-RET, it
inserts the prefix automatically.  I just want to find a way that is
similar to M-C-\ (indent-region) so that I can paste a block of text
and reformat it easily.

> 
>
>     * QUOTE Carsten said
>       : blah blah blah...
>       : and blah blah blah...
>
> Something like this you can also handle by setting the prefix string (^X . is
> bound to set-fill-prefix)
>
> C-x . runs `set-fill-prefix'
>
> `set-fill-prefix' is an interactive compiled Lisp function
>   -- loaded from "/usr/src/xemacs-21.4.19/.build/lisp/fill.elc"
> (set-fill-prefix)
>
> Documentation:
> Set the fill prefix to the current line up to point.
> Filling expects lines to start with the fill prefix and
> reinserts the fill prefix in each resulting line.

This is good.  Make it much easier to write some thing.  However, it
doesn't help for reformatting.

> 
>
> --
> Ed Hirgelt  
>
> Discovery consists of seeing what everybody has seen
> and thinking what nobody has thought.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---

      reply	other threads:[~2006-10-20  1:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19 19:05 Text Formatting? Xiao-Yong Jin
2006-10-19 19:12 ` Ed Hirgelt
2006-10-20  1:08   ` Xiao-Yong Jin [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=86ods7dcas.fsf@presario.homeunix.org \
    --to=xj2106@columbia.edu \
    --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).