From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Lusk Newsgroups: gmane.emacs.help Subject: jde-mode, emacs 21 and comment auto-fill Date: 11 Apr 2003 16:00:26 -0400 Organization: Time-Warner Telecom Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050092258 16624 80.91.224.249 (11 Apr 2003 20:17:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2003 20:17:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 11 22:17:36 2003 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 1944xr-0004Jy-00 for ; Fri, 11 Apr 2003 22:17:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1944m5-0007GD-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 11 Apr 2003 16:05:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!wn14feed!worldnet.att.net!169.207.30.132!newsengine.sol.net!207.250.5.35.MISMATCH!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 34 Original-NNTP-Posting-Date: 11 Apr 2003 20:00:18 GMT Original-NNTP-Posting-Host: 8530f8cd.news.twtelecom.net Original-X-Trace: DXC=E?PkJDBmGe_;j@l>C:Hoo^C_A=>8kQj6]2f3; U>_ojiY^_0abKCM`9ZU@jg8LgR89ShNKT@;9OQDY Original-X-Complaints-To: abuse@twtelecom.net Original-Xref: shelby.stanford.edu gnu.emacs.help:111888 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8389 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8389 Hep! I've upgraded my emacs (on Win2K) from 20.7 (I _think_ it was .7) to 21.2. I was and am still using JDE 2.1.5. Now my block comments don't fill so nicely any more and I don't have a _whole_ lot of time to go drilling down into what self-insert-command does when I hit the space bar at the end of a long line. I have a feeling the solution is _not_ in comment-start-skip. Here's my specific problem. I write javadoc comments like the following: /** * ssssssssssssss sssssssssssssss sssssssssssssss ssssssssss tttttttttttttttt **/ and emacs auto-fills it as above, if I write the "t" word at the end of the preceding line and hit the space bar. I would hope it would pick up the fact that it's inside a block comment and Do The Right Thing, but no. Some variables I have set (unless I'm mistaken): comment-line-break-function is c-indent-new-comment-line comment-multi-line is t c-comment-prefix-regexp is ((pike-mode . "//+!?\\|\\**") (other . "//+\\|\\**")) c-block-comment-prefix is "* " fill-prefix is nil So, what now? (Thanks in advance. :) John.