all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* fill-paragraph: multi-level indentations / enumerations?
@ 2009-02-05 16:32 Markus Dehmann
  2009-02-06  2:25 ` Xah Lee
  2009-02-07 16:56 ` Phil Hudson
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Dehmann @ 2009-02-05 16:32 UTC (permalink / raw
  To: help-gnu-emacs

The fill-paragraph function in my emacs 21.4.1 (on linux) is missing
some basic understanding of multi-level indentations or enumerations.

If I am in text-mode and I type
(1) blah blah blah blah blah blah blah blah blah blah blah blah blah
    blah blah blah
    (1.1) blah blah blah blah blah blah blah blah blah blah blah blah
blah blah

and fill-paragraph will change it to this:
(1) blah blah blah blah blah blah blah blah blah blah blah blah blah
    blah blah blah (1.1) blah blah blah blah blah blah blah blah blah
    blah blah blah blah blah

But of course I want the correct indentation instead:
(1) blah blah blah blah blah blah blah blah blah blah blah blah blah
    blah blah blah
    (1.1) blah blah blah blah blah blah blah blah blah blah blah blah
blah
          blah

How can I do that? Can I modify the fill-paragraph function so that it
understands hierarchical indentations? My emacs version on the Mac
does it, so there obviously is a way to get it.

Thanks,
Markus


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

end of thread, other threads:[~2009-02-07 16:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 16:32 fill-paragraph: multi-level indentations / enumerations? Markus Dehmann
2009-02-06  2:25 ` Xah Lee
2009-02-06  3:02   ` Markus Dehmann
2009-02-06  4:06     ` Xah Lee
2009-02-06  5:07     ` Andreas Politz
2009-02-07 16:56 ` Phil Hudson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.