unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Adaptive fill question
@ 2003-10-22  1:54 Richard Bourgon
  2003-10-22 14:04 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Bourgon @ 2003-10-22  1:54 UTC (permalink / raw)


Quick question: 

In text mode with autofill on, if I start a paragraph like this...

   1. Blah blah blah blah.

...and get to the fill column, it wraps around and starts a new line: 

   1. Blah blah blah blah. The text
   1. gets wrapped like this. Annoying!

How can I stop this behavior and instead get Emacs to (i) indent under the 
"Blah" but (ii) prepend spaces rather than "1. "?

adaptive-fill-regexp is set to

    [ 	]*(?[0-9]+[.)][ 	]*

and adaptive-fill-first-line-regexp is currently empty. (The square braces 
contain a space and a tab.)

Thanks in advance,

Richard 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Adaptive fill question
@ 2003-10-22 14:49 Bingham, Jay
  0 siblings, 0 replies; 4+ messages in thread
From: Bingham, Jay @ 2003-10-22 14:49 UTC (permalink / raw)


In a message dated: Tuesday, October 21, 2003 8:54 PM Richard Bourgon
wrote:

>...and get to the fill column, it wraps around and starts a new line: 
>
>   1. Blah blah blah blah. The text
>   1. gets wrapped like this. Annoying!
>
>How can I stop this behavior and instead get Emacs to (i) indent under
the 
>"Blah" but (ii) prepend spaces rather than "1. "?

It is highly likely that the cause of the pre-pended "1. " is that the
fill prefix has been set, (see information on the set-fill-prefix
command).  If you did not set it overtly (which I suspect since you
probably would not be asking the question if you had) it may get set as
a feature of some mode that you are running.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.2214.1066834242.21628.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-10-23  0:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-22  1:54 Adaptive fill question Richard Bourgon
2003-10-22 14:04 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2003-10-22 14:49 Bingham, Jay
     [not found] <mailman.2214.1066834242.21628.help-gnu-emacs@gnu.org>
2003-10-23  0:46 ` Richard Bourgon

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