From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter.Weiss@Germany.Sun.com (Peter Weiss, Sun Microsystems, Germany) Newsgroups: gmane.emacs.help Subject: Re: Two questions Date: Mon, 09 Sep 2002 10:16:57 +0200 Organization: Sun Microsystems GmbH, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031561172 3216 127.0.0.1 (9 Sep 2002 08:46:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 08:46: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 17oKBP-0000pk-00 for ; Mon, 09 Sep 2002 10:46:11 +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 17oKBN-0005RT-00; Mon, 09 Sep 2002 04:46:09 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!btnet-peer0!btnet-feed5!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 44 Original-NNTP-Posting-Host: winona.germany.sun.com Original-X-Trace: new-usenet.uk.sun.com 1031559425 27198 129.157.133.118 (9 Sep 2002 08:17:05 GMT) Original-X-Complaints-To: usenet@new-usenet.uk.sun.com Original-NNTP-Posting-Date: 9 Sep 2002 08:17:05 GMT User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Cancel-Lock: sha1:acgrDzji0IM8MmQPsdt8jAeGx7Y= Original-Xref: nntp.stanford.edu gnu.emacs.help:104609 comp.emacs:74299 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:1166 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1166 >>>>> On Mon, 09 Sep 2002 09:54:20 +0200 (CEST), "Frank Winkler @home" said: Frank> HI there ! Frank> I'm just playing around with my programming modes - I use them with both Frank> emacs and xemacs. After exchanging the "*-mode.el" files it seems obvious Frank> that xemacs' syntax highlighting is not configured there: emacs inherits Frank> indention but doesn't do highlighting. It that xemacs-only or where do I Frank> have to set this? What kind of modes? Selfwritten? What modes? Identation configuration is not done allways in the same way. Both emacs and xemacs come along with support of all kinds of programming modes. Take a look at the info docs. Frank> And is there an enhanced "auto-fill-mode" which doesn't just reformat a Frank> single line but keeps an entire paragraph trimmed? This would be convenient Frank> for editing plain text files. For plain text files see "M-q". C-mode supports M-q for identing whole blocks the right way. ESC q runs the command fill-paragraph which is an interactive compiled Lisp function in `textmodes/fill'. (fill-paragraph ARG) 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. If `fill-paragraph-function' is non-nil, we call it (passing our argument to it), and if it returns non-nil, we simply return its value. If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling. Hth -- Peter -- Consultant der CLASS AG http://www.class.de Professional Services mobil +49 (0) 172/837 91 25 mailto:Peter.Weiss@class.de