all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Simple emacs setup for general prose?
@ 2011-03-08 18:44 bclark76
  2011-03-08 20:51 ` Andreas Politz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: bclark76 @ 2011-03-08 18:44 UTC (permalink / raw)
  To: help-gnu-emacs

I'd like to edit prose using emacs.  Is there a mode where I can
smoothly type prose?

I want paragraphs to look like this:

*TAB*Here is the start of a paragraph that I want emacs to autofill.
notice how it begins with a tab character on the first line, and the
second and subsequent lines do not start with the tab character.
this ALMOST seems possible using M-x text then M-x fill, but
unfortunately my paragraphs come out as below.

*TAB*The preceeding tab actually gets converted to spaces which
*TAB*I do not want.  I also don't want this line to be indented at
all!
*TAB*If I want emacs to format this paragraph the way I want, I have
*TAB*to manually delete the tab ( which has actually been converted
*TAB*to spaces ) on the second line before continuing to type.

*TAB*I want to be able to end my paragraph by pressing RET twice
followed by a TAB and have the paragraph automatically auto filled to
appear as this one.

Thanks, and sorry for the NOOB question.


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

* Re: Simple emacs setup for general prose?
  2011-03-08 18:44 Simple emacs setup for general prose? bclark76
@ 2011-03-08 20:51 ` Andreas Politz
  2011-03-08 21:42 ` Tim X
  2011-03-17 18:31 ` rusi
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Politz @ 2011-03-08 20:51 UTC (permalink / raw)
  To: help-gnu-emacs

bclark76 <bclark76@gmail.com> writes:

> I'd like to edit prose using emacs.  Is there a mode where I can
> smoothly type prose?
>
> I want paragraphs to look like this:
>
> *TAB*Here is the start of a paragraph that I want emacs to autofill.
> notice how it begins with a tab character on the first line, and the
> second and subsequent lines do not start with the tab character.
> this ALMOST seems possible using M-x text then M-x fill, but
> unfortunately my paragraphs come out as below.
>

Try `paragraph-indent-text-mode', `auto-fill-mode' and
M-: (setq indent-tabs-mode t) RET

-ap


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

* Re: Simple emacs setup for general prose?
  2011-03-08 18:44 Simple emacs setup for general prose? bclark76
  2011-03-08 20:51 ` Andreas Politz
@ 2011-03-08 21:42 ` Tim X
  2011-03-15 17:51   ` Daniel Goldin
  2011-03-17 18:31 ` rusi
  2 siblings, 1 reply; 6+ messages in thread
From: Tim X @ 2011-03-08 21:42 UTC (permalink / raw)
  To: help-gnu-emacs

bclark76 <bclark76@gmail.com> writes:


> I'd like to edit prose using emacs.  Is there a mode where I can
> smoothly type prose?
>
> I want paragraphs to look like this:
>
> *TAB*Here is the start of a paragraph that I want emacs to autofill.
> notice how it begins with a tab character on the first line, and the
> second and subsequent lines do not start with the tab character.
> this ALMOST seems possible using M-x text then M-x fill, but
> unfortunately my paragraphs come out as below.
>
> *TAB*The preceeding tab actually gets converted to spaces which
> *TAB*I do not want.  I also don't want this line to be indented at
> all!
> *TAB*If I want emacs to format this paragraph the way I want, I have
> *TAB*to manually delete the tab ( which has actually been converted
> *TAB*to spaces ) on the second line before continuing to type.
>
> *TAB*I want to be able to end my paragraph by pressing RET twice
> followed by a TAB and have the paragraph automatically auto filled to
> appear as this one.
>

Emacs has many major and minor modes. To really provide the best advice,
we need to understand exactly what your requirements are. 

Do you really just want your 'pros' to be in plain text or do you
eventually want to format them for printing etc. If the latter, I'd
highly recommend auctex. 

There are also modes for writing enriched text, modes for writing screen
plays, I think I've seen some for poetry etc and then there are some
minor modes, such as fill-text, paragraph mode etc for just plain text. 

Let us know more about what you want and we can probably point you in
the right direction.

Tim


-- 
tcross (at) rapttech dot com dot au


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

* Re: Simple emacs setup for general prose?
  2011-03-08 21:42 ` Tim X
@ 2011-03-15 17:51   ` Daniel Goldin
  2011-03-17 23:47     ` suvayu ali
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Goldin @ 2011-03-15 17:51 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2050 bytes --]

I use org-mode for editing prose. Double-space to define paragraphs instead
of tabs. The results can easily be ported to latex. pdf, odt or html and
tweaked to create tabbed pars, if that's what you want.

d.

On Tue, Mar 8, 2011 at 1:42 PM, Tim X <timx@nospam.dev.null> wrote:

> bclark76 <bclark76@gmail.com> writes:
>
>
> > I'd like to edit prose using emacs.  Is there a mode where I can
> > smoothly type prose?
> >
> > I want paragraphs to look like this:
> >
> > *TAB*Here is the start of a paragraph that I want emacs to autofill.
> > notice how it begins with a tab character on the first line, and the
> > second and subsequent lines do not start with the tab character.
> > this ALMOST seems possible using M-x text then M-x fill, but
> > unfortunately my paragraphs come out as below.
> >
> > *TAB*The preceeding tab actually gets converted to spaces which
> > *TAB*I do not want.  I also don't want this line to be indented at
> > all!
> > *TAB*If I want emacs to format this paragraph the way I want, I have
> > *TAB*to manually delete the tab ( which has actually been converted
> > *TAB*to spaces ) on the second line before continuing to type.
> >
> > *TAB*I want to be able to end my paragraph by pressing RET twice
> > followed by a TAB and have the paragraph automatically auto filled to
> > appear as this one.
> >
>
> Emacs has many major and minor modes. To really provide the best advice,
> we need to understand exactly what your requirements are.
>
> Do you really just want your 'pros' to be in plain text or do you
> eventually want to format them for printing etc. If the latter, I'd
> highly recommend auctex.
>
> There are also modes for writing enriched text, modes for writing screen
> plays, I think I've seen some for poetry etc and then there are some
> minor modes, such as fill-text, paragraph mode etc for just plain text.
>
> Let us know more about what you want and we can probably point you in
> the right direction.
>
> Tim
>
>
> --
> tcross (at) rapttech dot com dot au
>



-- 
Daniel Goldin
626.817.2462

[-- Attachment #2: Type: text/html, Size: 2679 bytes --]

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

* Re: Simple emacs setup for general prose?
  2011-03-08 18:44 Simple emacs setup for general prose? bclark76
  2011-03-08 20:51 ` Andreas Politz
  2011-03-08 21:42 ` Tim X
@ 2011-03-17 18:31 ` rusi
  2 siblings, 0 replies; 6+ messages in thread
From: rusi @ 2011-03-17 18:31 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 8, 11:44 pm, bclark76 <bclar...@gmail.com> wrote:
> I'd like to edit prose using emacs.  Is there a mode where I can
> smoothly type prose?
>
> I want paragraphs to look like this:
>
> *TAB*Here is the start of a paragraph that I want emacs to autofill.
> notice how it begins with a tab character on the first line, and the
> second and subsequent lines do not start with the tab character.
> this ALMOST seems possible using M-x text then M-x fill, but
> unfortunately my paragraphs come out as below.
>
> *TAB*The preceeding tab actually gets converted to spaces which
> *TAB*I do not want.  I also don't want this line to be indented at
> all!
> *TAB*If I want emacs to format this paragraph the way I want, I have
> *TAB*to manually delete the tab ( which has actually been converted
> *TAB*to spaces ) on the second line before continuing to type.
>
> *TAB*I want to be able to end my paragraph by pressing RET twice
> followed by a TAB and have the paragraph automatically auto filled to
> appear as this one.
>
> Thanks, and sorry for the NOOB question.

How about this?
M-x text-mode
M-x visual-line-mode

Probably wont work on emacs versions < 23


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

* Re: Simple emacs setup for general prose?
  2011-03-15 17:51   ` Daniel Goldin
@ 2011-03-17 23:47     ` suvayu ali
  0 siblings, 0 replies; 6+ messages in thread
From: suvayu ali @ 2011-03-17 23:47 UTC (permalink / raw)
  To: Emacs mailing list

On Tue, Mar 15, 2011 at 10:51 AM, Daniel Goldin <danielgoldin@gmail.com> wrote:
> I use org-mode for editing prose. Double-space to define paragraphs instead
> of tabs. The results can easily be ported to latex. pdf, odt or html and
> tweaked to create tabbed pars, if that's what you want.

I would second that. I am writing my thesis in org-mode and exporting
to pdf via latex. I think the beauty lies in the fact that for a
simple setup you can use the same source file to export to several
formats (html, latex and even plain text)

http://orgmode.org/

-- 
Suvayu

Open source is the future. It sets us free.



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

end of thread, other threads:[~2011-03-17 23:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 18:44 Simple emacs setup for general prose? bclark76
2011-03-08 20:51 ` Andreas Politz
2011-03-08 21:42 ` Tim X
2011-03-15 17:51   ` Daniel Goldin
2011-03-17 23:47     ` suvayu ali
2011-03-17 18:31 ` rusi

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.