From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Frank Winkler @home" Newsgroups: gmane.emacs.help Subject: Re: Two questions Date: Mon, 09 Sep 2002 19:33:20 +0200 (CEST) Organization: private OS/2 site Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: "Frank Winkler" NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1031599032 25524 127.0.0.1 (9 Sep 2002 19:17:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 19:17:12 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oU22-0006dJ-00 for ; Mon, 09 Sep 2002 21:17:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oU21-0005BD-00; Mon, 09 Sep 2002 15:17:09 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!mango.news.easynet.net!easynet.net!feed.news.nacamar.de!news.netplace.de!news-FFM2.ecrc.net!news.ecrc.de!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help X-Newsreader: PMINews 2.00.1205 For OS/2 Cache-Post-Path: intranet.consol.de!unknown@frankw1.home.consol.de X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Original-Lines: 44 Original-NNTP-Posting-Host: 194.221.87.10 Original-X-Complaints-To: news@ecrc.de Original-X-Trace: news.ecrc.de 1031598398 194.221.87.10 (Mon, 09 Sep 2002 21:06:38 MET DST) Original-NNTP-Posting-Date: Mon, 09 Sep 2002 21:06:38 MET DST Original-Xref: nntp.stanford.edu comp.emacs:74317 gnu.emacs.help:104639 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1195 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1195 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