help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two questions


From: Frank Winkler @home
Subject: Re: Two questions
Date: Mon, 09 Sep 2002 19:33:20 +0200 (CEST)

On Mon, 09 Sep 2002 10:16:57 +0200, Peter Weiss, Sun Microsystems, Germany 
wrote:

 >What kind of modes? Selfwritten? What modes? Identation configuration is 
 >not done allways in the same way.

At the moment, I'm talking about the default modes (C, Perl, etc.) and my 
attempts to customize them. But I didn't find the code which recognizes the 
commands and sets the colors; is this hard-coded?

 >> And is there an enhanced "auto-fill-mode" which doesn't just reformat 
 >> a single line but keeps an entire paragraph trimmed? This would be 
 >> convenient for editing plain text files.
 >
 >For plain text files see "M-q". C-mode supports M-q for identing whole 
 >blocks the right way.
 Y
 >ESC q runs the command fill-paragraph
 >   which is an interactive compiled Lisp function in `textmodes/fill'.
 >(fill-paragraph ARG)

Cool stuff! :) Didn't know that - but is there a way to do this dynamically, 
without explicitly triggering a command? The dumbest mail editor can do that 
so I'm sure emacs can ...

 >Fill paragraph at or after point.  Prefix ARG means justify as well.
 >If `sentence-end-double-space' is non-nil, then period followed by one
 >space does not end a sentence, so don't break a line there.
 >the variable `fill-column' controls the width for filling.

I'll play a bit ...

Regards

-- 
----------------------------------------------------------------------------
Frank Winkler                                                frank@consol.de
ConSol GmbH
Franziskanerstr. 38                                   Voice +49 89 45841.180
81669 Munich - Germany                                  Fax +49 89 45841.199






reply via email to

[Prev in Thread] Current Thread [Next in Thread]