unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* fill-paragraph in real-time?
@ 2007-05-24  6:59 pascaldamian2
  2007-05-24  7:05 ` Anupam Sengupta
  2007-05-24  7:42 ` Edward Dodge
  0 siblings, 2 replies; 4+ messages in thread
From: pascaldamian2 @ 2007-05-24  6:59 UTC (permalink / raw)
  To: help-gnu-emacs

Can emacs be set to do fill-paragraph in real-time? Or something
equivalent that lets it wrap text as I type. Normally I need to
manually press M-q from time to time, otherwise my typing would not
get wrapped at all.

Regards,
Pascal

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

* Re: fill-paragraph in real-time?
  2007-05-24  6:59 fill-paragraph in real-time? pascaldamian2
@ 2007-05-24  7:05 ` Anupam Sengupta
  2007-05-24  7:19   ` Tassilo Horn
  2007-05-24  7:42 ` Edward Dodge
  1 sibling, 1 reply; 4+ messages in thread
From: Anupam Sengupta @ 2007-05-24  7:05 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "pascaldamian2" == pascaldamian2  <pascaldamian2@yahoo.com> writes:

    pascaldamian2> Can emacs be set to do fill-paragraph in real-time? Or
    pascaldamian2> something equivalent that lets it wrap text as I
    pascaldamian2> type. Normally I need to manually press M-q from time to
    pascaldamian2> time, otherwise my typing would not get wrapped at all.

Have you tried auto-fill-mode? This lets you do exactly what you are
looking for.

See:
       http://www.emacswiki.org/cgi-bin/wiki/AutoFillMode

for additional details.

-- 
Anupam

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

* Re: fill-paragraph in real-time?
  2007-05-24  7:05 ` Anupam Sengupta
@ 2007-05-24  7:19   ` Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2007-05-24  7:19 UTC (permalink / raw)
  To: help-gnu-emacs

Anupam Sengupta <anupamsg@gmail.com> writes:

Hi Anupam,

> Have you tried auto-fill-mode? This lets you do exactly what you are
> looking for.
>
> See:
>        http://www.emacswiki.org/cgi-bin/wiki/AutoFillMode
>
> for additional details.

Since AutoFillMode doesn't fill the paragraph anew when deleting text,
`refill-mode' is more appropriate.

,----[ C-h f refill-mode RET ] 
| refill-mode is an interactive compiled Lisp function in `refill.el'.
| (refill-mode &optional ARG)
| 
| Toggle Refill minor mode.
| With prefix arg, turn Refill mode on iff arg is positive.
| 
| When Refill mode is on, the current paragraph will be formatted when
| changes are made within it.  Self-inserting characters only cause
| refilling if they would cause auto-filling.  
`----

HTH,
Tassilo
-- 
Fighting patents one by one  will never eliminate the danger of software
patents,  any  more than  swatting  mosquitoes  will eliminate  malaria.
(Richard M. Stallman)

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

* Re: fill-paragraph in real-time?
  2007-05-24  6:59 fill-paragraph in real-time? pascaldamian2
  2007-05-24  7:05 ` Anupam Sengupta
@ 2007-05-24  7:42 ` Edward Dodge
  1 sibling, 0 replies; 4+ messages in thread
From: Edward Dodge @ 2007-05-24  7:42 UTC (permalink / raw)
  To: help-gnu-emacs

pascaldamian2@yahoo.com writes:

> Can emacs be set to do fill-paragraph in real-time? Or something
> equivalent that lets it wrap text as I type. Normally I need to
> manually press M-q from time to time, otherwise my typing would not
> get wrapped at all.

M-x refill-mode


-- 
Edward Dodge

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

end of thread, other threads:[~2007-05-24  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24  6:59 fill-paragraph in real-time? pascaldamian2
2007-05-24  7:05 ` Anupam Sengupta
2007-05-24  7:19   ` Tassilo Horn
2007-05-24  7:42 ` Edward Dodge

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).